├── readme.gif
├── CurrentlyPlayingView.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcuserdata
│ │ └── azizjaved.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
├── xcuserdata
│ └── azizjaved.xcuserdatad
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── CurrentlyPlayingView.xcscheme
└── project.pbxproj
├── CurrentlyPlayingView
├── ViewController.swift
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Info.plist
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── TabBarController.swift
├── AppDelegate.swift
├── CurrentlyPlayingView.swift
└── CurrentlyPlayingView.xib
└── README.md
/readme.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/azizj1/iOSCurrentlyPlayingView/HEAD/readme.gif
--------------------------------------------------------------------------------
/CurrentlyPlayingView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView.xcodeproj/project.xcworkspace/xcuserdata/azizjaved.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/azizj1/iOSCurrentlyPlayingView/HEAD/CurrentlyPlayingView.xcodeproj/project.xcworkspace/xcuserdata/azizjaved.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/CurrentlyPlayingView/ViewController.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 |
3 | class ViewController: UIViewController {
4 |
5 | @IBAction func toggleCurrentlyPlayingVisibility() {
6 | if let tabBarController = tabBarController as? TabBarViewController {
7 | if tabBarController.currentlyPlaying.isCurrentlyPlayingHidden {
8 | tabBarController.showCurrentlyPlaying()
9 | }
10 | else {
11 | tabBarController.hideCurrentlyPlaying()
12 | }
13 | }
14 | }
15 | }
16 |
17 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView.xcodeproj/xcuserdata/azizjaved.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | CurrentlyPlayingView.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 793069A61E5EA56C001AF3DC
16 |
17 | primary
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Currently-playing View
2 |
3 | This repo demonstrates how one could add a custom view on top of UITabBar and toggle its visibility, similar to how music apps like Spotify and Apple Music have a "Currently Playing"
4 |
5 | 
6 |
7 | In essence, it increases the size of the original UITabBar to accomodate a custom view (and to shrink the frame of the viewcontrollers above), and then adds a duplicate UITabBar + custom view right on top of it.
8 |
9 | When it's time to hide, the custom view has its alpha set to 0, size of the original UITabBar is set to original size (49), and layouts are updated.
10 |
11 | Other designs that were taken into consideration can be found [at this Stack Overflow post](http://stackoverflow.com/questions/42384470/view-on-top-of-uitabbar)
12 |
13 | ## Gotchas
14 | Make sure the original TabBar (one in Main.storyboard and under UITabBarController) has its Translucent unchecked.
15 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/CurrentlyPlayingView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView/TabBarController.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 |
3 | class TabBarViewController: UITabBarController {
4 |
5 | var currentlyPlaying: CurrentlyPlayingView!
6 | static let maxHeight = 100
7 | static let minHeight = 49
8 | static var tabbarHeight = maxHeight
9 |
10 | override func viewDidLoad() {
11 | super.viewDidLoad()
12 |
13 | currentlyPlaying = CurrentlyPlayingView(copyFrom: tabBar)
14 | currentlyPlaying.tabBar.delegate = self
15 |
16 | view.addSubview(currentlyPlaying)
17 | tabBar.isHidden = true
18 | }
19 | override func viewWillAppear(_ animated: Bool) {
20 | super.viewWillAppear(animated)
21 |
22 | currentlyPlaying.tabBar.items = tabBar.items
23 | currentlyPlaying.tabBar.selectedItem = tabBar.selectedItem
24 | }
25 | func hideCurrentlyPlaying() {
26 | TabBarViewController.tabbarHeight = TabBarViewController.minHeight
27 | UIView.animate(withDuration: 0.5, animations: {
28 | self.currentlyPlaying.hideCustomView()
29 | self.updateSelectedViewControllerLayout()
30 | })
31 | }
32 | func showCurrentlyPlaying() {
33 | TabBarViewController.tabbarHeight = TabBarViewController.maxHeight
34 | UIView.animate(withDuration: 0.5, animations: {
35 | self.currentlyPlaying.showCustomView()
36 | self.updateSelectedViewControllerLayout()
37 | })
38 | }
39 | func updateSelectedViewControllerLayout() {
40 | tabBar.sizeToFit()
41 | tabBar.sizeToFit()
42 | currentlyPlaying.sizeToFit()
43 | view.setNeedsLayout()
44 | view.layoutIfNeeded()
45 | viewControllers?[self.selectedIndex].view.setNeedsLayout()
46 | viewControllers?[self.selectedIndex].view.layoutIfNeeded()
47 | }
48 | }
49 |
50 | extension UITabBar {
51 |
52 | open override func sizeThatFits(_ size: CGSize) -> CGSize {
53 | var sizeThatFits = super.sizeThatFits(size)
54 | sizeThatFits.height = CGFloat(TabBarViewController.tabbarHeight)
55 | return sizeThatFits
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // CurrentlyPlayingView
4 | //
5 | // Created by Aziz Javed on 2/22/17.
6 | // Copyright © 2017 Ilim LLC. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25 | }
26 |
27 | func applicationDidEnterBackground(_ application: UIApplication) {
28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(_ application: UIApplication) {
33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34 | }
35 |
36 | func applicationDidBecomeActive(_ application: UIApplication) {
37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38 | }
39 |
40 | func applicationWillTerminate(_ application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView/CurrentlyPlayingView.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 |
3 | @IBDesignable
4 | class CurrentlyPlayingView: UIView {
5 |
6 | var view: UIView!
7 | var isCurrentlyPlayingHidden = false
8 | @IBOutlet weak var tabBar: UITabBar!
9 | @IBOutlet weak var customView: UIView!
10 |
11 | func hideCustomView() {
12 | isCurrentlyPlayingHidden = true
13 | customView.alpha = 0
14 | let newY = frame.origin.y
15 | + CGFloat(TabBarViewController.maxHeight)
16 | - CGFloat(TabBarViewController.minHeight)
17 | frame = CGRect(x: 0, y: newY, width: frame.width, height: CGFloat(TabBarViewController.maxHeight))
18 | }
19 | func showCustomView() {
20 | isCurrentlyPlayingHidden = false
21 | customView.alpha = 1
22 | let newY = frame.origin.y
23 | - CGFloat(TabBarViewController.maxHeight)
24 | + CGFloat(TabBarViewController.minHeight)
25 | frame = CGRect(x: 0, y: newY, width: frame.width, height: CGFloat(TabBarViewController.maxHeight))
26 | }
27 | override func sizeThatFits(_ size: CGSize) -> CGSize {
28 | var sizeThatFits = tabBar.sizeThatFits(size)
29 | sizeThatFits.height = CGFloat(isCurrentlyPlayingHidden ? TabBarViewController.minHeight : TabBarViewController.maxHeight)
30 | return sizeThatFits
31 | }
32 | convenience init(copyFrom tabBar: UITabBar) {
33 | self.init(frame: tabBar.frame)
34 | self.tabBar.backgroundColor = tabBar.backgroundColor
35 | self.tabBar.tintColor = tabBar.tintColor
36 | self.tabBar.unselectedItemTintColor = tabBar.unselectedItemTintColor
37 | self.tabBar.isTranslucent = tabBar.isTranslucent
38 | self.tabBar.barStyle = tabBar.barStyle
39 | self.tabBar.barTintColor = tabBar.barTintColor
40 | }
41 | override init(frame: CGRect) {
42 | super.init(frame: frame)
43 | xibSetup()
44 | }
45 | required init?(coder aDecoder: NSCoder) {
46 | super.init(coder: aDecoder)
47 | xibSetup()
48 | }
49 | func xibSetup() {
50 | view = loadViewFromNib()
51 | view.frame = bounds
52 | view.autoresizingMask = [.flexibleWidth, .flexibleHeight]
53 |
54 | addSubview(view)
55 | }
56 | func loadViewFromNib() -> UIView {
57 | let bundle = Bundle(for: type(of: self))
58 | let nib = UINib(nibName: "\(type(of: self))", bundle: bundle)
59 | let view = nib.instantiate(withOwner: self, options: nil)[0] as! UIView
60 |
61 | return view
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView.xcodeproj/xcuserdata/azizjaved.xcuserdatad/xcschemes/CurrentlyPlayingView.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView/CurrentlyPlayingView.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
30 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
--------------------------------------------------------------------------------
/CurrentlyPlayingView.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 793069AB1E5EA56C001AF3DC /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 793069AA1E5EA56C001AF3DC /* AppDelegate.swift */; };
11 | 793069AD1E5EA56C001AF3DC /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 793069AC1E5EA56C001AF3DC /* ViewController.swift */; };
12 | 793069B01E5EA56C001AF3DC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 793069AE1E5EA56C001AF3DC /* Main.storyboard */; };
13 | 793069B21E5EA56C001AF3DC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 793069B11E5EA56C001AF3DC /* Assets.xcassets */; };
14 | 793069B51E5EA56C001AF3DC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 793069B31E5EA56C001AF3DC /* LaunchScreen.storyboard */; };
15 | 79F8D60F1E5F13D6007891D3 /* TabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79F8D60E1E5F13D6007891D3 /* TabBarController.swift */; };
16 | 79F8D6111E5F143C007891D3 /* CurrentlyPlayingView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 79F8D6101E5F143C007891D3 /* CurrentlyPlayingView.xib */; };
17 | 79F8D6131E5F1578007891D3 /* CurrentlyPlayingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79F8D6121E5F1578007891D3 /* CurrentlyPlayingView.swift */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXFileReference section */
21 | 793069A71E5EA56C001AF3DC /* CurrentlyPlayingView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CurrentlyPlayingView.app; sourceTree = BUILT_PRODUCTS_DIR; };
22 | 793069AA1E5EA56C001AF3DC /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
23 | 793069AC1E5EA56C001AF3DC /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
24 | 793069AF1E5EA56C001AF3DC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
25 | 793069B11E5EA56C001AF3DC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
26 | 793069B41E5EA56C001AF3DC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
27 | 793069B61E5EA56C001AF3DC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
28 | 79F8D60E1E5F13D6007891D3 /* TabBarController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TabBarController.swift; sourceTree = ""; };
29 | 79F8D6101E5F143C007891D3 /* CurrentlyPlayingView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = CurrentlyPlayingView.xib; sourceTree = ""; };
30 | 79F8D6121E5F1578007891D3 /* CurrentlyPlayingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CurrentlyPlayingView.swift; sourceTree = ""; };
31 | /* End PBXFileReference section */
32 |
33 | /* Begin PBXFrameworksBuildPhase section */
34 | 793069A41E5EA56C001AF3DC /* Frameworks */ = {
35 | isa = PBXFrameworksBuildPhase;
36 | buildActionMask = 2147483647;
37 | files = (
38 | );
39 | runOnlyForDeploymentPostprocessing = 0;
40 | };
41 | /* End PBXFrameworksBuildPhase section */
42 |
43 | /* Begin PBXGroup section */
44 | 7930699E1E5EA56C001AF3DC = {
45 | isa = PBXGroup;
46 | children = (
47 | 793069A91E5EA56C001AF3DC /* CurrentlyPlayingView */,
48 | 793069A81E5EA56C001AF3DC /* Products */,
49 | );
50 | sourceTree = "";
51 | };
52 | 793069A81E5EA56C001AF3DC /* Products */ = {
53 | isa = PBXGroup;
54 | children = (
55 | 793069A71E5EA56C001AF3DC /* CurrentlyPlayingView.app */,
56 | );
57 | name = Products;
58 | sourceTree = "";
59 | };
60 | 793069A91E5EA56C001AF3DC /* CurrentlyPlayingView */ = {
61 | isa = PBXGroup;
62 | children = (
63 | 793069AA1E5EA56C001AF3DC /* AppDelegate.swift */,
64 | 793069AC1E5EA56C001AF3DC /* ViewController.swift */,
65 | 793069AE1E5EA56C001AF3DC /* Main.storyboard */,
66 | 793069B11E5EA56C001AF3DC /* Assets.xcassets */,
67 | 793069B31E5EA56C001AF3DC /* LaunchScreen.storyboard */,
68 | 793069B61E5EA56C001AF3DC /* Info.plist */,
69 | 79F8D60E1E5F13D6007891D3 /* TabBarController.swift */,
70 | 79F8D6101E5F143C007891D3 /* CurrentlyPlayingView.xib */,
71 | 79F8D6121E5F1578007891D3 /* CurrentlyPlayingView.swift */,
72 | );
73 | path = CurrentlyPlayingView;
74 | sourceTree = "";
75 | };
76 | /* End PBXGroup section */
77 |
78 | /* Begin PBXNativeTarget section */
79 | 793069A61E5EA56C001AF3DC /* CurrentlyPlayingView */ = {
80 | isa = PBXNativeTarget;
81 | buildConfigurationList = 793069B91E5EA56C001AF3DC /* Build configuration list for PBXNativeTarget "CurrentlyPlayingView" */;
82 | buildPhases = (
83 | 793069A31E5EA56C001AF3DC /* Sources */,
84 | 793069A41E5EA56C001AF3DC /* Frameworks */,
85 | 793069A51E5EA56C001AF3DC /* Resources */,
86 | );
87 | buildRules = (
88 | );
89 | dependencies = (
90 | );
91 | name = CurrentlyPlayingView;
92 | productName = CurrentlyPlayingView;
93 | productReference = 793069A71E5EA56C001AF3DC /* CurrentlyPlayingView.app */;
94 | productType = "com.apple.product-type.application";
95 | };
96 | /* End PBXNativeTarget section */
97 |
98 | /* Begin PBXProject section */
99 | 7930699F1E5EA56C001AF3DC /* Project object */ = {
100 | isa = PBXProject;
101 | attributes = {
102 | LastSwiftUpdateCheck = 0820;
103 | LastUpgradeCheck = 0820;
104 | ORGANIZATIONNAME = "Ilim LLC";
105 | TargetAttributes = {
106 | 793069A61E5EA56C001AF3DC = {
107 | CreatedOnToolsVersion = 8.2.1;
108 | ProvisioningStyle = Automatic;
109 | };
110 | };
111 | };
112 | buildConfigurationList = 793069A21E5EA56C001AF3DC /* Build configuration list for PBXProject "CurrentlyPlayingView" */;
113 | compatibilityVersion = "Xcode 3.2";
114 | developmentRegion = English;
115 | hasScannedForEncodings = 0;
116 | knownRegions = (
117 | en,
118 | Base,
119 | );
120 | mainGroup = 7930699E1E5EA56C001AF3DC;
121 | productRefGroup = 793069A81E5EA56C001AF3DC /* Products */;
122 | projectDirPath = "";
123 | projectRoot = "";
124 | targets = (
125 | 793069A61E5EA56C001AF3DC /* CurrentlyPlayingView */,
126 | );
127 | };
128 | /* End PBXProject section */
129 |
130 | /* Begin PBXResourcesBuildPhase section */
131 | 793069A51E5EA56C001AF3DC /* Resources */ = {
132 | isa = PBXResourcesBuildPhase;
133 | buildActionMask = 2147483647;
134 | files = (
135 | 79F8D6111E5F143C007891D3 /* CurrentlyPlayingView.xib in Resources */,
136 | 793069B51E5EA56C001AF3DC /* LaunchScreen.storyboard in Resources */,
137 | 793069B21E5EA56C001AF3DC /* Assets.xcassets in Resources */,
138 | 793069B01E5EA56C001AF3DC /* Main.storyboard in Resources */,
139 | );
140 | runOnlyForDeploymentPostprocessing = 0;
141 | };
142 | /* End PBXResourcesBuildPhase section */
143 |
144 | /* Begin PBXSourcesBuildPhase section */
145 | 793069A31E5EA56C001AF3DC /* Sources */ = {
146 | isa = PBXSourcesBuildPhase;
147 | buildActionMask = 2147483647;
148 | files = (
149 | 79F8D6131E5F1578007891D3 /* CurrentlyPlayingView.swift in Sources */,
150 | 79F8D60F1E5F13D6007891D3 /* TabBarController.swift in Sources */,
151 | 793069AD1E5EA56C001AF3DC /* ViewController.swift in Sources */,
152 | 793069AB1E5EA56C001AF3DC /* AppDelegate.swift in Sources */,
153 | );
154 | runOnlyForDeploymentPostprocessing = 0;
155 | };
156 | /* End PBXSourcesBuildPhase section */
157 |
158 | /* Begin PBXVariantGroup section */
159 | 793069AE1E5EA56C001AF3DC /* Main.storyboard */ = {
160 | isa = PBXVariantGroup;
161 | children = (
162 | 793069AF1E5EA56C001AF3DC /* Base */,
163 | );
164 | name = Main.storyboard;
165 | sourceTree = "";
166 | };
167 | 793069B31E5EA56C001AF3DC /* LaunchScreen.storyboard */ = {
168 | isa = PBXVariantGroup;
169 | children = (
170 | 793069B41E5EA56C001AF3DC /* Base */,
171 | );
172 | name = LaunchScreen.storyboard;
173 | sourceTree = "";
174 | };
175 | /* End PBXVariantGroup section */
176 |
177 | /* Begin XCBuildConfiguration section */
178 | 793069B71E5EA56C001AF3DC /* Debug */ = {
179 | isa = XCBuildConfiguration;
180 | buildSettings = {
181 | ALWAYS_SEARCH_USER_PATHS = NO;
182 | CLANG_ANALYZER_NONNULL = YES;
183 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
184 | CLANG_CXX_LIBRARY = "libc++";
185 | CLANG_ENABLE_MODULES = YES;
186 | CLANG_ENABLE_OBJC_ARC = YES;
187 | CLANG_WARN_BOOL_CONVERSION = YES;
188 | CLANG_WARN_CONSTANT_CONVERSION = YES;
189 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
190 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
191 | CLANG_WARN_EMPTY_BODY = YES;
192 | CLANG_WARN_ENUM_CONVERSION = YES;
193 | CLANG_WARN_INFINITE_RECURSION = YES;
194 | CLANG_WARN_INT_CONVERSION = YES;
195 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
196 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
197 | CLANG_WARN_UNREACHABLE_CODE = YES;
198 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
199 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
200 | COPY_PHASE_STRIP = NO;
201 | DEBUG_INFORMATION_FORMAT = dwarf;
202 | ENABLE_STRICT_OBJC_MSGSEND = YES;
203 | ENABLE_TESTABILITY = YES;
204 | GCC_C_LANGUAGE_STANDARD = gnu99;
205 | GCC_DYNAMIC_NO_PIC = NO;
206 | GCC_NO_COMMON_BLOCKS = YES;
207 | GCC_OPTIMIZATION_LEVEL = 0;
208 | GCC_PREPROCESSOR_DEFINITIONS = (
209 | "DEBUG=1",
210 | "$(inherited)",
211 | );
212 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
213 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
214 | GCC_WARN_UNDECLARED_SELECTOR = YES;
215 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
216 | GCC_WARN_UNUSED_FUNCTION = YES;
217 | GCC_WARN_UNUSED_VARIABLE = YES;
218 | IPHONEOS_DEPLOYMENT_TARGET = 10.2;
219 | MTL_ENABLE_DEBUG_INFO = YES;
220 | ONLY_ACTIVE_ARCH = YES;
221 | SDKROOT = iphoneos;
222 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
223 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
224 | TARGETED_DEVICE_FAMILY = "1,2";
225 | };
226 | name = Debug;
227 | };
228 | 793069B81E5EA56C001AF3DC /* Release */ = {
229 | isa = XCBuildConfiguration;
230 | buildSettings = {
231 | ALWAYS_SEARCH_USER_PATHS = NO;
232 | CLANG_ANALYZER_NONNULL = YES;
233 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
234 | CLANG_CXX_LIBRARY = "libc++";
235 | CLANG_ENABLE_MODULES = YES;
236 | CLANG_ENABLE_OBJC_ARC = YES;
237 | CLANG_WARN_BOOL_CONVERSION = YES;
238 | CLANG_WARN_CONSTANT_CONVERSION = YES;
239 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
240 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
241 | CLANG_WARN_EMPTY_BODY = YES;
242 | CLANG_WARN_ENUM_CONVERSION = YES;
243 | CLANG_WARN_INFINITE_RECURSION = YES;
244 | CLANG_WARN_INT_CONVERSION = YES;
245 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
246 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
247 | CLANG_WARN_UNREACHABLE_CODE = YES;
248 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
249 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
250 | COPY_PHASE_STRIP = NO;
251 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
252 | ENABLE_NS_ASSERTIONS = NO;
253 | ENABLE_STRICT_OBJC_MSGSEND = YES;
254 | GCC_C_LANGUAGE_STANDARD = gnu99;
255 | GCC_NO_COMMON_BLOCKS = YES;
256 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
257 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
258 | GCC_WARN_UNDECLARED_SELECTOR = YES;
259 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
260 | GCC_WARN_UNUSED_FUNCTION = YES;
261 | GCC_WARN_UNUSED_VARIABLE = YES;
262 | IPHONEOS_DEPLOYMENT_TARGET = 10.2;
263 | MTL_ENABLE_DEBUG_INFO = NO;
264 | SDKROOT = iphoneos;
265 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
266 | TARGETED_DEVICE_FAMILY = "1,2";
267 | VALIDATE_PRODUCT = YES;
268 | };
269 | name = Release;
270 | };
271 | 793069BA1E5EA56C001AF3DC /* Debug */ = {
272 | isa = XCBuildConfiguration;
273 | buildSettings = {
274 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
275 | INFOPLIST_FILE = CurrentlyPlayingView/Info.plist;
276 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
277 | PRODUCT_BUNDLE_IDENTIFIER = com.ilim.CurrentlyPlayingView;
278 | PRODUCT_NAME = "$(TARGET_NAME)";
279 | SWIFT_VERSION = 3.0;
280 | };
281 | name = Debug;
282 | };
283 | 793069BB1E5EA56C001AF3DC /* Release */ = {
284 | isa = XCBuildConfiguration;
285 | buildSettings = {
286 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
287 | INFOPLIST_FILE = CurrentlyPlayingView/Info.plist;
288 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
289 | PRODUCT_BUNDLE_IDENTIFIER = com.ilim.CurrentlyPlayingView;
290 | PRODUCT_NAME = "$(TARGET_NAME)";
291 | SWIFT_VERSION = 3.0;
292 | };
293 | name = Release;
294 | };
295 | /* End XCBuildConfiguration section */
296 |
297 | /* Begin XCConfigurationList section */
298 | 793069A21E5EA56C001AF3DC /* Build configuration list for PBXProject "CurrentlyPlayingView" */ = {
299 | isa = XCConfigurationList;
300 | buildConfigurations = (
301 | 793069B71E5EA56C001AF3DC /* Debug */,
302 | 793069B81E5EA56C001AF3DC /* Release */,
303 | );
304 | defaultConfigurationIsVisible = 0;
305 | defaultConfigurationName = Release;
306 | };
307 | 793069B91E5EA56C001AF3DC /* Build configuration list for PBXNativeTarget "CurrentlyPlayingView" */ = {
308 | isa = XCConfigurationList;
309 | buildConfigurations = (
310 | 793069BA1E5EA56C001AF3DC /* Debug */,
311 | 793069BB1E5EA56C001AF3DC /* Release */,
312 | );
313 | defaultConfigurationIsVisible = 0;
314 | defaultConfigurationName = Release;
315 | };
316 | /* End XCConfigurationList section */
317 | };
318 | rootObject = 7930699F1E5EA56C001AF3DC /* Project object */;
319 | }
320 |
--------------------------------------------------------------------------------