12 Commits

Author SHA1 Message Date
Haik Aslanyan beae15668d added network API 2020-01-16 19:44:07 +04:00
Haik Aslanyan 94d1a43b75 added state and feed data managers 2020-01-16 13:10:52 +04:00
Haik Aslanyan d97966ce1a replaced inbox and library views with placeholder view 2020-01-14 14:45:52 +04:00
Haik Aslanyan cbca63f54c added yt logo 2020-01-14 14:22:15 +04:00
Haik Aslanyan 6e0105cf8f finiched NavigationHeaderView 2020-01-14 14:22:02 +04:00
Haik Aslanyan 837ffdc5ed changed project to swiftUI 2020-01-14 12:56:15 +04:00
Haik Aslanyan 8c40ffba86 Refactored settings screen 2019-05-14 18:24:51 +04:00
Haik Aslanyan ae2a998171 Added titleLabel 2019-05-14 16:58:57 +04:00
Haik Aslanyan 33cf699d56 Refactored main view controller 2019-05-14 16:30:02 +04:00
Haik Aslanyan ecdd0a4297 Refactored TabbarView 2019-05-14 14:59:15 +04:00
Haik Aslanyan 9eff84b264 Added license to files 2019-05-14 13:07:38 +04:00
Haik Aslanyan 8bde327f41 Changed project structure 2019-05-14 13:00:14 +04:00
216 changed files with 1259 additions and 4632 deletions
+5 -5
View File
@@ -1,12 +1,12 @@
# Youtube iOS Template # Youtube iOS Template
[![License](http://img.shields.io/badge/License-MIT-green.svg?style=flat)](https://github.com/aslanyanhaik/Quick-Chat/blob/master/LICENSE) [![License](http://img.shields.io/badge/License-MIT-green.svg?style=flat)](https://github.com/aslanyanhaik/Quick-Chat/blob/master/LICENSE)
[![Swift 3](https://img.shields.io/badge/Swift-3.0-orange.svg?style=flat)](https://swift.org) [![Swift 5](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://swift.org)
[![Twitter: @aslanyanhaik](https://img.shields.io/badge/Contact-Twitter-blue.svg?style=flat)](https://twitter.com/aslanyanhaik) [![Twitter: @aslanyanhaik](https://img.shields.io/badge/Contact-Twitter-blue.svg?style=flat)](https://twitter.com/aslanyanhaik)
Youtube iOS Template is developed by [Haik Aslanyan](https://twitter.com/aslanyanhaik) and written in Swift 3. Youtube iOS Template is developed by [Haik Aslanyan](https://twitter.com/aslanyanhaik) and written in Swift 5.
Purpose of this repo is to show how ViewControllers can be managed. Purpose of this repo is to show how ViewControllers can be managed.
@@ -23,9 +23,9 @@ All extra views are located in Navigation Controller and Main View Controller in
## Compatibility ## Compatibility
This project is written in Swift 3.0 and requires Xcode 8.2 or newer to build and run. This project is written in Swift 5.0 and requires Xcode 10.0 or newer to build and run.
Youtube iOS Template is compatible with iOS 9.1+. Youtube iOS Template is compatible with iOS 12+.
## Author ## Author
@@ -33,6 +33,6 @@ Youtube iOS Template is compatible with iOS 9.1+.
## License ## License
Copyright 2017 Haik Aslanyan. Copyright 2019 Haik Aslanyan.
Licensed under MIT License: https://opensource.org/licenses/MIT Licensed under MIT License: https://opensource.org/licenses/MIT
+220 -170
View File
@@ -3,259 +3,284 @@
archiveVersion = 1; archiveVersion = 1;
classes = { classes = {
}; };
objectVersion = 46; objectVersion = 52;
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
220E5E1E1D2E7C92001E60A3 /* AccountVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 220E5E191D2E7C92001E60A3 /* AccountVC.swift */; }; 222B4E0923D0A377002A7F26 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 222B4E0823D0A377002A7F26 /* Constants.swift */; };
220E5E2C1D2E7D33001E60A3 /* extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 220E5E2B1D2E7D33001E60A3 /* extensions.swift */; }; 222B4E0B23D0A3EC002A7F26 /* URLBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 222B4E0A23D0A3EC002A7F26 /* URLBuilder.swift */; };
221E55061ECF4F1200EC7650 /* SubscriptionsVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 221E55051ECF4F1200EC7650 /* SubscriptionsVC.swift */; }; 2231CC5D23D0616400E0944C /* ObjectVideo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2231CC5B23D0616400E0944C /* ObjectVideo.swift */; };
22449DE71D315E3900F3F39D /* LauchVIew.xib in Resources */ = {isa = PBXBuildFile; fileRef = 22449DE61D315E3900F3F39D /* LauchVIew.xib */; }; 2231CC5E23D0616400E0944C /* ObjectPlaceHolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2231CC5C23D0616400E0944C /* ObjectPlaceHolder.swift */; };
226B84F31D329FBA006D6A0D /* HomeVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 226B84F21D329FBA006D6A0D /* HomeVC.swift */; }; 2231CC6223D06A8300E0944C /* LoadingPlaceholderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2231CC6123D06A8300E0944C /* LoadingPlaceholderView.swift */; };
22856CA51ECF4E3000474209 /* TrendingVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22856CA41ECF4E3000474209 /* TrendingVC.swift */; }; 2284DBFE23CDD0C1000ECB7A /* PlaceholderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2284DBFD23CDD0C1000ECB7A /* PlaceholderView.swift */; };
2286206D1EC83B9300E82CFF /* TabBarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2286206C1EC83B9300E82CFF /* TabBarView.swift */; }; 22A8DB6623D04EAE00B72B9F /* StateManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22A8DB6523D04EAE00B72B9F /* StateManager.swift */; };
2286206F1EC83F8700E82CFF /* SearchView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2286206E1EC83F8700E82CFF /* SearchView.swift */; }; 22A8DB6823D04EE600B72B9F /* FeedManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22A8DB6723D04EE600B72B9F /* FeedManager.swift */; };
228620711EC859DD00E82CFF /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 228620701EC859DD00E82CFF /* SettingsView.swift */; }; 22A8DB6D23D060CF00B72B9F /* KingfisherSwiftUI in Frameworks */ = {isa = PBXBuildFile; productRef = 22A8DB6C23D060CF00B72B9F /* KingfisherSwiftUI */; };
22A2D8AF1ECE0FB5007AA0AF /* MainVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22A2D8AE1ECE0FB5007AA0AF /* MainVC.swift */; }; 22ADB80923C5DF1400E99880 /* VideoItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22ADB80823C5DF1400E99880 /* VideoItemView.swift */; };
22A486851D5391EC00B0BAEC /* NavVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22A486841D5391EC00B0BAEC /* NavVC.swift */; }; 22AF4A5523D0B35500D3951B /* ObjectFeed.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22AF4A5423D0B35500D3951B /* ObjectFeed.swift */; };
22AA44671D1302FC00CA6185 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22AA44661D1302FC00CA6185 /* AppDelegate.swift */; }; 22AF4A5723D0B36600D3951B /* ObjectContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22AF4A5623D0B36600D3951B /* ObjectContainer.swift */; };
22AA446C1D1302FC00CA6185 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 22AA446A1D1302FC00CA6185 /* Main.storyboard */; }; 22AF4A5923D0BB2100D3951B /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22AF4A5823D0BB2100D3951B /* Extensions.swift */; };
22AA446E1D1302FC00CA6185 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 22AA446D1D1302FC00CA6185 /* Assets.xcassets */; }; 22BDC10823C38E1A0050CD8C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22BDC10723C38E1A0050CD8C /* AppDelegate.swift */; };
22B7F9E01D478BF9008C427D /* Video.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22B7F9DF1D478BF9008C427D /* Video.swift */; }; 22BDC10A23C38E1A0050CD8C /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22BDC10923C38E1A0050CD8C /* SceneDelegate.swift */; };
22BD93601D3394A200CD57A5 /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22BD935F1D3394A200CD57A5 /* User.swift */; }; 22BDC10E23C38E1C0050CD8C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 22BDC10D23C38E1C0050CD8C /* Assets.xcassets */; };
22FD9CF41EDEDF200025B02F /* PlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22FD9CF31EDEDF200025B02F /* PlayerView.swift */; }; 22BDC11423C38E1C0050CD8C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 22BDC11223C38E1C0050CD8C /* LaunchScreen.storyboard */; };
22BDC14523C390870050CD8C /* MainView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22BDC14423C390870050CD8C /* MainView.swift */; };
22BDC14B23C396960050CD8C /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22BDC14A23C396960050CD8C /* HomeView.swift */; };
22BDC14D23C396C20050CD8C /* TrendingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22BDC14C23C396C20050CD8C /* TrendingView.swift */; };
22BEEA5523CDB8D500D5D25C /* NavigationHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22BEEA5423CDB8D500D5D25C /* NavigationHeaderView.swift */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
220E5E191D2E7C92001E60A3 /* AccountVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AccountVC.swift; path = ViewControllers/AccountVC.swift; sourceTree = "<group>"; }; 222B4E0823D0A377002A7F26 /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = "<group>"; };
220E5E2B1D2E7D33001E60A3 /* extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = extensions.swift; path = Extensions/extensions.swift; sourceTree = "<group>"; }; 222B4E0A23D0A3EC002A7F26 /* URLBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLBuilder.swift; sourceTree = "<group>"; };
221E55051ECF4F1200EC7650 /* SubscriptionsVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SubscriptionsVC.swift; path = ViewControllers/SubscriptionsVC.swift; sourceTree = "<group>"; }; 2231CC5B23D0616400E0944C /* ObjectVideo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ObjectVideo.swift; sourceTree = "<group>"; };
22449DE61D315E3900F3F39D /* LauchVIew.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LauchVIew.xib; sourceTree = "<group>"; }; 2231CC5C23D0616400E0944C /* ObjectPlaceHolder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ObjectPlaceHolder.swift; sourceTree = "<group>"; };
226B84F21D329FBA006D6A0D /* HomeVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = HomeVC.swift; path = ViewControllers/HomeVC.swift; sourceTree = "<group>"; }; 2231CC6123D06A8300E0944C /* LoadingPlaceholderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadingPlaceholderView.swift; sourceTree = "<group>"; };
22856CA41ECF4E3000474209 /* TrendingVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TrendingVC.swift; path = ViewControllers/TrendingVC.swift; sourceTree = "<group>"; }; 2284DBFD23CDD0C1000ECB7A /* PlaceholderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaceholderView.swift; sourceTree = "<group>"; };
2286206C1EC83B9300E82CFF /* TabBarView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TabBarView.swift; path = "Supporting views/TabBarView.swift"; sourceTree = "<group>"; }; 22A8DB6523D04EAE00B72B9F /* StateManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StateManager.swift; sourceTree = "<group>"; };
2286206E1EC83F8700E82CFF /* SearchView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SearchView.swift; path = "Supporting views/SearchView.swift"; sourceTree = "<group>"; }; 22A8DB6723D04EE600B72B9F /* FeedManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedManager.swift; sourceTree = "<group>"; };
228620701EC859DD00E82CFF /* SettingsView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SettingsView.swift; path = "Supporting views/SettingsView.swift"; sourceTree = "<group>"; }; 22ADB80823C5DF1400E99880 /* VideoItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VideoItemView.swift; sourceTree = "<group>"; };
22A2D8AE1ECE0FB5007AA0AF /* MainVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MainVC.swift; path = ViewControllers/MainVC.swift; sourceTree = "<group>"; }; 22AF4A5423D0B35500D3951B /* ObjectFeed.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ObjectFeed.swift; sourceTree = "<group>"; };
22A486841D5391EC00B0BAEC /* NavVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = NavVC.swift; path = ViewControllers/NavVC.swift; sourceTree = "<group>"; }; 22AF4A5623D0B36600D3951B /* ObjectContainer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ObjectContainer.swift; sourceTree = "<group>"; };
22AA44631D1302FB00CA6185 /* YouTube.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YouTube.app; sourceTree = BUILT_PRODUCTS_DIR; }; 22AF4A5823D0BB2100D3951B /* Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
22AA44661D1302FC00CA6185 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 22BDC10423C38E1A0050CD8C /* YouTube.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YouTube.app; sourceTree = BUILT_PRODUCTS_DIR; };
22AA446B1D1302FC00CA6185 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 22BDC10723C38E1A0050CD8C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
22AA446D1D1302FC00CA6185 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 22BDC10923C38E1A0050CD8C /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
22AA44721D1302FC00CA6185 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 22BDC10D23C38E1C0050CD8C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
22B7F9DF1D478BF9008C427D /* Video.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Video.swift; path = Model/Video.swift; sourceTree = "<group>"; }; 22BDC11323C38E1C0050CD8C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
22BD935F1D3394A200CD57A5 /* User.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = User.swift; path = Model/User.swift; sourceTree = "<group>"; }; 22BDC11523C38E1C0050CD8C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
22FD9CF31EDEDF200025B02F /* PlayerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = PlayerView.swift; path = "Supporting views/PlayerView.swift"; sourceTree = "<group>"; }; 22BDC14423C390870050CD8C /* MainView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainView.swift; sourceTree = "<group>"; };
22BDC14A23C396960050CD8C /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = "<group>"; };
22BDC14C23C396C20050CD8C /* TrendingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TrendingView.swift; sourceTree = "<group>"; };
22BEEA5423CDB8D500D5D25C /* NavigationHeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NavigationHeaderView.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
22AA44601D1302FB00CA6185 /* Frameworks */ = { 22BDC10123C38E1A0050CD8C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
22A8DB6D23D060CF00B72B9F /* KingfisherSwiftUI in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
2229DC541D1EEA2E0058E804 /* ViewControllers */ = { 2231CC5F23D06A5500E0944C /* Main Views */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
22A486841D5391EC00B0BAEC /* NavVC.swift */, 22BDC14423C390870050CD8C /* MainView.swift */,
22A2D8AE1ECE0FB5007AA0AF /* MainVC.swift */, 22BDC14A23C396960050CD8C /* HomeView.swift */,
226B84F21D329FBA006D6A0D /* HomeVC.swift */, 22BDC14C23C396C20050CD8C /* TrendingView.swift */,
22856CA41ECF4E3000474209 /* TrendingVC.swift */,
221E55051ECF4F1200EC7650 /* SubscriptionsVC.swift */,
220E5E191D2E7C92001E60A3 /* AccountVC.swift */,
); );
name = ViewControllers; path = "Main Views";
sourceTree = "<group>"; sourceTree = "<group>";
}; };
2229DC551D1EEA4F0058E804 /* Extensions */ = { 2231CC6023D06A5E00E0944C /* Nested Views */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
220E5E2B1D2E7D33001E60A3 /* extensions.swift */, 22ADB80823C5DF1400E99880 /* VideoItemView.swift */,
2284DBFD23CDD0C1000ECB7A /* PlaceholderView.swift */,
22BEEA5423CDB8D500D5D25C /* NavigationHeaderView.swift */,
2231CC6123D06A8300E0944C /* LoadingPlaceholderView.swift */,
); );
name = Extensions; path = "Nested Views";
sourceTree = "<group>"; sourceTree = "<group>";
}; };
2241B9331D2281F400A8167B /* Model */ = { 22A8DB6E23D0611B00B72B9F /* Models */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
22BD935F1D3394A200CD57A5 /* User.swift */, 2231CC5C23D0616400E0944C /* ObjectPlaceHolder.swift */,
22B7F9DF1D478BF9008C427D /* Video.swift */, 2231CC5B23D0616400E0944C /* ObjectVideo.swift */,
22AF4A5423D0B35500D3951B /* ObjectFeed.swift */,
22AF4A5623D0B36600D3951B /* ObjectContainer.swift */,
); );
name = Model; path = Models;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
2241B9341D22821600A8167B /* Helpers */ = { 22BDC0FB23C38E1A0050CD8C = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
22449DE61D315E3900F3F39D /* LauchVIew.xib */, 22BDC10623C38E1A0050CD8C /* YouTube */,
22AA44721D1302FC00CA6185 /* Info.plist */, 22BDC10523C38E1A0050CD8C /* Products */,
);
name = Helpers;
sourceTree = "<group>";
};
2266A71C1D2E6C1B00B4B9B3 /* supporting views */ = {
isa = PBXGroup;
children = (
22FD9CF31EDEDF200025B02F /* PlayerView.swift */,
2286206C1EC83B9300E82CFF /* TabBarView.swift */,
2286206E1EC83F8700E82CFF /* SearchView.swift */,
228620701EC859DD00E82CFF /* SettingsView.swift */,
);
name = "supporting views";
sourceTree = "<group>";
};
22AA445A1D1302FB00CA6185 = {
isa = PBXGroup;
children = (
22AA44651D1302FB00CA6185 /* YouTube */,
22AA44641D1302FB00CA6185 /* Products */,
); );
sourceTree = "<group>"; sourceTree = "<group>";
}; };
22AA44641D1302FB00CA6185 /* Products */ = { 22BDC10523C38E1A0050CD8C /* Products */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
22AA44631D1302FB00CA6185 /* YouTube.app */, 22BDC10423C38E1A0050CD8C /* YouTube.app */,
); );
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
22AA44651D1302FB00CA6185 /* YouTube */ = { 22BDC10623C38E1A0050CD8C /* YouTube */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
22AA44661D1302FC00CA6185 /* AppDelegate.swift */, 22BDC11B23C38E2D0050CD8C /* Views */,
22AA446A1D1302FC00CA6185 /* Main.storyboard */, 22BDC11E23C38E430050CD8C /* DataManagers */,
22AA446D1D1302FC00CA6185 /* Assets.xcassets */, 22A8DB6E23D0611B00B72B9F /* Models */,
2229DC541D1EEA2E0058E804 /* ViewControllers */, 22BDC11D23C38E3C0050CD8C /* Application */,
2266A71C1D2E6C1B00B4B9B3 /* supporting views */,
2229DC551D1EEA4F0058E804 /* Extensions */,
2241B9331D2281F400A8167B /* Model */,
2241B9341D22821600A8167B /* Helpers */,
); );
path = YouTube; path = YouTube;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
22BDC11B23C38E2D0050CD8C /* Views */ = {
isa = PBXGroup;
children = (
2231CC5F23D06A5500E0944C /* Main Views */,
2231CC6023D06A5E00E0944C /* Nested Views */,
);
path = Views;
sourceTree = "<group>";
};
22BDC11D23C38E3C0050CD8C /* Application */ = {
isa = PBXGroup;
children = (
22BDC10723C38E1A0050CD8C /* AppDelegate.swift */,
22BDC10923C38E1A0050CD8C /* SceneDelegate.swift */,
222B4E0823D0A377002A7F26 /* Constants.swift */,
222B4E0A23D0A3EC002A7F26 /* URLBuilder.swift */,
22AF4A5823D0BB2100D3951B /* Extensions.swift */,
22BDC10D23C38E1C0050CD8C /* Assets.xcassets */,
22BDC11223C38E1C0050CD8C /* LaunchScreen.storyboard */,
22BDC11523C38E1C0050CD8C /* Info.plist */,
);
path = Application;
sourceTree = "<group>";
};
22BDC11E23C38E430050CD8C /* DataManagers */ = {
isa = PBXGroup;
children = (
22A8DB6523D04EAE00B72B9F /* StateManager.swift */,
22A8DB6723D04EE600B72B9F /* FeedManager.swift */,
);
path = DataManagers;
sourceTree = "<group>";
};
/* End PBXGroup section */ /* End PBXGroup section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
22AA44621D1302FB00CA6185 /* YouTube */ = { 22BDC10323C38E1A0050CD8C /* YouTube */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 22AA44751D1302FC00CA6185 /* Build configuration list for PBXNativeTarget "YouTube" */; buildConfigurationList = 22BDC11823C38E1C0050CD8C /* Build configuration list for PBXNativeTarget "YouTube" */;
buildPhases = ( buildPhases = (
22AA445F1D1302FB00CA6185 /* Sources */, 22BDC10023C38E1A0050CD8C /* Sources */,
22AA44601D1302FB00CA6185 /* Frameworks */, 22BDC10123C38E1A0050CD8C /* Frameworks */,
22AA44611D1302FB00CA6185 /* Resources */, 22BDC10223C38E1A0050CD8C /* Resources */,
); );
buildRules = ( buildRules = (
); );
dependencies = ( dependencies = (
); );
name = YouTube; name = YouTube;
packageProductDependencies = (
22A8DB6C23D060CF00B72B9F /* KingfisherSwiftUI */,
);
productName = YouTube; productName = YouTube;
productReference = 22AA44631D1302FB00CA6185 /* YouTube.app */; productReference = 22BDC10423C38E1A0050CD8C /* YouTube.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
/* End PBXNativeTarget section */ /* End PBXNativeTarget section */
/* Begin PBXProject section */ /* Begin PBXProject section */
22AA445B1D1302FB00CA6185 /* Project object */ = { 22BDC0FC23C38E1A0050CD8C /* Project object */ = {
isa = PBXProject; isa = PBXProject;
attributes = { attributes = {
LastSwiftUpdateCheck = 0800; LastSwiftUpdateCheck = 1130;
LastUpgradeCheck = 1020; LastUpgradeCheck = 1130;
ORGANIZATIONNAME = "Haik Aslanyan"; ORGANIZATIONNAME = "Haik Aslanyan";
TargetAttributes = { TargetAttributes = {
22AA44621D1302FB00CA6185 = { 22BDC10323C38E1A0050CD8C = {
CreatedOnToolsVersion = 8.0; CreatedOnToolsVersion = 11.3;
DevelopmentTeam = P6GDVV24N5;
DevelopmentTeamName = "Haik Aslanyan (Personal Team)";
LastSwiftMigration = 0900;
ProvisioningStyle = Automatic;
}; };
}; };
}; };
buildConfigurationList = 22AA445E1D1302FB00CA6185 /* Build configuration list for PBXProject "YouTube" */; buildConfigurationList = 22BDC0FF23C38E1A0050CD8C /* Build configuration list for PBXProject "YouTube" */;
compatibilityVersion = "Xcode 3.2"; compatibilityVersion = "Xcode 9.3";
developmentRegion = en; developmentRegion = en;
hasScannedForEncodings = 0; hasScannedForEncodings = 0;
knownRegions = ( knownRegions = (
en, en,
Base, Base,
); );
mainGroup = 22AA445A1D1302FB00CA6185; mainGroup = 22BDC0FB23C38E1A0050CD8C;
productRefGroup = 22AA44641D1302FB00CA6185 /* Products */; packageReferences = (
22A8DB6B23D060CF00B72B9F /* XCRemoteSwiftPackageReference "Kingfisher" */,
);
productRefGroup = 22BDC10523C38E1A0050CD8C /* Products */;
projectDirPath = ""; projectDirPath = "";
projectRoot = ""; projectRoot = "";
targets = ( targets = (
22AA44621D1302FB00CA6185 /* YouTube */, 22BDC10323C38E1A0050CD8C /* YouTube */,
); );
}; };
/* End PBXProject section */ /* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */ /* Begin PBXResourcesBuildPhase section */
22AA44611D1302FB00CA6185 /* Resources */ = { 22BDC10223C38E1A0050CD8C /* Resources */ = {
isa = PBXResourcesBuildPhase; isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
22AA446E1D1302FC00CA6185 /* Assets.xcassets in Resources */, 22BDC11423C38E1C0050CD8C /* LaunchScreen.storyboard in Resources */,
22449DE71D315E3900F3F39D /* LauchVIew.xib in Resources */, 22BDC10E23C38E1C0050CD8C /* Assets.xcassets in Resources */,
22AA446C1D1302FC00CA6185 /* Main.storyboard in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */
22AA445F1D1302FB00CA6185 /* Sources */ = { 22BDC10023C38E1A0050CD8C /* Sources */ = {
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
22BD93601D3394A200CD57A5 /* User.swift in Sources */, 2284DBFE23CDD0C1000ECB7A /* PlaceholderView.swift in Sources */,
221E55061ECF4F1200EC7650 /* SubscriptionsVC.swift in Sources */, 22AF4A5923D0BB2100D3951B /* Extensions.swift in Sources */,
226B84F31D329FBA006D6A0D /* HomeVC.swift in Sources */, 22BDC14D23C396C20050CD8C /* TrendingView.swift in Sources */,
22FD9CF41EDEDF200025B02F /* PlayerView.swift in Sources */, 2231CC5D23D0616400E0944C /* ObjectVideo.swift in Sources */,
22AA44671D1302FC00CA6185 /* AppDelegate.swift in Sources */, 2231CC5E23D0616400E0944C /* ObjectPlaceHolder.swift in Sources */,
2286206F1EC83F8700E82CFF /* SearchView.swift in Sources */, 2231CC6223D06A8300E0944C /* LoadingPlaceholderView.swift in Sources */,
220E5E2C1D2E7D33001E60A3 /* extensions.swift in Sources */, 222B4E0B23D0A3EC002A7F26 /* URLBuilder.swift in Sources */,
22B7F9E01D478BF9008C427D /* Video.swift in Sources */, 22AF4A5523D0B35500D3951B /* ObjectFeed.swift in Sources */,
228620711EC859DD00E82CFF /* SettingsView.swift in Sources */, 22A8DB6823D04EE600B72B9F /* FeedManager.swift in Sources */,
22A486851D5391EC00B0BAEC /* NavVC.swift in Sources */, 22BDC10823C38E1A0050CD8C /* AppDelegate.swift in Sources */,
22A2D8AF1ECE0FB5007AA0AF /* MainVC.swift in Sources */, 22A8DB6623D04EAE00B72B9F /* StateManager.swift in Sources */,
220E5E1E1D2E7C92001E60A3 /* AccountVC.swift in Sources */, 22BDC14B23C396960050CD8C /* HomeView.swift in Sources */,
2286206D1EC83B9300E82CFF /* TabBarView.swift in Sources */, 22ADB80923C5DF1400E99880 /* VideoItemView.swift in Sources */,
22856CA51ECF4E3000474209 /* TrendingVC.swift in Sources */, 22BDC10A23C38E1A0050CD8C /* SceneDelegate.swift in Sources */,
222B4E0923D0A377002A7F26 /* Constants.swift in Sources */,
22BEEA5523CDB8D500D5D25C /* NavigationHeaderView.swift in Sources */,
22AF4A5723D0B36600D3951B /* ObjectContainer.swift in Sources */,
22BDC14523C390870050CD8C /* MainView.swift in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXSourcesBuildPhase section */ /* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */ /* Begin PBXVariantGroup section */
22AA446A1D1302FC00CA6185 /* Main.storyboard */ = { 22BDC11223C38E1C0050CD8C /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup; isa = PBXVariantGroup;
children = ( children = (
22AA446B1D1302FC00CA6185 /* Base */, 22BDC11323C38E1C0050CD8C /* Base */,
); );
name = Main.storyboard; name = LaunchScreen.storyboard;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
/* End PBXVariantGroup section */ /* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */ /* Begin XCBuildConfiguration section */
22AA44731D1302FC00CA6185 /* Debug */ = { 22BDC11623C38E1C0050CD8C /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++"; CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES; CLANG_WARN_COMMA = YES;
@@ -274,14 +299,14 @@
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf; DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES; ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES; GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
@@ -295,26 +320,27 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0; IPHONEOS_DEPLOYMENT_TARGET = 13.2;
MTL_ENABLE_DEBUG_INFO = YES; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos; SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
}; };
name = Debug; name = Debug;
}; };
22AA44741D1302FC00CA6185 /* Release */ = { 22BDC11723C38E1C0050CD8C /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++"; CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES; CLANG_WARN_COMMA = YES;
@@ -333,14 +359,14 @@
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO; ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES; GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
@@ -348,46 +374,51 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0; IPHONEOS_DEPLOYMENT_TARGET = 13.2;
MTL_ENABLE_DEBUG_INFO = NO; MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos; SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_VERSION = 5.0; SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES; VALIDATE_PRODUCT = YES;
}; };
name = Release; name = Release;
}; };
22AA44761D1302FC00CA6185 /* Debug */ = { 22BDC11923C38E1C0050CD8C /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer: haik@mexonis.com (GZ4E237K2F)"; CODE_SIGN_STYLE = Automatic;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = P6GDVV24N5; ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = YouTube/Info.plist; INFOPLIST_FILE = "$(SRCROOT)/YouTube/Application/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 13.0;
PRODUCT_BUNDLE_IDENTIFIER = com.haik.YouTube; LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.youtube;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1; TARGETED_DEVICE_FAMILY = 1;
}; };
name = Debug; name = Debug;
}; };
22AA44771D1302FC00CA6185 /* Release */ = { 22BDC11A23C38E1C0050CD8C /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer: haik@mexonis.com (GZ4E237K2F)"; CODE_SIGN_STYLE = Automatic;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = P6GDVV24N5; ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = YouTube/Info.plist; INFOPLIST_FILE = "$(SRCROOT)/YouTube/Application/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 13.0;
PRODUCT_BUNDLE_IDENTIFIER = com.haik.YouTube; LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.youtube;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1; TARGETED_DEVICE_FAMILY = 1;
}; };
@@ -396,25 +427,44 @@
/* End XCBuildConfiguration section */ /* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */ /* Begin XCConfigurationList section */
22AA445E1D1302FB00CA6185 /* Build configuration list for PBXProject "YouTube" */ = { 22BDC0FF23C38E1A0050CD8C /* Build configuration list for PBXProject "YouTube" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
22AA44731D1302FC00CA6185 /* Debug */, 22BDC11623C38E1C0050CD8C /* Debug */,
22AA44741D1302FC00CA6185 /* Release */, 22BDC11723C38E1C0050CD8C /* Release */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
22AA44751D1302FC00CA6185 /* Build configuration list for PBXNativeTarget "YouTube" */ = { 22BDC11823C38E1C0050CD8C /* Build configuration list for PBXNativeTarget "YouTube" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
22AA44761D1302FC00CA6185 /* Debug */, 22BDC11923C38E1C0050CD8C /* Debug */,
22AA44771D1302FC00CA6185 /* Release */, 22BDC11A23C38E1C0050CD8C /* Release */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
/* End XCConfigurationList section */ /* End XCConfigurationList section */
/* Begin XCRemoteSwiftPackageReference section */
22A8DB6B23D060CF00B72B9F /* XCRemoteSwiftPackageReference "Kingfisher" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/onevcat/Kingfisher.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 5.12.0;
};
};
/* End XCRemoteSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */
22A8DB6C23D060CF00B72B9F /* KingfisherSwiftUI */ = {
isa = XCSwiftPackageProductDependency;
package = 22A8DB6B23D060CF00B72B9F /* XCRemoteSwiftPackageReference "Kingfisher" */;
productName = KingfisherSwiftUI;
};
/* End XCSwiftPackageProductDependency section */
}; };
rootObject = 22AA445B1D1302FB00CA6185 /* Project object */; rootObject = 22BDC0FC23C38E1A0050CD8C /* Project object */;
} }
@@ -2,6 +2,6 @@
<Workspace <Workspace
version = "1.0"> version = "1.0">
<FileRef <FileRef
location = "self:YouTube.xcodeproj"> location = "self:">
</FileRef> </FileRef>
</Workspace> </Workspace>
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
</Bucket>
@@ -1,98 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0830"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "22AA44621D1302FB00CA6185"
BuildableName = "YouTube.app"
BlueprintName = "YouTube"
ReferencedContainer = "container:YouTube.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "22AA44621D1302FB00CA6185"
BuildableName = "YouTube.app"
BlueprintName = "YouTube"
ReferencedContainer = "container:YouTube.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "22AA44621D1302FB00CA6185"
BuildableName = "YouTube.app"
BlueprintName = "YouTube"
ReferencedContainer = "container:YouTube.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<EnvironmentVariables>
<EnvironmentVariable
key = "OS_ACTIVITY_MODE"
value = "disable"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "22AA44621D1302FB00CA6185"
BuildableName = "YouTube.app"
BlueprintName = "YouTube"
ReferencedContainer = "container:YouTube.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>YouTube.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>22AA44621D1302FB00CA6185</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
@@ -1,6 +1,6 @@
// MIT License // MIT License
// Copyright (c) 2017 Haik Aslanyan // Copyright (c) 2020 Haik Aslanyan
// Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal // of this software and associated documentation files (the "Software"), to deal
@@ -25,9 +25,8 @@ import UIKit
@UIApplicationMain @UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate { class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
return true
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { }
return true
}
} }
@@ -0,0 +1,116 @@
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-Notification@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-Notification@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-Small@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-Small@3x.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-Small-40@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-Small-40@3x.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-60@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-Notification.png",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-Notification@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-Small.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-Small@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-Small-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-Small-40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-83.5@2x.png",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "icon.png",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

