diff --git a/Demo/ScrollingNavbarDemo.xcodeproj/project.pbxproj b/Demo/ScrollingNavbarDemo.xcodeproj/project.pbxproj index 388dbea3..15d4d1ee 100644 --- a/Demo/ScrollingNavbarDemo.xcodeproj/project.pbxproj +++ b/Demo/ScrollingNavbarDemo.xcodeproj/project.pbxproj @@ -212,7 +212,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0640; + LastUpgradeCheck = 0700; ORGANIZATIONNAME = "Fancy Pixel"; TargetAttributes = { 652BE2CD1B62805C00DE75C7 = { @@ -428,6 +428,7 @@ COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -495,6 +496,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = ScrollingNavbarDemo/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "it.fancypixel.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -506,6 +508,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = ScrollingNavbarDemo/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "it.fancypixel.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; @@ -525,6 +528,7 @@ ); INFOPLIST_FILE = ScrollingNavbarDemoTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "it.fancypixel.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ScrollingNavbarDemo.app/ScrollingNavbarDemo"; }; @@ -541,6 +545,7 @@ ); INFOPLIST_FILE = ScrollingNavbarDemoTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "it.fancypixel.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ScrollingNavbarDemo.app/ScrollingNavbarDemo"; }; diff --git a/Demo/ScrollingNavbarDemo.xcodeproj/xcshareddata/xcschemes/ScrollingNavbarDemo.xcscheme b/Demo/ScrollingNavbarDemo.xcodeproj/xcshareddata/xcschemes/ScrollingNavbarDemo.xcscheme index e4282bcc..d2ab058e 100644 --- a/Demo/ScrollingNavbarDemo.xcodeproj/xcshareddata/xcschemes/ScrollingNavbarDemo.xcscheme +++ b/Demo/ScrollingNavbarDemo.xcodeproj/xcshareddata/xcschemes/ScrollingNavbarDemo.xcscheme @@ -1,6 +1,6 @@ + shouldUseLaunchSchemeArgsEnv = "YES"> @@ -62,15 +62,18 @@ ReferencedContainer = "container:ScrollingNavbarDemo.xcodeproj"> + + @@ -86,10 +89,10 @@ diff --git a/Demo/ScrollingNavbarDemo/Base.lproj/LaunchScreen.xib b/Demo/ScrollingNavbarDemo/Base.lproj/LaunchScreen.xib index 255e67b2..a1db9842 100644 --- a/Demo/ScrollingNavbarDemo/Base.lproj/LaunchScreen.xib +++ b/Demo/ScrollingNavbarDemo/Base.lproj/LaunchScreen.xib @@ -1,7 +1,8 @@ - + - + + @@ -10,16 +11,19 @@ - + diff --git a/Demo/ScrollingNavbarDemo/Base.lproj/Main.storyboard b/Demo/ScrollingNavbarDemo/Base.lproj/Main.storyboard index 79f6a270..2cea9aa7 100644 --- a/Demo/ScrollingNavbarDemo/Base.lproj/Main.storyboard +++ b/Demo/ScrollingNavbarDemo/Base.lproj/Main.storyboard @@ -1,7 +1,8 @@ - + - + + @@ -19,8 +20,10 @@ + + @@ -29,7 +32,9 @@ - + + + @@ -46,6 +51,7 @@ + @@ -63,23 +69,28 @@ + + + + @@ -87,23 +98,28 @@ + + + + @@ -111,23 +127,28 @@ + + + + @@ -135,6 +156,7 @@ + @@ -167,22 +189,29 @@ + + + + + @@ -192,6 +221,7 @@ + @@ -223,12 +253,14 @@ + + @@ -247,9 +279,4 @@ - - - - - diff --git a/Demo/ScrollingNavbarDemo/Info.plist b/Demo/ScrollingNavbarDemo/Info.plist index d042d2d8..a5eda5e7 100644 --- a/Demo/ScrollingNavbarDemo/Info.plist +++ b/Demo/ScrollingNavbarDemo/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - it.fancypixel.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/Demo/ScrollingNavbarDemo/ViewControllers/TableViewController.swift b/Demo/ScrollingNavbarDemo/ViewControllers/TableViewController.swift index 354fe860..804fad08 100644 --- a/Demo/ScrollingNavbarDemo/ViewControllers/TableViewController.swift +++ b/Demo/ScrollingNavbarDemo/ViewControllers/TableViewController.swift @@ -37,7 +37,7 @@ class TableViewController: ScrollingNavigationViewController, UITableViewDelegat } func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { - let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! UITableViewCell + let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) cell.textLabel?.text = "Row \(indexPath.row + 1)" return cell } diff --git a/Demo/ScrollingNavbarDemoTests/Info.plist b/Demo/ScrollingNavbarDemoTests/Info.plist index 81e08e1e..ba72822e 100644 --- a/Demo/ScrollingNavbarDemoTests/Info.plist +++ b/Demo/ScrollingNavbarDemoTests/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - it.fancypixel.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName