├── row
└── preview.jpg
├── MovieStreamingUI
├── Assets.xcassets
│ ├── Contents.json
│ ├── Movies
│ │ ├── Contents.json
│ │ ├── m1.imageset
│ │ │ ├── m1.jpg
│ │ │ └── Contents.json
│ │ ├── m2.imageset
│ │ │ ├── m2.jpg
│ │ │ └── Contents.json
│ │ ├── m3.imageset
│ │ │ ├── m3.jpg
│ │ │ └── Contents.json
│ │ ├── m4.imageset
│ │ │ ├── m4.jpg
│ │ │ └── Contents.json
│ │ ├── m5.imageset
│ │ │ ├── m5.jpg
│ │ │ └── Contents.json
│ │ ├── m6.imageset
│ │ │ ├── m6.jpg
│ │ │ └── Contents.json
│ │ ├── m7.imageset
│ │ │ ├── m7.jpg
│ │ │ └── Contents.json
│ │ └── m8.imageset
│ │ │ ├── m8.jpg
│ │ │ └── Contents.json
│ ├── AppIcon.appiconset
│ │ ├── 100.png
│ │ ├── 114.png
│ │ ├── 120.png
│ │ ├── 144.png
│ │ ├── 152.png
│ │ ├── 167.png
│ │ ├── 180.png
│ │ ├── 20.png
│ │ ├── 29.png
│ │ ├── 40.png
│ │ ├── 50.png
│ │ ├── 57.png
│ │ ├── 58.png
│ │ ├── 60.png
│ │ ├── 72.png
│ │ ├── 76.png
│ │ ├── 80.png
│ │ ├── 87.png
│ │ ├── 1024.png
│ │ └── Contents.json
│ ├── splash.imageset
│ │ ├── splash.png
│ │ └── Contents.json
│ └── AccentColor.colorset
│ │ └── Contents.json
├── Preview Content
│ └── Preview Assets.xcassets
│ │ └── Contents.json
├── MovieStreamingUIApp.swift
├── ContentView.swift
├── View
│ ├── OffsetModifier.swift
│ ├── SnapCarousel.swift
│ ├── DetailView.swift
│ └── Home.swift
├── Launch Screen.storyboard
└── Model
│ └── Movie.swift
├── MovieStreamingUI.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ ├── xcuserdata
│ │ └── shameem.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── xcuserdata
│ └── shameem.xcuserdatad
│ │ └── xcschemes
│ │ └── xcschememanagement.plist
└── project.pbxproj
├── README.md
└── LICENSE
/row/preview.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/row/preview.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Preview Content/Preview Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/100.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/114.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/120.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/144.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/152.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/167.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/167.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/180.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/20.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/29.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/40.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/50.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/57.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/58.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/60.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/72.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/76.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/80.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/87.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m1.imageset/m1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/Movies/m1.imageset/m1.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m2.imageset/m2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/Movies/m2.imageset/m2.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m3.imageset/m3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/Movies/m3.imageset/m3.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m4.imageset/m4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/Movies/m4.imageset/m4.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m5.imageset/m5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/Movies/m5.imageset/m5.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m6.imageset/m6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/Movies/m6.imageset/m6.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m7.imageset/m7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/Movies/m7.imageset/m7.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m8.imageset/m8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/Movies/m8.imageset/m8.jpg
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/splash.imageset/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/splash.imageset/splash.png
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/1024.png
--------------------------------------------------------------------------------
/MovieStreamingUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AccentColor.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "colors" : [
3 | {
4 | "idiom" : "universal"
5 | }
6 | ],
7 | "info" : {
8 | "author" : "xcode",
9 | "version" : 1
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/MovieStreamingUI.xcodeproj/project.xcworkspace/xcuserdata/shameem.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shameemreza/moviestreamingui/HEAD/MovieStreamingUI.xcodeproj/project.xcworkspace/xcuserdata/shameem.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/MovieStreamingUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/MovieStreamingUI/MovieStreamingUIApp.swift:
--------------------------------------------------------------------------------
1 | //
2 | // MovieStreamingUIApp.swift
3 | // MovieStreamingUI
4 | //
5 | // Created by Shameem Reza on 30/3/22.
6 | //
7 |
8 | import SwiftUI
9 |
10 | @main
11 | struct MovieStreamingUIApp: App {
12 | var body: some Scene {
13 | WindowGroup {
14 | ContentView()
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/MovieStreamingUI/ContentView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ContentView.swift
3 | // MovieStreamingUI
4 | //
5 | // Created by Shameem Reza on 30/3/22.
6 | //
7 |
8 | import SwiftUI
9 |
10 | struct ContentView: View {
11 | var body: some View {
12 | Home()
13 | }
14 | }
15 |
16 | struct ContentView_Previews: PreviewProvider {
17 | static var previews: some View {
18 | ContentView()
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "m1.jpg",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m2.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "m2.jpg",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m3.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "m3.jpg",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m4.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "m4.jpg",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m5.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "m5.jpg",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m6.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "m6.jpg",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m7.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "m7.jpg",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/Movies/m8.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "m8.jpg",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/splash.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "splash.png",
5 | "idiom" : "universal",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "author" : "xcode",
19 | "version" : 1
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/MovieStreamingUI.xcodeproj/xcuserdata/shameem.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | MovieStreamingUI.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 0
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/MovieStreamingUI/View/OffsetModifier.swift:
--------------------------------------------------------------------------------
1 | //
2 | // OffsetModifier.swift
3 | // MovieStreamingUI
4 | //
5 | // Created by Shameem Reza on 31/3/22.
6 | //
7 |
8 | import SwiftUI
9 |
10 | struct OffsetModifier: ViewModifier {
11 | @Binding var offset: CGFloat
12 |
13 | func body(content: Content) -> some View {
14 | content
15 | .overlay {
16 | GeometryReader {proxy in
17 | let minY = proxy.frame(in: .named("SCROLL")).minY
18 |
19 | Color.clear
20 | .preference(key: OffsetKey.self, value: minY)
21 | }
22 | .onPreferenceChange(OffsetKey.self) { minY in
23 | self.offset = minY
24 | }
25 | }
26 | }
27 | }
28 |
29 |
30 | struct OffsetKey: PreferenceKey {
31 | static var defaultValue: CGFloat = 0
32 |
33 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
34 | value = nextValue()
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Movie Streaming App UI
2 |
3 | Animated Movie Streaming App UI using SwiftUi 3.0 🤓
4 |
5 | [](https://opensource.org/licenses/Apache-2.0)
6 | [](https://github.com/shameemreza/moviestreamingui/blob/main/LICENSE)
7 |
8 |
9 | ## Video Preview
10 |
11 | [](https://youtu.be/YpqZo92yCcg "Movie Streaming App UI")
12 |
13 |
14 | ## Screenshots
15 |
16 |
17 |
18 |
19 | ## Features
20 |
21 | * Smooth Hero Animation
22 | * SwiftUI Animated Carousel Slider
23 | * SwiftUI 3D Card Animation
24 | * SwiftUI Snap Carousel
25 | * SwiftUI Delay Animations
26 | * SwiftUI Matched Geometry Effect
27 | * SwiftUI 3D Animations
28 | * SwiftUI Overlay
29 | * SwiftUI Complex UI
30 | * SwiftUI for iOS 15
31 |
32 |
33 | Thanks for the Animation: [Balaji Venkatesh](https://kavsoft.dev)
34 |
35 | Dribble Shot 👉 [Click Here](https://dribbble.com/shots/17879744-Movie-Streaming-App-UI)
36 |
37 | ## License
38 |
39 | ```
40 | Copyright 2022 Shameem Reza
41 |
42 | Licensed under the Apache License, Version 2.0 (the "License");
43 | you may not use this file except in compliance with the License.
44 | You may obtain a copy of the License at
45 |
46 | http://www.apache.org/licenses/LICENSE-2.0
47 |
48 | Unless required by applicable law or agreed to in writing, software
49 | distributed under the License is distributed on an "AS IS" BASIS,
50 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
51 | See the License for the specific language governing permissions and
52 | limitations under the License.
53 | ```
54 |
55 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"}]}
--------------------------------------------------------------------------------
/MovieStreamingUI/View/SnapCarousel.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SnapCarousel.swift
3 | // MovieStreamingUI
4 | //
5 | // Created by Shameem Reza on 31/3/22.
6 | //
7 |
8 | import SwiftUI
9 |
10 | struct SnapCarousel: View {
11 | var content: (T) -> Content
12 | var list: [T]
13 |
14 | // MARK: PROPERTIES
15 | var spacing: CGFloat
16 | var trialingSpace: CGFloat
17 | @Binding var index: Int
18 |
19 | init(spacing: CGFloat = 15, trialingSpace: CGFloat = 100, index: Binding, items: [T], @ViewBuilder content: @escaping (T)->Content) {
20 |
21 | self.list = items
22 | self.spacing = spacing
23 | self.trialingSpace = trialingSpace
24 | self._index = index
25 | self.content = content
26 | }
27 |
28 | @GestureState var offset: CGFloat = 0
29 | @State var currentIndex: Int = 0
30 |
31 | var body: some View {
32 | GeometryReader{proxy in
33 |
34 | let width = proxy.size.width - (trialingSpace - spacing)
35 | let adjustmentWidth = (trialingSpace / 2) - spacing
36 |
37 | HStack(spacing: spacing) {
38 | ForEach(list){item in
39 | content(item)
40 | .frame(width: proxy.size.width - trialingSpace)
41 | .offset(y: getOffset(item: item, width: width))
42 | }
43 | } // END HSTACK
44 | .padding(.horizontal, spacing)
45 | .offset(x: (CGFloat(currentIndex) * -width) + (currentIndex != 0 ? adjustmentWidth : 0) + offset)
46 | .gesture(
47 | DragGesture()
48 | .updating($offset, body: {value, out, _ in
49 | out = (value.translation.width / 1.5)
50 | })
51 | .onEnded({value in
52 | let offsetX = value.translation.width
53 | let progress = -offsetX / width
54 | let roundIndex = progress.rounded()
55 |
56 | currentIndex = max(min(currentIndex + Int(roundIndex), list.count - 1), 0)
57 |
58 | currentIndex = index
59 |
60 | })
61 | .onChanged({value in
62 | let offsetX = value.translation.width
63 | let progress = -offsetX / width
64 | let roundIndex = progress.rounded()
65 |
66 | index = max(min(currentIndex + Int(roundIndex), list.count - 1), 0)
67 | })
68 | )
69 | } // END GR
70 | .animation(.easeInOut, value: offset == 0)
71 | } // END BODY
72 |
73 | // MARK: SLIDER ITEM BASED ON SCROLL
74 | func getOffset(item: T, width: CGFloat)->CGFloat {
75 |
76 | let progress = ((offset < 0 ? offset : -offset) / width) * 60
77 | let topOffset = -progress < 60 ? progress : -(progress + 120)
78 | let previous = getIndex(item: item) - 1 == currentIndex ? (offset < 0 ? topOffset : -topOffset) : 0
79 | let next = getIndex(item: item) + 1 == currentIndex ? (offset < 0 ? -topOffset : topOffset) : 0
80 | let checkBetween = currentIndex >= 0 && currentIndex < list.count ? (getIndex(item: item) - 1 == currentIndex ? previous : next) : 0
81 |
82 | return getIndex(item: item) == currentIndex ? -60 - topOffset : checkBetween
83 | }
84 |
85 | // MARK: FETCH INDEX
86 | func getIndex(item: T)-> Int {
87 | let index = list.firstIndex {currentItem in
88 | return currentItem.id == item.id
89 | } ?? 0
90 | return index
91 | }
92 |
93 | }
94 |
95 | struct SnapCarousel_Previews: PreviewProvider {
96 | static var previews: some View {
97 | ContentView()
98 | }
99 | }
100 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Launch Screen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/MovieStreamingUI/Model/Movie.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Movie.swift
3 | // MovieStreamingUI
4 | //
5 | // Created by Shameem Reza on 30/3/22.
6 | //
7 |
8 | import SwiftUI
9 |
10 | // MARK: - MOVIE DATA MODEL
11 |
12 | struct Movie: Identifiable {
13 | var id = UUID().uuidString
14 | var movieTitle: String
15 | var movieThumb: String
16 | var movieStory: String
17 | }
18 |
19 | // MARK: - MOVIE DATA
20 |
21 | var movies: [Movie] = [
22 | Movie(movieTitle: "Death on the Nile", movieThumb: "m1", movieStory: "Belgian sleuth Hercule Poirot's vacation aboard a glamorous river steamer turns into a terrifying search for a murderer when a picture-perfect couple's idyllic honeymoon is tragically cut short. Set against an epic landscape of sweeping Egyptian desert vistas and the majestic Giza pyramids, this tale of unbridled passion and incapacitating jealousy features a cosmopolitan group of impeccably dressed travelers, and enough wicked twists and turns to leave audiences guessing until the final, shocking denouement."),
23 | Movie(movieTitle: "Pushpa: The Rise", movieThumb: "m2", movieStory: "Pushpa a labor works for small sum but dreams of living a life of king. But he is always let down by his step brothers for being an illegitimate child of their father. He gets chance to work in dense forest of red sanders where red sanders are smuggled to other countries. The labors are always under the scanner of DSP Govindappa but Pushpa dares to go against everyone creating hurdles for DSP. Pushpa manages to save a smuggling consignment worth crores under the eye of DSP and becomes known to Reddy Brothers. (Konda Reddy, Jakka Reddy and Jolly Reddy) known to do smuggling of red sanders. Pushpa manages to smuggle red sanders often with his tricks by bluffing DSP and his team and becomes close side of Konda Reddy. Pushpa changes his lifestyle and decides to marry Srivelli but his step brothers disclose his mother's relationship with their father thus calling of the marriage. Pushpa who now decides not to stop in reaching heights and finds that Mangalam Sinu, a syndicate member is giving Reddy's gang much lesser share than they deserve and asks Konda Reddy to hike profit. Konda Reddy asks Pushpa to take thing sin his hands as his involvement will lead to war between the two gangs.A fearless Pushpa decides to take control of things leading to disagreements between two gangs."),
24 | Movie(movieTitle: "James", movieThumb: "m3", movieStory: "James also called Santhosh Kumar, who works as a manager in a security company and finds himself up against the big bad guys."),
25 | Movie(movieTitle: "Checkered Ninja 2", movieThumb: "m4", movieStory: "Follow Alex and the Checkered Ninja who embark on a frantic hunt for the villain Phillip Eppermint, who has evaded a prison sentence in Thailand."),
26 | Movie(movieTitle: "Deep Water", movieThumb: "m5", movieStory: "Vic and Melinda Van Allen are a couple in the small town of Little Wesley. Their loveless marriage is held together only by a precarious arrangement whereby, in order to avoid the messiness of divorce, Melinda is allowed to take any number of lovers as long as she does not desert her family. Vic becomes fascinated with the unsolved murder of one of Melinda's former lovers, Martin McRae, and, in order to successfully drive away her current fling, takes credit for the killing. When the real murderer is apprehended, Vic's claims are interpreted by the community as dark jokes."),
27 | Movie(movieTitle: "Deadlock", movieThumb: "m6", movieStory: "Ron Whitlock is a wanted criminal leading a team of mercenaries on a mission of vengeance. Convinced that the government is working against them, the merciless group brutally seizes an energy plant and holds everyone inside hostage. With a nearby town on the brink of massive flooding and destruction, it's up to one retired elite army ranger Mack Karr to save thousands of innocent lives before it's too late."),
28 | Movie(movieTitle: "The Batman", movieThumb: "m7", movieStory: "When the Riddler, a sadistic serial killer, begins murdering key political figures in Gotham, Batman is forced to investigate the city's hidden corruption and question his family's involvement."),
29 | Movie(movieTitle: "Restless", movieThumb: "m8", movieStory: "After going to extremes to cover up an accident, a corrupt cop's life spirals out of control when he starts receiving threats from a mysterious witness."),
30 | ]
31 |
--------------------------------------------------------------------------------
/MovieStreamingUI/View/DetailView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // DetailView.swift
3 | // MovieStreamingUI
4 | //
5 | // Created by Shameem Reza on 31/3/22.
6 | //
7 |
8 | import SwiftUI
9 |
10 | struct DetailView: View {
11 | var movie: Movie
12 | @Binding var showMovieDetail: Bool
13 | @Binding var movieDeatil: Movie?
14 | @Binding var currentCardSieze: CGSize
15 |
16 | var animation: Namespace.ID
17 |
18 | @State var showDetailContent: Bool = false
19 | @State var offset: CGFloat = 0
20 |
21 | var body: some View {
22 | //MARK: MOVIE DETAIL
23 |
24 | ScrollView(.vertical, showsIndicators: false) {
25 | VStack {
26 | HStack {
27 | Spacer()
28 | Button {
29 | withAnimation{
30 | showMovieDetail = false
31 | }
32 | } label: {
33 | Image(systemName: "xmark.circle")
34 | .font(.title2)
35 | .foregroundColor(.pink)
36 | } // END DRAWER MENU
37 | }
38 |
39 |
40 | Image(movie.movieThumb)
41 | .resizable()
42 | .aspectRatio(contentMode: .fill)
43 | .frame(width: currentCardSieze.width, height: currentCardSieze.height)
44 | .cornerRadius(15)
45 | .matchedGeometryEffect(id: movie.id, in: animation)
46 | // MARK: - MOVIE DETAILS
47 | VStack(spacing: 15) {
48 |
49 | Text(movie.movieTitle)
50 | .font(.largeTitle)
51 | .fontWeight(.bold)
52 | .frame(maxWidth: .infinity, maxHeight: .infinity)
53 | .padding(.top, 25)
54 |
55 |
56 | Text("Storyline")
57 | .font(.title)
58 | .fontWeight(.semibold)
59 | .frame(maxWidth: .infinity, maxHeight: .infinity)
60 | .padding(.top, 25)
61 |
62 | Text(movie.movieStory)
63 | .multilineTextAlignment(.leading)
64 |
65 | Button {
66 |
67 | } label: {
68 | Text("WATCH NOW")
69 | .fontWeight(.semibold)
70 | .foregroundColor(.white)
71 | .padding(.vertical)
72 | .frame(maxWidth: .infinity)
73 | .background {
74 | RoundedRectangle(cornerRadius: 10, style: .continuous)
75 | .fill(.pink)
76 | }
77 | }
78 | .padding(.top, 20)
79 | } // END DETAILS VSTACK
80 | .opacity(showDetailContent ? 1 : 0)
81 | .offset(y: showDetailContent ? 0 : 200)
82 | } //END VSTACK
83 | .padding()
84 | .modifier(OffsetModifier(offset: $offset))
85 | } //END SCROLL VIEW
86 | .coordinateSpace(name: "SCROLL")
87 | .frame(maxWidth: .infinity, maxHeight: .infinity)
88 | .background {
89 | Rectangle()
90 | .fill(.ultraThinMaterial)
91 | .ignoresSafeArea()
92 | }
93 | .onAppear {
94 | withAnimation(.easeInOut) {
95 | showDetailContent = true
96 | }
97 | }
98 | .onChange(of: offset) { newValue in
99 | if newValue > 120 {
100 | withAnimation(.easeInOut) {
101 | showDetailContent = false
102 | }
103 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.05) {
104 | withAnimation(.easeInOut) {
105 | showMovieDetail = false
106 | }
107 | }
108 | }
109 | }
110 | }
111 | }
112 |
113 | struct DetailView_Previews: PreviewProvider {
114 | static var previews: some View {
115 | ContentView()
116 |
117 | }
118 | }
119 |
--------------------------------------------------------------------------------
/MovieStreamingUI/View/Home.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Home.swift
3 | // MovieStreamingUI
4 | //
5 | // Created by Shameem Reza on 30/3/22.
6 | //
7 |
8 | import SwiftUI
9 |
10 | struct Home: View {
11 |
12 | @State var currentIndex: Int = 0 //ANIMATED VIEW
13 | @State var currentTab: String = "English"
14 | @State var movieDeatil: Movie?
15 | @State var showMovieDetail: Bool = false
16 | @State var currentCardSize: CGSize = .zero
17 |
18 | @Environment(\.colorScheme) var scheme
19 | @Namespace var animation
20 |
21 | var body: some View {
22 | // MARK: ZSTACK
23 | ZStack {
24 | //MARK: BBACKGROUND
25 | BGView()
26 |
27 | // MARK: MAIN VIEW
28 | VStack {
29 |
30 | // MARK: NAV BAR
31 | NavBar()
32 |
33 | // MARK: SLIDER
34 | SnapCarousel(spacing: 20, trialingSpace: 110, index: $currentIndex, items: movies) {movie in
35 | GeometryReader{proxy in
36 | let size = proxy.size
37 |
38 | Image(movie.movieThumb)
39 | .resizable()
40 | .aspectRatio(contentMode: .fill)
41 | .frame(width: size.width, height: size.height)
42 | .cornerRadius(15)
43 | .matchedGeometryEffect(id: movie.id, in: animation)
44 | .onTapGesture {
45 | currentCardSize = size
46 | movieDeatil = movie
47 | withAnimation(.easeInOut) {
48 | showMovieDetail = true
49 | }
50 | }
51 | } // END GR
52 | } // END SLIDER
53 | .padding(.top, 70)
54 |
55 | // MARK: SLIDER INDICATOR
56 | CustomIndicator()
57 |
58 | // MARK: POPULAR MOVIES SECTION TITLE
59 | HStack {
60 | Text("Latest Movies")
61 | .font(.title3.bold())
62 |
63 | Spacer()
64 |
65 | Button {
66 |
67 | } label: {
68 | Text("See All")
69 | Image(systemName: "arrow.right")
70 | }
71 | .font(.system(size: 16, weight: .semibold))
72 | .foregroundColor(.pink.opacity(0.8))
73 | } // END POPULAR SECTION TITLE
74 | .padding()
75 |
76 | // MARK: POPULAR MOVIE LIST
77 | ScrollView(.horizontal, showsIndicators: false) {
78 | HStack(spacing: 15) {
79 | ForEach(movies) {movie in
80 | Image(movie.movieThumb)
81 | .resizable()
82 | .aspectRatio(contentMode: .fill)
83 | .frame(width: 100, height: 120)
84 | .cornerRadius(15)
85 | }
86 | } // END HSTACK
87 | } // END SCROLL VIEW
88 |
89 | } // END MAIN VIEW
90 | .overlay {
91 | if let movie = movieDeatil, showMovieDetail {
92 | DetailView(movie: movie, showMovieDetail: $showMovieDetail, movieDeatil: $movieDeatil, currentCardSieze: $currentCardSize, animation: animation)
93 | }
94 | }
95 | } //END ZSTACK
96 | }
97 |
98 | // MARK: - SLIDER INDICATOR
99 | @ViewBuilder
100 | func CustomIndicator()->some View {
101 | HStack(spacing: 5) {
102 | ForEach(movies.indices, id: \.self){index in
103 | Circle()
104 | .fill(currentIndex == index ? .pink : .gray.opacity(0.5))
105 | .frame(width: currentIndex == index ? 10 : 6, height: currentIndex == index ? 10 : 6)
106 | }
107 | } //END HSTACK
108 | .animation(.easeInOut, value: currentIndex)
109 | }
110 |
111 | // MARK: CUSTOM NAV BAR
112 | @ViewBuilder
113 | func NavBar()->some View {
114 | HStack(spacing: 0) {
115 | ForEach(["English", "Hindi", "Telegu"], id: \.self){tab in
116 | Button {
117 | withAnimation {
118 | currentTab = tab
119 | }
120 | } label: {
121 | Text(tab)
122 | .foregroundColor(.white)
123 | .padding(.vertical, 6)
124 | .padding(.horizontal, 20)
125 | .background {
126 | if currentTab == tab {
127 | Capsule()
128 | .fill(.regularMaterial)
129 | .environment(\.colorScheme, .dark)
130 | .matchedGeometryEffect(id: "TAB", in: animation)
131 | }
132 | }
133 | } // END TAB BUTTON
134 | } // END LOOP
135 |
136 | Button {
137 |
138 | } label: {
139 | Image(systemName: "bell")
140 | .font(.title)
141 | .foregroundColor(.gray)
142 | .overlay(
143 | Text("2")
144 | .font(.caption2.bold())
145 | .foregroundColor(.white)
146 | .padding(8)
147 | .background(Color.pink)
148 | .clipShape(Circle())
149 | .offset(x: 11, y: -12),
150 |
151 | alignment: .topTrailing
152 | )
153 | .offset(x: -2)
154 | .padding(15)
155 | .background(Color.black.opacity(0.15))
156 | .clipShape(Circle())
157 | } // END BUTTON
158 | }
159 | .padding()
160 | }
161 |
162 | // MARK: - BLURRED BACKGROUND
163 | @ViewBuilder
164 | func BGView()->some View {
165 | GeometryReader{proxy in
166 | let size = proxy.size
167 |
168 | TabView(selection: $currentIndex) {
169 | ForEach(movies.indices, id: \.self) {index in
170 | Image(movies[index].movieThumb)
171 | .resizable()
172 | .aspectRatio(contentMode: .fill)
173 | .frame(width: size.width, height: size.height)
174 | .clipped()
175 | .tag(index)
176 | } // END LOOP
177 | } // END TAB VIEW
178 | .tabViewStyle(.page(indexDisplayMode: .never))
179 | .animation(.easeInOut, value: currentIndex)
180 |
181 | // MARK: - CUSTOM GRADIENT
182 | let color: Color = (scheme == .dark ? .black : .white)
183 |
184 | LinearGradient(colors: [
185 | .black,
186 | .clear,
187 | color.opacity(0.15),
188 | color.opacity(0.5),
189 | color.opacity(0.8),
190 | color,
191 | color
192 | ], startPoint: .top, endPoint: .bottom) // END GRADIENT
193 |
194 | // MARK: BLURRED OVERLAY
195 | Rectangle()
196 | .fill(.ultraThinMaterial)
197 | } // END GEOMETRY READER
198 | .ignoresSafeArea()
199 | } // END BG VIEW
200 | }
201 |
202 | struct Home_Previews: PreviewProvider {
203 | static var previews: some View {
204 | ContentView()
205 |
206 | }
207 | }
208 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/MovieStreamingUI.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 55;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | BFBA435627F4CDB500F03D51 /* MovieStreamingUIApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBA435527F4CDB500F03D51 /* MovieStreamingUIApp.swift */; };
11 | BFBA435827F4CDB500F03D51 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBA435727F4CDB500F03D51 /* ContentView.swift */; };
12 | BFBA435A27F4CDBA00F03D51 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BFBA435927F4CDBA00F03D51 /* Assets.xcassets */; };
13 | BFBA435D27F4CDBA00F03D51 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BFBA435C27F4CDBA00F03D51 /* Preview Assets.xcassets */; };
14 | BFBA436627F4CF1D00F03D51 /* Movie.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBA436527F4CF1D00F03D51 /* Movie.swift */; };
15 | BFBA436827F4D16500F03D51 /* Home.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBA436727F4D16500F03D51 /* Home.swift */; };
16 | BFBA436A27F4D5EA00F03D51 /* SnapCarousel.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBA436927F4D5EA00F03D51 /* SnapCarousel.swift */; };
17 | BFBA436C27F4F3CD00F03D51 /* DetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBA436B27F4F3CD00F03D51 /* DetailView.swift */; };
18 | BFBA436E27F4F9D500F03D51 /* OffsetModifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBA436D27F4F9D500F03D51 /* OffsetModifier.swift */; };
19 | BFBA437027F5063900F03D51 /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BFBA436F27F5063900F03D51 /* Launch Screen.storyboard */; };
20 | /* End PBXBuildFile section */
21 |
22 | /* Begin PBXFileReference section */
23 | BFBA435227F4CDB500F03D51 /* Movie Streaming UI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Movie Streaming UI.app"; sourceTree = BUILT_PRODUCTS_DIR; };
24 | BFBA435527F4CDB500F03D51 /* MovieStreamingUIApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MovieStreamingUIApp.swift; sourceTree = ""; };
25 | BFBA435727F4CDB500F03D51 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; };
26 | BFBA435927F4CDBA00F03D51 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
27 | BFBA435C27F4CDBA00F03D51 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; };
28 | BFBA436527F4CF1D00F03D51 /* Movie.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Movie.swift; sourceTree = ""; };
29 | BFBA436727F4D16500F03D51 /* Home.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Home.swift; sourceTree = ""; };
30 | BFBA436927F4D5EA00F03D51 /* SnapCarousel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SnapCarousel.swift; sourceTree = ""; };
31 | BFBA436B27F4F3CD00F03D51 /* DetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DetailView.swift; sourceTree = ""; };
32 | BFBA436D27F4F9D500F03D51 /* OffsetModifier.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OffsetModifier.swift; sourceTree = ""; };
33 | BFBA436F27F5063900F03D51 /* Launch Screen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = "Launch Screen.storyboard"; sourceTree = ""; };
34 | /* End PBXFileReference section */
35 |
36 | /* Begin PBXFrameworksBuildPhase section */
37 | BFBA434F27F4CDB400F03D51 /* Frameworks */ = {
38 | isa = PBXFrameworksBuildPhase;
39 | buildActionMask = 2147483647;
40 | files = (
41 | );
42 | runOnlyForDeploymentPostprocessing = 0;
43 | };
44 | /* End PBXFrameworksBuildPhase section */
45 |
46 | /* Begin PBXGroup section */
47 | BFBA434927F4CDB400F03D51 = {
48 | isa = PBXGroup;
49 | children = (
50 | BFBA435427F4CDB500F03D51 /* MovieStreamingUI */,
51 | BFBA435327F4CDB500F03D51 /* Products */,
52 | );
53 | sourceTree = "";
54 | };
55 | BFBA435327F4CDB500F03D51 /* Products */ = {
56 | isa = PBXGroup;
57 | children = (
58 | BFBA435227F4CDB500F03D51 /* Movie Streaming UI.app */,
59 | );
60 | name = Products;
61 | sourceTree = "";
62 | };
63 | BFBA435427F4CDB500F03D51 /* MovieStreamingUI */ = {
64 | isa = PBXGroup;
65 | children = (
66 | BFBA436427F4CEF100F03D51 /* Model */,
67 | BFBA436327F4CEEA00F03D51 /* View */,
68 | BFBA435527F4CDB500F03D51 /* MovieStreamingUIApp.swift */,
69 | BFBA435727F4CDB500F03D51 /* ContentView.swift */,
70 | BFBA435927F4CDBA00F03D51 /* Assets.xcassets */,
71 | BFBA435B27F4CDBA00F03D51 /* Preview Content */,
72 | BFBA436F27F5063900F03D51 /* Launch Screen.storyboard */,
73 | );
74 | path = MovieStreamingUI;
75 | sourceTree = "";
76 | };
77 | BFBA435B27F4CDBA00F03D51 /* Preview Content */ = {
78 | isa = PBXGroup;
79 | children = (
80 | BFBA435C27F4CDBA00F03D51 /* Preview Assets.xcassets */,
81 | );
82 | path = "Preview Content";
83 | sourceTree = "";
84 | };
85 | BFBA436327F4CEEA00F03D51 /* View */ = {
86 | isa = PBXGroup;
87 | children = (
88 | BFBA436727F4D16500F03D51 /* Home.swift */,
89 | BFBA436927F4D5EA00F03D51 /* SnapCarousel.swift */,
90 | BFBA436B27F4F3CD00F03D51 /* DetailView.swift */,
91 | BFBA436D27F4F9D500F03D51 /* OffsetModifier.swift */,
92 | );
93 | path = View;
94 | sourceTree = "";
95 | };
96 | BFBA436427F4CEF100F03D51 /* Model */ = {
97 | isa = PBXGroup;
98 | children = (
99 | BFBA436527F4CF1D00F03D51 /* Movie.swift */,
100 | );
101 | path = Model;
102 | sourceTree = "";
103 | };
104 | /* End PBXGroup section */
105 |
106 | /* Begin PBXNativeTarget section */
107 | BFBA435127F4CDB400F03D51 /* MovieStreamingUI */ = {
108 | isa = PBXNativeTarget;
109 | buildConfigurationList = BFBA436027F4CDBA00F03D51 /* Build configuration list for PBXNativeTarget "MovieStreamingUI" */;
110 | buildPhases = (
111 | BFBA434E27F4CDB400F03D51 /* Sources */,
112 | BFBA434F27F4CDB400F03D51 /* Frameworks */,
113 | BFBA435027F4CDB400F03D51 /* Resources */,
114 | );
115 | buildRules = (
116 | );
117 | dependencies = (
118 | );
119 | name = MovieStreamingUI;
120 | productName = MovieStreamingUI;
121 | productReference = BFBA435227F4CDB500F03D51 /* Movie Streaming UI.app */;
122 | productType = "com.apple.product-type.application";
123 | };
124 | /* End PBXNativeTarget section */
125 |
126 | /* Begin PBXProject section */
127 | BFBA434A27F4CDB400F03D51 /* Project object */ = {
128 | isa = PBXProject;
129 | attributes = {
130 | BuildIndependentTargetsInParallel = 1;
131 | LastSwiftUpdateCheck = 1330;
132 | LastUpgradeCheck = 1330;
133 | TargetAttributes = {
134 | BFBA435127F4CDB400F03D51 = {
135 | CreatedOnToolsVersion = 13.3;
136 | };
137 | };
138 | };
139 | buildConfigurationList = BFBA434D27F4CDB400F03D51 /* Build configuration list for PBXProject "MovieStreamingUI" */;
140 | compatibilityVersion = "Xcode 13.0";
141 | developmentRegion = en;
142 | hasScannedForEncodings = 0;
143 | knownRegions = (
144 | en,
145 | Base,
146 | );
147 | mainGroup = BFBA434927F4CDB400F03D51;
148 | productRefGroup = BFBA435327F4CDB500F03D51 /* Products */;
149 | projectDirPath = "";
150 | projectRoot = "";
151 | targets = (
152 | BFBA435127F4CDB400F03D51 /* MovieStreamingUI */,
153 | );
154 | };
155 | /* End PBXProject section */
156 |
157 | /* Begin PBXResourcesBuildPhase section */
158 | BFBA435027F4CDB400F03D51 /* Resources */ = {
159 | isa = PBXResourcesBuildPhase;
160 | buildActionMask = 2147483647;
161 | files = (
162 | BFBA437027F5063900F03D51 /* Launch Screen.storyboard in Resources */,
163 | BFBA435D27F4CDBA00F03D51 /* Preview Assets.xcassets in Resources */,
164 | BFBA435A27F4CDBA00F03D51 /* Assets.xcassets in Resources */,
165 | );
166 | runOnlyForDeploymentPostprocessing = 0;
167 | };
168 | /* End PBXResourcesBuildPhase section */
169 |
170 | /* Begin PBXSourcesBuildPhase section */
171 | BFBA434E27F4CDB400F03D51 /* Sources */ = {
172 | isa = PBXSourcesBuildPhase;
173 | buildActionMask = 2147483647;
174 | files = (
175 | BFBA435827F4CDB500F03D51 /* ContentView.swift in Sources */,
176 | BFBA436C27F4F3CD00F03D51 /* DetailView.swift in Sources */,
177 | BFBA435627F4CDB500F03D51 /* MovieStreamingUIApp.swift in Sources */,
178 | BFBA436E27F4F9D500F03D51 /* OffsetModifier.swift in Sources */,
179 | BFBA436827F4D16500F03D51 /* Home.swift in Sources */,
180 | BFBA436627F4CF1D00F03D51 /* Movie.swift in Sources */,
181 | BFBA436A27F4D5EA00F03D51 /* SnapCarousel.swift in Sources */,
182 | );
183 | runOnlyForDeploymentPostprocessing = 0;
184 | };
185 | /* End PBXSourcesBuildPhase section */
186 |
187 | /* Begin XCBuildConfiguration section */
188 | BFBA435E27F4CDBA00F03D51 /* Debug */ = {
189 | isa = XCBuildConfiguration;
190 | buildSettings = {
191 | ALWAYS_SEARCH_USER_PATHS = NO;
192 | CLANG_ANALYZER_NONNULL = YES;
193 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
194 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
195 | CLANG_ENABLE_MODULES = YES;
196 | CLANG_ENABLE_OBJC_ARC = YES;
197 | CLANG_ENABLE_OBJC_WEAK = YES;
198 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
199 | CLANG_WARN_BOOL_CONVERSION = YES;
200 | CLANG_WARN_COMMA = YES;
201 | CLANG_WARN_CONSTANT_CONVERSION = YES;
202 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
203 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
204 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
205 | CLANG_WARN_EMPTY_BODY = YES;
206 | CLANG_WARN_ENUM_CONVERSION = YES;
207 | CLANG_WARN_INFINITE_RECURSION = YES;
208 | CLANG_WARN_INT_CONVERSION = YES;
209 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
210 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
211 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
212 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
213 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
214 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
215 | CLANG_WARN_STRICT_PROTOTYPES = YES;
216 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
217 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
218 | CLANG_WARN_UNREACHABLE_CODE = YES;
219 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
220 | COPY_PHASE_STRIP = NO;
221 | DEBUG_INFORMATION_FORMAT = dwarf;
222 | ENABLE_STRICT_OBJC_MSGSEND = YES;
223 | ENABLE_TESTABILITY = YES;
224 | GCC_C_LANGUAGE_STANDARD = gnu11;
225 | GCC_DYNAMIC_NO_PIC = NO;
226 | GCC_NO_COMMON_BLOCKS = YES;
227 | GCC_OPTIMIZATION_LEVEL = 0;
228 | GCC_PREPROCESSOR_DEFINITIONS = (
229 | "DEBUG=1",
230 | "$(inherited)",
231 | );
232 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
233 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
234 | GCC_WARN_UNDECLARED_SELECTOR = YES;
235 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
236 | GCC_WARN_UNUSED_FUNCTION = YES;
237 | GCC_WARN_UNUSED_VARIABLE = YES;
238 | IPHONEOS_DEPLOYMENT_TARGET = 15.4;
239 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
240 | MTL_FAST_MATH = YES;
241 | ONLY_ACTIVE_ARCH = YES;
242 | SDKROOT = iphoneos;
243 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
244 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
245 | };
246 | name = Debug;
247 | };
248 | BFBA435F27F4CDBA00F03D51 /* Release */ = {
249 | isa = XCBuildConfiguration;
250 | buildSettings = {
251 | ALWAYS_SEARCH_USER_PATHS = NO;
252 | CLANG_ANALYZER_NONNULL = YES;
253 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
254 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
255 | CLANG_ENABLE_MODULES = YES;
256 | CLANG_ENABLE_OBJC_ARC = YES;
257 | CLANG_ENABLE_OBJC_WEAK = YES;
258 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
259 | CLANG_WARN_BOOL_CONVERSION = YES;
260 | CLANG_WARN_COMMA = YES;
261 | CLANG_WARN_CONSTANT_CONVERSION = YES;
262 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
263 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
264 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
265 | CLANG_WARN_EMPTY_BODY = YES;
266 | CLANG_WARN_ENUM_CONVERSION = YES;
267 | CLANG_WARN_INFINITE_RECURSION = YES;
268 | CLANG_WARN_INT_CONVERSION = YES;
269 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
270 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
271 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
272 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
273 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
274 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
275 | CLANG_WARN_STRICT_PROTOTYPES = YES;
276 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
277 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
278 | CLANG_WARN_UNREACHABLE_CODE = YES;
279 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
280 | COPY_PHASE_STRIP = NO;
281 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
282 | ENABLE_NS_ASSERTIONS = NO;
283 | ENABLE_STRICT_OBJC_MSGSEND = YES;
284 | GCC_C_LANGUAGE_STANDARD = gnu11;
285 | GCC_NO_COMMON_BLOCKS = YES;
286 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
287 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
288 | GCC_WARN_UNDECLARED_SELECTOR = YES;
289 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
290 | GCC_WARN_UNUSED_FUNCTION = YES;
291 | GCC_WARN_UNUSED_VARIABLE = YES;
292 | IPHONEOS_DEPLOYMENT_TARGET = 15.4;
293 | MTL_ENABLE_DEBUG_INFO = NO;
294 | MTL_FAST_MATH = YES;
295 | SDKROOT = iphoneos;
296 | SWIFT_COMPILATION_MODE = wholemodule;
297 | SWIFT_OPTIMIZATION_LEVEL = "-O";
298 | VALIDATE_PRODUCT = YES;
299 | };
300 | name = Release;
301 | };
302 | BFBA436127F4CDBA00F03D51 /* Debug */ = {
303 | isa = XCBuildConfiguration;
304 | buildSettings = {
305 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
306 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
307 | CODE_SIGN_STYLE = Automatic;
308 | CURRENT_PROJECT_VERSION = 1;
309 | DEVELOPMENT_ASSET_PATHS = "\"MovieStreamingUI/Preview Content\"";
310 | ENABLE_PREVIEWS = YES;
311 | GENERATE_INFOPLIST_FILE = YES;
312 | INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
313 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
314 | INFOPLIST_KEY_UILaunchScreen_Generation = YES;
315 | INFOPLIST_KEY_UILaunchStoryboardName = "Launch Screen";
316 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
317 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
318 | LD_RUNPATH_SEARCH_PATHS = (
319 | "$(inherited)",
320 | "@executable_path/Frameworks",
321 | );
322 | MARKETING_VERSION = 1.0;
323 | PRODUCT_BUNDLE_IDENTIFIER = net.orixlab.MovieStreamingUI;
324 | PRODUCT_NAME = "Movie Streaming UI";
325 | SWIFT_EMIT_LOC_STRINGS = YES;
326 | SWIFT_VERSION = 5.0;
327 | TARGETED_DEVICE_FAMILY = "1,2";
328 | };
329 | name = Debug;
330 | };
331 | BFBA436227F4CDBA00F03D51 /* Release */ = {
332 | isa = XCBuildConfiguration;
333 | buildSettings = {
334 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
335 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
336 | CODE_SIGN_STYLE = Automatic;
337 | CURRENT_PROJECT_VERSION = 1;
338 | DEVELOPMENT_ASSET_PATHS = "\"MovieStreamingUI/Preview Content\"";
339 | ENABLE_PREVIEWS = YES;
340 | GENERATE_INFOPLIST_FILE = YES;
341 | INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
342 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
343 | INFOPLIST_KEY_UILaunchScreen_Generation = YES;
344 | INFOPLIST_KEY_UILaunchStoryboardName = "Launch Screen";
345 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
346 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
347 | LD_RUNPATH_SEARCH_PATHS = (
348 | "$(inherited)",
349 | "@executable_path/Frameworks",
350 | );
351 | MARKETING_VERSION = 1.0;
352 | PRODUCT_BUNDLE_IDENTIFIER = net.orixlab.MovieStreamingUI;
353 | PRODUCT_NAME = "Movie Streaming UI";
354 | SWIFT_EMIT_LOC_STRINGS = YES;
355 | SWIFT_VERSION = 5.0;
356 | TARGETED_DEVICE_FAMILY = "1,2";
357 | };
358 | name = Release;
359 | };
360 | /* End XCBuildConfiguration section */
361 |
362 | /* Begin XCConfigurationList section */
363 | BFBA434D27F4CDB400F03D51 /* Build configuration list for PBXProject "MovieStreamingUI" */ = {
364 | isa = XCConfigurationList;
365 | buildConfigurations = (
366 | BFBA435E27F4CDBA00F03D51 /* Debug */,
367 | BFBA435F27F4CDBA00F03D51 /* Release */,
368 | );
369 | defaultConfigurationIsVisible = 0;
370 | defaultConfigurationName = Release;
371 | };
372 | BFBA436027F4CDBA00F03D51 /* Build configuration list for PBXNativeTarget "MovieStreamingUI" */ = {
373 | isa = XCConfigurationList;
374 | buildConfigurations = (
375 | BFBA436127F4CDBA00F03D51 /* Debug */,
376 | BFBA436227F4CDBA00F03D51 /* Release */,
377 | );
378 | defaultConfigurationIsVisible = 0;
379 | defaultConfigurationName = Release;
380 | };
381 | /* End XCConfigurationList section */
382 | };
383 | rootObject = BFBA434A27F4CDB400F03D51 /* Project object */;
384 | }
385 |
--------------------------------------------------------------------------------