@@ -6,11 +6,12 @@
}, },
{ {
"idiom" : "universal", "idiom" : "universal",
"filename" : "hqdefault-3.jpg", "filename" : "logo.png",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"idiom" : "universal", "idiom" : "universal",
"filename" : "logo-1.png",
"scale" : "3x" "scale" : "3x"
} }
], ],
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>
+28
View File
@@ -0,0 +1,28 @@
// MIT License
// Copyright (c) 2020 Haik Aslanyan
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
import Foundation
struct Constants {
static let APIKey = "AIzaSyCuNhZc5VgIghE_QcsbJuAG8OtpDqdgy7M"
static let APIEntryPoint = "www.googleapis.com/youtube/v3/videos/"
}
+34
View File
@@ -0,0 +1,34 @@
// MIT License
// Copyright (c) 2020 Haik Aslanyan
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
import Foundation
extension DateFormatter {
static let iso8601Full: DateFormatter = {
let formatter = DateFormatter()
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
formatter.calendar = Calendar(identifier: .iso8601)
formatter.timeZone = TimeZone(secondsFromGMT: 0)
formatter.locale = Locale(identifier: "en_US_POSIX")
return formatter
}()
}
@@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>en</string> <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
@@ -13,35 +13,48 @@
<key>CFBundleName</key> <key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string> <string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1</string> <string>1</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
</dict>
</array>
</dict>
</dict>
<key>UILaunchStoryboardName</key> <key>UILaunchStoryboardName</key>
<string>LauchVIew</string> <string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key> <key>UIRequiredDeviceCapabilities</key>
<array> <array>
<string>armv7</string> <string>armv7</string>
</array> </array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UISupportedInterfaceOrientations</key> <key>UISupportedInterfaceOrientations</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortrait</string>
</array> </array>
<key>NSAppTransportSecurity</key> <key>UISupportedInterfaceOrientations~ipad</key>
<dict> <array>
<key>NSAllowsArbitraryLoads</key> <string>UIInterfaceOrientationPortrait</string>
<true/> <string>UIInterfaceOrientationPortraitUpsideDown</string>
</dict> <string>UIInterfaceOrientationLandscapeLeft</string>
<key>UIViewControllerBasedStatusBarAppearance</key> <string>UIInterfaceOrientationLandscapeRight</string>
<false/> </array>
<key>UIUserInterfaceStyle</key>
<string>Dark</string>
</dict> </dict>
</plist> </plist>
+48
View File
@@ -0,0 +1,48 @@
// MIT License
// Copyright (c) 2020 Haik Aslanyan
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
import UIKit
import SwiftUI
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
UITableView.appearance().separatorStyle = .none
UITableView.appearance().backgroundColor = .clear
UITableView.appearance().separatorColor = .clear
let contentView = MainView()
let stateManager = StateManager()
if let windowScene = scene as? UIWindowScene {
let window = UIWindow(windowScene: windowScene)
window.rootViewController = UIHostingController(rootView: contentView.environmentObject(stateManager))
self.window = window
window.makeKeyAndVisible()
}
}
}
+40
View File
@@ -0,0 +1,40 @@
// MIT License
// Copyright (c) 2020 Haik Aslanyan
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
import Foundation
struct URLBuilder {
static func url(parameters: [String: Any]) -> URL {
var component = URLComponents()
component.scheme = "https"
component.path = Constants.APIEntryPoint
var queries = [URLQueryItem]()
parameters.forEach { (key, value) in
let query = URLQueryItem(name: key, value: "\(value)")
queries.append(query)
}
queries.append(URLQueryItem(name: "key", value: Constants.APIKey))
component.queryItems = queries
return component.url!
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

@@ -1,54 +0,0 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon58x58-1.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon87x87.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon80x80.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon120x120-1.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon120x120.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon180x180.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "hqdefault-6.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "yt_blender.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "photo-3.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "History.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "photo-2.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "photo.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "hqdefault.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "My Videos.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Nerdwriter1.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "hqdefault-4.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Notifications.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "hqdefault.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "photo.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "sendFeedback.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "swithAccount.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "hqdefault-5.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "termsPrivacyPolicy.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "channel9.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Watch Later.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "hqdefault-1.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "What Does Jared Kushner Believe?.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "hqdefault-2.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "account@2x-1.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "account@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "banner.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "cancel.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "channel0.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

-21
View File
@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "channel1.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

@@ -1,21 +0,0 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "channel10.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Some files were not shown because too many files have changed in this diff Show More