├── .gitignore ├── .swift-version ├── .travis.yml ├── DemoApp ├── .swift-version ├── DemoApp.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── DemoApp.xcworkspace │ └── contents.xcworkspacedata ├── DemoApp │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── FourViewController.swift │ ├── Info.plist │ ├── ThreeViewController.swift │ ├── TwoViewController.swift │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Local Podspecs │ └── KDInteractiveNavigationController.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ └── project.pbxproj │ └── Target Support Files │ ├── KDInteractiveNavigationController │ ├── Info.plist │ ├── KDInteractiveNavigationController-dummy.m │ ├── KDInteractiveNavigationController-prefix.pch │ ├── KDInteractiveNavigationController-umbrella.h │ ├── KDInteractiveNavigationController.modulemap │ └── KDInteractiveNavigationController.xcconfig │ └── Pods-DemoApp │ ├── Info.plist │ ├── Pods-DemoApp-acknowledgements.markdown │ ├── Pods-DemoApp-acknowledgements.plist │ ├── Pods-DemoApp-dummy.m │ ├── Pods-DemoApp-frameworks.sh │ ├── Pods-DemoApp-resources.sh │ ├── Pods-DemoApp-umbrella.h │ ├── Pods-DemoApp.debug.xcconfig │ ├── Pods-DemoApp.modulemap │ └── Pods-DemoApp.release.xcconfig ├── KDInteractiveNavigationController.podspec ├── KDInteractiveNavigationController.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── kingiol.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── xcshareddata │ └── xcschemes │ │ ├── KDInteractiveNavigationController.xcscheme │ │ └── KDInteractiveNavigationController.xcscheme~dbed586432054907e78f9114486466b3dd45ec8c └── xcuserdata │ └── kingiol.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── KDInteractiveNavigationController ├── Info.plist ├── KDInteractiveNavigationController.h ├── KDInteractiveNavigationController.swift └── UIViewController+InteractiveNavigation.swift ├── LICENSE ├── README.md └── etc ├── screenshots.gif └── storyboard.gif /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | # CocoaPods 21 | # 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 25 | # 26 | # Pods/ 27 | 28 | # Carthage 29 | # 30 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 31 | # Carthage/Checkouts 32 | 33 | Carthage/Build 34 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | osx_image: xcode9 3 | xcode_project: KDInteractiveNavigationController 4 | # xcode_workspace: 5 | xcode_scheme: KDInteractiveNavigationController 6 | xcode_sdk: iphonesimulator10.0 7 | env: 8 | global: 9 | - FRAMEWORK_NAME=KDInteractiveNavigationController 10 | before_install: 11 | - brew update 12 | - brew outdated carthage || brew upgrade carthage 13 | before_script: 14 | # bootstrap the dependencies for the project 15 | # you can remove if you don't have dependencies 16 | # - carthage bootstrap 17 | script: 18 | - set -o pipefail && xcodebuild test -verbose -scheme "KDInteractiveNavigationController" -destination "platform=iOS Simulator,OS=10.0,name=iPhone 7 Plus" ONLY_ACTIVE_ARCH=NO | xcpretty 19 | before_deploy: 20 | - carthage build --no-skip-current 21 | - carthage archive $FRAMEWORK_NAME 22 | skip_cleanup: true 23 | on: 24 | repo: repo/repo 25 | tags: true 26 | -------------------------------------------------------------------------------- /DemoApp/.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 2 | -------------------------------------------------------------------------------- /DemoApp/DemoApp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 6260F8081C00CE99003DC9FE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6260F8071C00CE99003DC9FE /* AppDelegate.swift */; }; 11 | 6260F80A1C00CE99003DC9FE /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6260F8091C00CE99003DC9FE /* ViewController.swift */; }; 12 | 6260F80D1C00CE99003DC9FE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6260F80B1C00CE99003DC9FE /* Main.storyboard */; }; 13 | 6260F80F1C00CE99003DC9FE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6260F80E1C00CE99003DC9FE /* Assets.xcassets */; }; 14 | 6260F8121C00CE99003DC9FE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6260F8101C00CE99003DC9FE /* LaunchScreen.storyboard */; }; 15 | 6260F83B1C00DA7F003DC9FE /* TwoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6260F83A1C00DA7F003DC9FE /* TwoViewController.swift */; }; 16 | 6260F83D1C00DA86003DC9FE /* ThreeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6260F83C1C00DA86003DC9FE /* ThreeViewController.swift */; }; 17 | 6260F83F1C00DA8E003DC9FE /* FourViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6260F83E1C00DA8E003DC9FE /* FourViewController.swift */; }; 18 | F69D8A303C6552BC09CFE983 /* Pods_DemoApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82A05B8A4578C55F258BC1F5 /* Pods_DemoApp.framework */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXFileReference section */ 22 | 20EF51AEA7B58B499FBB4251 /* Pods-DemoApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoApp.release.xcconfig"; path = "Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp.release.xcconfig"; sourceTree = ""; }; 23 | 3E36834845DF7ED8DAA286FD /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 24 | 6260F8041C00CE99003DC9FE /* DemoApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DemoApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; 25 | 6260F8071C00CE99003DC9FE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 26 | 6260F8091C00CE99003DC9FE /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 27 | 6260F80C1C00CE99003DC9FE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 28 | 6260F80E1C00CE99003DC9FE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 29 | 6260F8111C00CE99003DC9FE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 30 | 6260F8131C00CE99003DC9FE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 31 | 6260F83A1C00DA7F003DC9FE /* TwoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TwoViewController.swift; sourceTree = ""; }; 32 | 6260F83C1C00DA86003DC9FE /* ThreeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ThreeViewController.swift; sourceTree = ""; }; 33 | 6260F83E1C00DA8E003DC9FE /* FourViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FourViewController.swift; sourceTree = ""; }; 34 | 82A05B8A4578C55F258BC1F5 /* Pods_DemoApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | BF6FFFD1C1DE246CCC7B8EC8 /* Pods-DemoApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoApp.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp.debug.xcconfig"; sourceTree = ""; }; 36 | /* End PBXFileReference section */ 37 | 38 | /* Begin PBXFrameworksBuildPhase section */ 39 | 6260F8011C00CE99003DC9FE /* Frameworks */ = { 40 | isa = PBXFrameworksBuildPhase; 41 | buildActionMask = 2147483647; 42 | files = ( 43 | F69D8A303C6552BC09CFE983 /* Pods_DemoApp.framework in Frameworks */, 44 | ); 45 | runOnlyForDeploymentPostprocessing = 0; 46 | }; 47 | /* End PBXFrameworksBuildPhase section */ 48 | 49 | /* Begin PBXGroup section */ 50 | 6260F7FB1C00CE99003DC9FE = { 51 | isa = PBXGroup; 52 | children = ( 53 | 6260F8061C00CE99003DC9FE /* DemoApp */, 54 | 6260F8051C00CE99003DC9FE /* Products */, 55 | F7A476705E234A8725DC0D46 /* Frameworks */, 56 | 7E14477FBAF8CA20BFB5BA99 /* Pods */, 57 | ); 58 | sourceTree = ""; 59 | }; 60 | 6260F8051C00CE99003DC9FE /* Products */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 6260F8041C00CE99003DC9FE /* DemoApp.app */, 64 | ); 65 | name = Products; 66 | sourceTree = ""; 67 | }; 68 | 6260F8061C00CE99003DC9FE /* DemoApp */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 6260F8071C00CE99003DC9FE /* AppDelegate.swift */, 72 | 6260F8091C00CE99003DC9FE /* ViewController.swift */, 73 | 6260F83A1C00DA7F003DC9FE /* TwoViewController.swift */, 74 | 6260F83C1C00DA86003DC9FE /* ThreeViewController.swift */, 75 | 6260F83E1C00DA8E003DC9FE /* FourViewController.swift */, 76 | 6260F80B1C00CE99003DC9FE /* Main.storyboard */, 77 | 6260F80E1C00CE99003DC9FE /* Assets.xcassets */, 78 | 6260F8101C00CE99003DC9FE /* LaunchScreen.storyboard */, 79 | 6260F8131C00CE99003DC9FE /* Info.plist */, 80 | ); 81 | path = DemoApp; 82 | sourceTree = ""; 83 | }; 84 | 7E14477FBAF8CA20BFB5BA99 /* Pods */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | BF6FFFD1C1DE246CCC7B8EC8 /* Pods-DemoApp.debug.xcconfig */, 88 | 20EF51AEA7B58B499FBB4251 /* Pods-DemoApp.release.xcconfig */, 89 | ); 90 | name = Pods; 91 | sourceTree = ""; 92 | }; 93 | F7A476705E234A8725DC0D46 /* Frameworks */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 3E36834845DF7ED8DAA286FD /* Pods.framework */, 97 | 82A05B8A4578C55F258BC1F5 /* Pods_DemoApp.framework */, 98 | ); 99 | name = Frameworks; 100 | sourceTree = ""; 101 | }; 102 | /* End PBXGroup section */ 103 | 104 | /* Begin PBXNativeTarget section */ 105 | 6260F8031C00CE99003DC9FE /* DemoApp */ = { 106 | isa = PBXNativeTarget; 107 | buildConfigurationList = 6260F8161C00CE99003DC9FE /* Build configuration list for PBXNativeTarget "DemoApp" */; 108 | buildPhases = ( 109 | 73E2C36DE204BE4062A66FCD /* [CP] Check Pods Manifest.lock */, 110 | 6260F8001C00CE99003DC9FE /* Sources */, 111 | 6260F8011C00CE99003DC9FE /* Frameworks */, 112 | 6260F8021C00CE99003DC9FE /* Resources */, 113 | 4295311CF53EF80D5B947013 /* [CP] Embed Pods Frameworks */, 114 | B6B09E2D391781FA620D7C6B /* [CP] Copy Pods Resources */, 115 | ); 116 | buildRules = ( 117 | ); 118 | dependencies = ( 119 | ); 120 | name = DemoApp; 121 | productName = DemoApp; 122 | productReference = 6260F8041C00CE99003DC9FE /* DemoApp.app */; 123 | productType = "com.apple.product-type.application"; 124 | }; 125 | /* End PBXNativeTarget section */ 126 | 127 | /* Begin PBXProject section */ 128 | 6260F7FC1C00CE99003DC9FE /* Project object */ = { 129 | isa = PBXProject; 130 | attributes = { 131 | LastSwiftUpdateCheck = 0710; 132 | LastUpgradeCheck = 0900; 133 | ORGANIZATIONNAME = Kingiol; 134 | TargetAttributes = { 135 | 6260F8031C00CE99003DC9FE = { 136 | CreatedOnToolsVersion = 7.1.1; 137 | LastSwiftMigration = 0900; 138 | }; 139 | }; 140 | }; 141 | buildConfigurationList = 6260F7FF1C00CE99003DC9FE /* Build configuration list for PBXProject "DemoApp" */; 142 | compatibilityVersion = "Xcode 3.2"; 143 | developmentRegion = English; 144 | hasScannedForEncodings = 0; 145 | knownRegions = ( 146 | en, 147 | Base, 148 | ); 149 | mainGroup = 6260F7FB1C00CE99003DC9FE; 150 | productRefGroup = 6260F8051C00CE99003DC9FE /* Products */; 151 | projectDirPath = ""; 152 | projectRoot = ""; 153 | targets = ( 154 | 6260F8031C00CE99003DC9FE /* DemoApp */, 155 | ); 156 | }; 157 | /* End PBXProject section */ 158 | 159 | /* Begin PBXResourcesBuildPhase section */ 160 | 6260F8021C00CE99003DC9FE /* Resources */ = { 161 | isa = PBXResourcesBuildPhase; 162 | buildActionMask = 2147483647; 163 | files = ( 164 | 6260F8121C00CE99003DC9FE /* LaunchScreen.storyboard in Resources */, 165 | 6260F80F1C00CE99003DC9FE /* Assets.xcassets in Resources */, 166 | 6260F80D1C00CE99003DC9FE /* Main.storyboard in Resources */, 167 | ); 168 | runOnlyForDeploymentPostprocessing = 0; 169 | }; 170 | /* End PBXResourcesBuildPhase section */ 171 | 172 | /* Begin PBXShellScriptBuildPhase section */ 173 | 4295311CF53EF80D5B947013 /* [CP] Embed Pods Frameworks */ = { 174 | isa = PBXShellScriptBuildPhase; 175 | buildActionMask = 2147483647; 176 | files = ( 177 | ); 178 | inputPaths = ( 179 | ); 180 | name = "[CP] Embed Pods Frameworks"; 181 | outputPaths = ( 182 | ); 183 | runOnlyForDeploymentPostprocessing = 0; 184 | shellPath = /bin/sh; 185 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-frameworks.sh\"\n"; 186 | showEnvVarsInLog = 0; 187 | }; 188 | 73E2C36DE204BE4062A66FCD /* [CP] Check Pods Manifest.lock */ = { 189 | isa = PBXShellScriptBuildPhase; 190 | buildActionMask = 2147483647; 191 | files = ( 192 | ); 193 | inputPaths = ( 194 | ); 195 | name = "[CP] Check Pods Manifest.lock"; 196 | outputPaths = ( 197 | ); 198 | runOnlyForDeploymentPostprocessing = 0; 199 | shellPath = /bin/sh; 200 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 201 | showEnvVarsInLog = 0; 202 | }; 203 | B6B09E2D391781FA620D7C6B /* [CP] Copy Pods Resources */ = { 204 | isa = PBXShellScriptBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | ); 208 | inputPaths = ( 209 | ); 210 | name = "[CP] Copy Pods Resources"; 211 | outputPaths = ( 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | shellPath = /bin/sh; 215 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-resources.sh\"\n"; 216 | showEnvVarsInLog = 0; 217 | }; 218 | /* End PBXShellScriptBuildPhase section */ 219 | 220 | /* Begin PBXSourcesBuildPhase section */ 221 | 6260F8001C00CE99003DC9FE /* Sources */ = { 222 | isa = PBXSourcesBuildPhase; 223 | buildActionMask = 2147483647; 224 | files = ( 225 | 6260F80A1C00CE99003DC9FE /* ViewController.swift in Sources */, 226 | 6260F8081C00CE99003DC9FE /* AppDelegate.swift in Sources */, 227 | 6260F83F1C00DA8E003DC9FE /* FourViewController.swift in Sources */, 228 | 6260F83B1C00DA7F003DC9FE /* TwoViewController.swift in Sources */, 229 | 6260F83D1C00DA86003DC9FE /* ThreeViewController.swift in Sources */, 230 | ); 231 | runOnlyForDeploymentPostprocessing = 0; 232 | }; 233 | /* End PBXSourcesBuildPhase section */ 234 | 235 | /* Begin PBXVariantGroup section */ 236 | 6260F80B1C00CE99003DC9FE /* Main.storyboard */ = { 237 | isa = PBXVariantGroup; 238 | children = ( 239 | 6260F80C1C00CE99003DC9FE /* Base */, 240 | ); 241 | name = Main.storyboard; 242 | sourceTree = ""; 243 | }; 244 | 6260F8101C00CE99003DC9FE /* LaunchScreen.storyboard */ = { 245 | isa = PBXVariantGroup; 246 | children = ( 247 | 6260F8111C00CE99003DC9FE /* Base */, 248 | ); 249 | name = LaunchScreen.storyboard; 250 | sourceTree = ""; 251 | }; 252 | /* End PBXVariantGroup section */ 253 | 254 | /* Begin XCBuildConfiguration section */ 255 | 6260F8141C00CE99003DC9FE /* Debug */ = { 256 | isa = XCBuildConfiguration; 257 | buildSettings = { 258 | ALWAYS_SEARCH_USER_PATHS = NO; 259 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 260 | CLANG_CXX_LIBRARY = "libc++"; 261 | CLANG_ENABLE_MODULES = YES; 262 | CLANG_ENABLE_OBJC_ARC = YES; 263 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 264 | CLANG_WARN_BOOL_CONVERSION = YES; 265 | CLANG_WARN_COMMA = YES; 266 | CLANG_WARN_CONSTANT_CONVERSION = YES; 267 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 268 | CLANG_WARN_EMPTY_BODY = YES; 269 | CLANG_WARN_ENUM_CONVERSION = YES; 270 | CLANG_WARN_INFINITE_RECURSION = YES; 271 | CLANG_WARN_INT_CONVERSION = YES; 272 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 273 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 274 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 275 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 276 | CLANG_WARN_STRICT_PROTOTYPES = YES; 277 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 278 | CLANG_WARN_UNREACHABLE_CODE = YES; 279 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 280 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 281 | COPY_PHASE_STRIP = NO; 282 | DEBUG_INFORMATION_FORMAT = dwarf; 283 | ENABLE_STRICT_OBJC_MSGSEND = YES; 284 | ENABLE_TESTABILITY = YES; 285 | GCC_C_LANGUAGE_STANDARD = gnu99; 286 | GCC_DYNAMIC_NO_PIC = NO; 287 | GCC_NO_COMMON_BLOCKS = YES; 288 | GCC_OPTIMIZATION_LEVEL = 0; 289 | GCC_PREPROCESSOR_DEFINITIONS = ( 290 | "DEBUG=1", 291 | "$(inherited)", 292 | ); 293 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 294 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 295 | GCC_WARN_UNDECLARED_SELECTOR = YES; 296 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 297 | GCC_WARN_UNUSED_FUNCTION = YES; 298 | GCC_WARN_UNUSED_VARIABLE = YES; 299 | IPHONEOS_DEPLOYMENT_TARGET = 9.1; 300 | MTL_ENABLE_DEBUG_INFO = YES; 301 | ONLY_ACTIVE_ARCH = YES; 302 | SDKROOT = iphoneos; 303 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 304 | TARGETED_DEVICE_FAMILY = "1,2"; 305 | }; 306 | name = Debug; 307 | }; 308 | 6260F8151C00CE99003DC9FE /* Release */ = { 309 | isa = XCBuildConfiguration; 310 | buildSettings = { 311 | ALWAYS_SEARCH_USER_PATHS = NO; 312 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 313 | CLANG_CXX_LIBRARY = "libc++"; 314 | CLANG_ENABLE_MODULES = YES; 315 | CLANG_ENABLE_OBJC_ARC = YES; 316 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 317 | CLANG_WARN_BOOL_CONVERSION = YES; 318 | CLANG_WARN_COMMA = YES; 319 | CLANG_WARN_CONSTANT_CONVERSION = YES; 320 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 321 | CLANG_WARN_EMPTY_BODY = YES; 322 | CLANG_WARN_ENUM_CONVERSION = YES; 323 | CLANG_WARN_INFINITE_RECURSION = YES; 324 | CLANG_WARN_INT_CONVERSION = YES; 325 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 326 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 327 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 328 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 329 | CLANG_WARN_STRICT_PROTOTYPES = YES; 330 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 331 | CLANG_WARN_UNREACHABLE_CODE = YES; 332 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 333 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 334 | COPY_PHASE_STRIP = NO; 335 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 336 | ENABLE_NS_ASSERTIONS = NO; 337 | ENABLE_STRICT_OBJC_MSGSEND = YES; 338 | GCC_C_LANGUAGE_STANDARD = gnu99; 339 | GCC_NO_COMMON_BLOCKS = YES; 340 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 341 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 342 | GCC_WARN_UNDECLARED_SELECTOR = YES; 343 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 344 | GCC_WARN_UNUSED_FUNCTION = YES; 345 | GCC_WARN_UNUSED_VARIABLE = YES; 346 | IPHONEOS_DEPLOYMENT_TARGET = 9.1; 347 | MTL_ENABLE_DEBUG_INFO = NO; 348 | SDKROOT = iphoneos; 349 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 350 | TARGETED_DEVICE_FAMILY = "1,2"; 351 | VALIDATE_PRODUCT = YES; 352 | }; 353 | name = Release; 354 | }; 355 | 6260F8171C00CE99003DC9FE /* Debug */ = { 356 | isa = XCBuildConfiguration; 357 | baseConfigurationReference = BF6FFFD1C1DE246CCC7B8EC8 /* Pods-DemoApp.debug.xcconfig */; 358 | buildSettings = { 359 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 360 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 361 | CODE_SIGN_IDENTITY = "iPhone Developer"; 362 | DEVELOPMENT_TEAM = ""; 363 | INFOPLIST_FILE = DemoApp/Info.plist; 364 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 365 | PRODUCT_BUNDLE_IDENTIFIER = com.kingiol.DemoApp; 366 | PRODUCT_NAME = "$(TARGET_NAME)"; 367 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 368 | SWIFT_VERSION = 4.0; 369 | }; 370 | name = Debug; 371 | }; 372 | 6260F8181C00CE99003DC9FE /* Release */ = { 373 | isa = XCBuildConfiguration; 374 | baseConfigurationReference = 20EF51AEA7B58B499FBB4251 /* Pods-DemoApp.release.xcconfig */; 375 | buildSettings = { 376 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 377 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 378 | CODE_SIGN_IDENTITY = "iPhone Developer"; 379 | DEVELOPMENT_TEAM = ""; 380 | INFOPLIST_FILE = DemoApp/Info.plist; 381 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 382 | PRODUCT_BUNDLE_IDENTIFIER = com.kingiol.DemoApp; 383 | PRODUCT_NAME = "$(TARGET_NAME)"; 384 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 385 | SWIFT_VERSION = 4.0; 386 | }; 387 | name = Release; 388 | }; 389 | /* End XCBuildConfiguration section */ 390 | 391 | /* Begin XCConfigurationList section */ 392 | 6260F7FF1C00CE99003DC9FE /* Build configuration list for PBXProject "DemoApp" */ = { 393 | isa = XCConfigurationList; 394 | buildConfigurations = ( 395 | 6260F8141C00CE99003DC9FE /* Debug */, 396 | 6260F8151C00CE99003DC9FE /* Release */, 397 | ); 398 | defaultConfigurationIsVisible = 0; 399 | defaultConfigurationName = Release; 400 | }; 401 | 6260F8161C00CE99003DC9FE /* Build configuration list for PBXNativeTarget "DemoApp" */ = { 402 | isa = XCConfigurationList; 403 | buildConfigurations = ( 404 | 6260F8171C00CE99003DC9FE /* Debug */, 405 | 6260F8181C00CE99003DC9FE /* Release */, 406 | ); 407 | defaultConfigurationIsVisible = 0; 408 | defaultConfigurationName = Release; 409 | }; 410 | /* End XCConfigurationList section */ 411 | }; 412 | rootObject = 6260F7FC1C00CE99003DC9FE /* Project object */; 413 | } 414 | -------------------------------------------------------------------------------- /DemoApp/DemoApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DemoApp/DemoApp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /DemoApp/DemoApp/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // DemoApp 4 | // 5 | // Created by Kingiol on 15/11/22. 6 | // Copyright © 2015年 Kingiol. 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 throttle down OpenGL ES frame rates. 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 inactive 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 | -------------------------------------------------------------------------------- /DemoApp/DemoApp/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 | } -------------------------------------------------------------------------------- /DemoApp/DemoApp/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 | -------------------------------------------------------------------------------- /DemoApp/DemoApp/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 | 31 | 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 | 66 | 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 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | -------------------------------------------------------------------------------- /DemoApp/DemoApp/FourViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FourViewController.swift 3 | // DemoApp 4 | // 5 | // Created by Kingiol on 15/11/22. 6 | // Copyright © 2015年 Kingiol. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class FourViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | 24 | 25 | /* 26 | // MARK: - Navigation 27 | 28 | // In a storyboard-based application, you will often want to do a little preparation before navigation 29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { 30 | // Get the new view controller using segue.destinationViewController. 31 | // Pass the selected object to the new view controller. 32 | } 33 | */ 34 | 35 | } 36 | -------------------------------------------------------------------------------- /DemoApp/DemoApp/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 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /DemoApp/DemoApp/ThreeViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ThreeViewController.swift 3 | // DemoApp 4 | // 5 | // Created by Kingiol on 15/11/22. 6 | // Copyright © 2015年 Kingiol. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ThreeViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | 24 | 25 | /* 26 | // MARK: - Navigation 27 | 28 | // In a storyboard-based application, you will often want to do a little preparation before navigation 29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { 30 | // Get the new view controller using segue.destinationViewController. 31 | // Pass the selected object to the new view controller. 32 | } 33 | */ 34 | 35 | } 36 | -------------------------------------------------------------------------------- /DemoApp/DemoApp/TwoViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TwoViewController.swift 3 | // DemoApp 4 | // 5 | // Created by Kingiol on 15/11/22. 6 | // Copyright © 2015年 Kingiol. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class TwoViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | 24 | 25 | /* 26 | // MARK: - Navigation 27 | 28 | // In a storyboard-based application, you will often want to do a little preparation before navigation 29 | override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { 30 | // Get the new view controller using segue.destinationViewController. 31 | // Pass the selected object to the new view controller. 32 | } 33 | */ 34 | 35 | @IBAction func showActivityVC() { 36 | 37 | let activityViewController = UIActivityViewController(activityItems: ["hello"], applicationActivities: nil) 38 | activityViewController.interactiveNavigationBarHidden = true 39 | activityViewController.excludedActivityTypes = [ 40 | .postToWeibo, 41 | .print, 42 | .assignToContact, 43 | .saveToCameraRoll, 44 | .addToReadingList, 45 | .postToFlickr, 46 | .postToVimeo, 47 | .assignToContact, 48 | .postToTencentWeibo, 49 | .airDrop 50 | ] 51 | self.present(activityViewController, animated: true, completion: nil) 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /DemoApp/DemoApp/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // DemoApp 4 | // 5 | // Created by Kingiol on 15/11/22. 6 | // Copyright © 2015年 Kingiol. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | import KDInteractiveNavigationController 12 | 13 | class ViewController: UIViewController { 14 | 15 | override func viewDidLoad() { 16 | super.viewDidLoad() 17 | // Do any additional setup after loading the view, typically from a nib. 18 | } 19 | 20 | override func didReceiveMemoryWarning() { 21 | super.didReceiveMemoryWarning() 22 | // Dispose of any resources that can be recreated. 23 | } 24 | 25 | 26 | } 27 | 28 | -------------------------------------------------------------------------------- /DemoApp/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | #source 'https://github.com/kingiol/KDInteractiveNavigationController.git' 3 | 4 | platform :ios, '8.0' 5 | inhibit_all_warnings! 6 | use_frameworks! 7 | 8 | target 'DemoApp' do 9 | pod 'KDInteractiveNavigationController', :path => '../' 10 | end 11 | -------------------------------------------------------------------------------- /DemoApp/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - KDInteractiveNavigationController (0.1.2) 3 | 4 | DEPENDENCIES: 5 | - KDInteractiveNavigationController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | KDInteractiveNavigationController: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | KDInteractiveNavigationController: c719bdf18062213315890c4648d37156a621b520 13 | 14 | PODFILE CHECKSUM: e1e5640035aa69bc82fd9d075d4b839b48800d0a 15 | 16 | COCOAPODS: 1.1.0.rc.2 17 | -------------------------------------------------------------------------------- /DemoApp/Pods/Local Podspecs/KDInteractiveNavigationController.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "KDInteractiveNavigationController", 3 | "version": "0.1.2", 4 | "summary": "A UINavigationController subclass that support interactive UINavigationbar with hidden or show.", 5 | "homepage": "https://github.com/kingiol/KDInteractiveNavigationController", 6 | "screenshots": "https://raw.githubusercontent.com/kingiol/KDInteractiveNavigationController/master/etc/screenshots.gif", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "kingiol": "kingxiaokang@gmail.com" 13 | }, 14 | "platforms": { 15 | "ios": "8.0" 16 | }, 17 | "requires_arc": true, 18 | "source": { 19 | "git": "https://github.com/kingiol/KDInteractiveNavigationController.git", 20 | "tag": "0.1.2" 21 | }, 22 | "source_files": "KDInteractiveNavigationController/*.{swift}", 23 | "frameworks": [ 24 | "UIKit" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /DemoApp/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - KDInteractiveNavigationController (0.1.2) 3 | 4 | DEPENDENCIES: 5 | - KDInteractiveNavigationController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | KDInteractiveNavigationController: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | KDInteractiveNavigationController: c719bdf18062213315890c4648d37156a621b520 13 | 14 | PODFILE CHECKSUM: e1e5640035aa69bc82fd9d075d4b839b48800d0a 15 | 16 | COCOAPODS: 1.1.0.rc.2 17 | -------------------------------------------------------------------------------- /DemoApp/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0874F09C157C64D189517B333CC0EBD6 /* UIViewController+InteractiveNavigation.swift in Sources */ = {isa = PBXBuildFile; fileRef = A94C570DF10A544AFD81120DAFC00C8D /* UIViewController+InteractiveNavigation.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; 11 | 0AA00B85A991627819C563BD2AFE17D9 /* KDInteractiveNavigationController-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CF252267E2E468DA1F5DBC4CE9C56CB1 /* KDInteractiveNavigationController-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 29DDC1325E0050B0C9C2E00AD24BA671 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */; }; 13 | 3678A8CDA967F40CFCA18920BF6C0A42 /* Pods-DemoApp-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 886FB0830574AE6C76C7C5D12185577C /* Pods-DemoApp-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 8BAE08BF6C1C11CD811DB82F72DBCE27 /* Pods-DemoApp-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 94A9F7A47CB13F7F85AE87062C4B2E8A /* Pods-DemoApp-dummy.m */; }; 15 | A5E3209D3A9E1CA3EBFDDE7766FFDAA4 /* KDInteractiveNavigationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84DACC3D18BCFCB4BC9DE7D09ECBBAB2 /* KDInteractiveNavigationController.swift */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; }; 16 | B6CE1031463F1C26F1A603585660EA66 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E86668F20F252C440D1015B816BE59C5 /* UIKit.framework */; }; 17 | DB84B460DFA60E95D8D1A0C85ECD22E5 /* KDInteractiveNavigationController-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C16B9D6CA1B4BC440110724CACD43FB /* KDInteractiveNavigationController-dummy.m */; }; 18 | FE08AC4E64F3D00321DD87CA98EB4F2B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | 9C59F89DBED3D813D53475EAE2E9A861 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = 0561928EC4BD64F22F762FE0759AB365; 27 | remoteInfo = KDInteractiveNavigationController; 28 | }; 29 | /* End PBXContainerItemProxy section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 070D38FAB99BF31DC7D6016D5C5360A7 /* KDInteractiveNavigationController-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KDInteractiveNavigationController-prefix.pch"; sourceTree = ""; }; 33 | 0F526B0CBD317284EA2CAC81C47DA18E /* Pods-DemoApp-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DemoApp-acknowledgements.markdown"; sourceTree = ""; }; 34 | 2039E55570975813B2EA5C30D5AC4FAE /* Pods-DemoApp-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DemoApp-resources.sh"; sourceTree = ""; }; 35 | 24800B5984BC44F6F487CDA758F78526 /* KDInteractiveNavigationController.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KDInteractiveNavigationController.xcconfig; sourceTree = ""; }; 36 | 2B52A076C4F2D80EE5E74C5891332AC3 /* Pods-DemoApp-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DemoApp-acknowledgements.plist"; sourceTree = ""; }; 37 | 4F5156471F17CCBA8398C76F0401D12E /* KDInteractiveNavigationController.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KDInteractiveNavigationController.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 4F6DA398B8798082C8619CE9DDAC896F /* Pods-DemoApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DemoApp.debug.xcconfig"; sourceTree = ""; }; 39 | 84DACC3D18BCFCB4BC9DE7D09ECBBAB2 /* KDInteractiveNavigationController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KDInteractiveNavigationController.swift; sourceTree = ""; }; 40 | 886FB0830574AE6C76C7C5D12185577C /* Pods-DemoApp-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DemoApp-umbrella.h"; sourceTree = ""; }; 41 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 42 | 94A9F7A47CB13F7F85AE87062C4B2E8A /* Pods-DemoApp-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DemoApp-dummy.m"; sourceTree = ""; }; 43 | 970AF991BC8B3CB1707B56D83D19AE13 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 9C16B9D6CA1B4BC440110724CACD43FB /* KDInteractiveNavigationController-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KDInteractiveNavigationController-dummy.m"; sourceTree = ""; }; 45 | A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 46 | A4E74E343936B8251722C3C36E22367E /* Pods-DemoApp.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-DemoApp.modulemap"; sourceTree = ""; }; 47 | A94C570DF10A544AFD81120DAFC00C8D /* UIViewController+InteractiveNavigation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIViewController+InteractiveNavigation.swift"; sourceTree = ""; }; 48 | ABA04AAF6239F4BA0101453D48760C67 /* KDInteractiveNavigationController.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = KDInteractiveNavigationController.modulemap; sourceTree = ""; }; 49 | B80ECF619E964082A007715C7E4D43AA /* Pods-DemoApp-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DemoApp-frameworks.sh"; sourceTree = ""; }; 50 | B840E8BE5F2009392F6024F1B410E912 /* Pods_DemoApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | C312BD7E7F0C5E8CD1401EF9BA226A65 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 52 | CF252267E2E468DA1F5DBC4CE9C56CB1 /* KDInteractiveNavigationController-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KDInteractiveNavigationController-umbrella.h"; sourceTree = ""; }; 53 | CF36111D03FDDB19B87A10AABCEE93BD /* Pods-DemoApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DemoApp.release.xcconfig"; sourceTree = ""; }; 54 | E86668F20F252C440D1015B816BE59C5 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 55 | /* End PBXFileReference section */ 56 | 57 | /* Begin PBXFrameworksBuildPhase section */ 58 | 51CFDF8CD94E7040F984E197E654032A /* Frameworks */ = { 59 | isa = PBXFrameworksBuildPhase; 60 | buildActionMask = 2147483647; 61 | files = ( 62 | 29DDC1325E0050B0C9C2E00AD24BA671 /* Foundation.framework in Frameworks */, 63 | ); 64 | runOnlyForDeploymentPostprocessing = 0; 65 | }; 66 | 57D0065DE56D97C8B4100FC07C377142 /* Frameworks */ = { 67 | isa = PBXFrameworksBuildPhase; 68 | buildActionMask = 2147483647; 69 | files = ( 70 | FE08AC4E64F3D00321DD87CA98EB4F2B /* Foundation.framework in Frameworks */, 71 | B6CE1031463F1C26F1A603585660EA66 /* UIKit.framework in Frameworks */, 72 | ); 73 | runOnlyForDeploymentPostprocessing = 0; 74 | }; 75 | /* End PBXFrameworksBuildPhase section */ 76 | 77 | /* Begin PBXGroup section */ 78 | 01C776187ED950BE104C88E0A78AF15A /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 4F5156471F17CCBA8398C76F0401D12E /* KDInteractiveNavigationController.framework */, 82 | B840E8BE5F2009392F6024F1B410E912 /* Pods_DemoApp.framework */, 83 | ); 84 | name = Products; 85 | sourceTree = ""; 86 | }; 87 | 05D10AFF9CAEEBDC19219D3638E1837C /* Support Files */ = { 88 | isa = PBXGroup; 89 | children = ( 90 | 970AF991BC8B3CB1707B56D83D19AE13 /* Info.plist */, 91 | ABA04AAF6239F4BA0101453D48760C67 /* KDInteractiveNavigationController.modulemap */, 92 | 24800B5984BC44F6F487CDA758F78526 /* KDInteractiveNavigationController.xcconfig */, 93 | 9C16B9D6CA1B4BC440110724CACD43FB /* KDInteractiveNavigationController-dummy.m */, 94 | 070D38FAB99BF31DC7D6016D5C5360A7 /* KDInteractiveNavigationController-prefix.pch */, 95 | CF252267E2E468DA1F5DBC4CE9C56CB1 /* KDInteractiveNavigationController-umbrella.h */, 96 | ); 97 | name = "Support Files"; 98 | path = "DemoApp/Pods/Target Support Files/KDInteractiveNavigationController"; 99 | sourceTree = ""; 100 | }; 101 | 260CCE5B3799EE585333B7953D53FD15 /* KDInteractiveNavigationController */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | 84DACC3D18BCFCB4BC9DE7D09ECBBAB2 /* KDInteractiveNavigationController.swift */, 105 | A94C570DF10A544AFD81120DAFC00C8D /* UIViewController+InteractiveNavigation.swift */, 106 | ); 107 | path = KDInteractiveNavigationController; 108 | sourceTree = ""; 109 | }; 110 | 36D1DFC305CA07A63D8DB5827A38D7F8 /* Pods-DemoApp */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | C312BD7E7F0C5E8CD1401EF9BA226A65 /* Info.plist */, 114 | A4E74E343936B8251722C3C36E22367E /* Pods-DemoApp.modulemap */, 115 | 0F526B0CBD317284EA2CAC81C47DA18E /* Pods-DemoApp-acknowledgements.markdown */, 116 | 2B52A076C4F2D80EE5E74C5891332AC3 /* Pods-DemoApp-acknowledgements.plist */, 117 | 94A9F7A47CB13F7F85AE87062C4B2E8A /* Pods-DemoApp-dummy.m */, 118 | B80ECF619E964082A007715C7E4D43AA /* Pods-DemoApp-frameworks.sh */, 119 | 2039E55570975813B2EA5C30D5AC4FAE /* Pods-DemoApp-resources.sh */, 120 | 886FB0830574AE6C76C7C5D12185577C /* Pods-DemoApp-umbrella.h */, 121 | 4F6DA398B8798082C8619CE9DDAC896F /* Pods-DemoApp.debug.xcconfig */, 122 | CF36111D03FDDB19B87A10AABCEE93BD /* Pods-DemoApp.release.xcconfig */, 123 | ); 124 | name = "Pods-DemoApp"; 125 | path = "Target Support Files/Pods-DemoApp"; 126 | sourceTree = ""; 127 | }; 128 | 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | F302CD3B306AF1ED96B9AF31FCDBC26C /* iOS */, 132 | ); 133 | name = Frameworks; 134 | sourceTree = ""; 135 | }; 136 | 5A86922B548CBB288E2E8B43EB5A7029 /* KDInteractiveNavigationController */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 260CCE5B3799EE585333B7953D53FD15 /* KDInteractiveNavigationController */, 140 | 05D10AFF9CAEEBDC19219D3638E1837C /* Support Files */, 141 | ); 142 | name = KDInteractiveNavigationController; 143 | path = ../..; 144 | sourceTree = ""; 145 | }; 146 | 7DB346D0F39D3F0E887471402A8071AB = { 147 | isa = PBXGroup; 148 | children = ( 149 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 150 | 9CF40F756203B7E357538EA76EEA37A6 /* Development Pods */, 151 | 433CD3331B6C3787F473C941B61FC68F /* Frameworks */, 152 | 01C776187ED950BE104C88E0A78AF15A /* Products */, 153 | F78FD055B769C56ABB53AFC0D30DD822 /* Targets Support Files */, 154 | ); 155 | sourceTree = ""; 156 | }; 157 | 9CF40F756203B7E357538EA76EEA37A6 /* Development Pods */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | 5A86922B548CBB288E2E8B43EB5A7029 /* KDInteractiveNavigationController */, 161 | ); 162 | name = "Development Pods"; 163 | sourceTree = ""; 164 | }; 165 | F302CD3B306AF1ED96B9AF31FCDBC26C /* iOS */ = { 166 | isa = PBXGroup; 167 | children = ( 168 | A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */, 169 | E86668F20F252C440D1015B816BE59C5 /* UIKit.framework */, 170 | ); 171 | name = iOS; 172 | sourceTree = ""; 173 | }; 174 | F78FD055B769C56ABB53AFC0D30DD822 /* Targets Support Files */ = { 175 | isa = PBXGroup; 176 | children = ( 177 | 36D1DFC305CA07A63D8DB5827A38D7F8 /* Pods-DemoApp */, 178 | ); 179 | name = "Targets Support Files"; 180 | sourceTree = ""; 181 | }; 182 | /* End PBXGroup section */ 183 | 184 | /* Begin PBXHeadersBuildPhase section */ 185 | 07E636D01200DC173D3C0714D5F335EB /* Headers */ = { 186 | isa = PBXHeadersBuildPhase; 187 | buildActionMask = 2147483647; 188 | files = ( 189 | 0AA00B85A991627819C563BD2AFE17D9 /* KDInteractiveNavigationController-umbrella.h in Headers */, 190 | ); 191 | runOnlyForDeploymentPostprocessing = 0; 192 | }; 193 | 2065FDA5E60E178F2CC9C04AC6847D1F /* Headers */ = { 194 | isa = PBXHeadersBuildPhase; 195 | buildActionMask = 2147483647; 196 | files = ( 197 | 3678A8CDA967F40CFCA18920BF6C0A42 /* Pods-DemoApp-umbrella.h in Headers */, 198 | ); 199 | runOnlyForDeploymentPostprocessing = 0; 200 | }; 201 | /* End PBXHeadersBuildPhase section */ 202 | 203 | /* Begin PBXNativeTarget section */ 204 | 0561928EC4BD64F22F762FE0759AB365 /* KDInteractiveNavigationController */ = { 205 | isa = PBXNativeTarget; 206 | buildConfigurationList = 3EC0B50C38EEB666304C2D86D9EA1725 /* Build configuration list for PBXNativeTarget "KDInteractiveNavigationController" */; 207 | buildPhases = ( 208 | 33ED8DED52C1AE01E6186488E783D1A2 /* Sources */, 209 | 57D0065DE56D97C8B4100FC07C377142 /* Frameworks */, 210 | 07E636D01200DC173D3C0714D5F335EB /* Headers */, 211 | ); 212 | buildRules = ( 213 | ); 214 | dependencies = ( 215 | ); 216 | name = KDInteractiveNavigationController; 217 | productName = KDInteractiveNavigationController; 218 | productReference = 4F5156471F17CCBA8398C76F0401D12E /* KDInteractiveNavigationController.framework */; 219 | productType = "com.apple.product-type.framework"; 220 | }; 221 | 3129F8A9E159D3D6A45801805ADC09AA /* Pods-DemoApp */ = { 222 | isa = PBXNativeTarget; 223 | buildConfigurationList = 89FBC92F2BCC7313E29B2D00FDF691A3 /* Build configuration list for PBXNativeTarget "Pods-DemoApp" */; 224 | buildPhases = ( 225 | 112ED505D1CD46597599958FD482A395 /* Sources */, 226 | 51CFDF8CD94E7040F984E197E654032A /* Frameworks */, 227 | 2065FDA5E60E178F2CC9C04AC6847D1F /* Headers */, 228 | ); 229 | buildRules = ( 230 | ); 231 | dependencies = ( 232 | 0EBDACBCF7E298AB03670872144E04C6 /* PBXTargetDependency */, 233 | ); 234 | name = "Pods-DemoApp"; 235 | productName = "Pods-DemoApp"; 236 | productReference = B840E8BE5F2009392F6024F1B410E912 /* Pods_DemoApp.framework */; 237 | productType = "com.apple.product-type.framework"; 238 | }; 239 | /* End PBXNativeTarget section */ 240 | 241 | /* Begin PBXProject section */ 242 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 243 | isa = PBXProject; 244 | attributes = { 245 | LastSwiftUpdateCheck = 0730; 246 | LastUpgradeCheck = 0900; 247 | TargetAttributes = { 248 | 0561928EC4BD64F22F762FE0759AB365 = { 249 | LastSwiftMigration = 0900; 250 | }; 251 | 3129F8A9E159D3D6A45801805ADC09AA = { 252 | LastSwiftMigration = 0800; 253 | }; 254 | }; 255 | }; 256 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 257 | compatibilityVersion = "Xcode 3.2"; 258 | developmentRegion = English; 259 | hasScannedForEncodings = 0; 260 | knownRegions = ( 261 | en, 262 | ); 263 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 264 | productRefGroup = 01C776187ED950BE104C88E0A78AF15A /* Products */; 265 | projectDirPath = ""; 266 | projectRoot = ""; 267 | targets = ( 268 | 0561928EC4BD64F22F762FE0759AB365 /* KDInteractiveNavigationController */, 269 | 3129F8A9E159D3D6A45801805ADC09AA /* Pods-DemoApp */, 270 | ); 271 | }; 272 | /* End PBXProject section */ 273 | 274 | /* Begin PBXSourcesBuildPhase section */ 275 | 112ED505D1CD46597599958FD482A395 /* Sources */ = { 276 | isa = PBXSourcesBuildPhase; 277 | buildActionMask = 2147483647; 278 | files = ( 279 | 8BAE08BF6C1C11CD811DB82F72DBCE27 /* Pods-DemoApp-dummy.m in Sources */, 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | }; 283 | 33ED8DED52C1AE01E6186488E783D1A2 /* Sources */ = { 284 | isa = PBXSourcesBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | DB84B460DFA60E95D8D1A0C85ECD22E5 /* KDInteractiveNavigationController-dummy.m in Sources */, 288 | A5E3209D3A9E1CA3EBFDDE7766FFDAA4 /* KDInteractiveNavigationController.swift in Sources */, 289 | 0874F09C157C64D189517B333CC0EBD6 /* UIViewController+InteractiveNavigation.swift in Sources */, 290 | ); 291 | runOnlyForDeploymentPostprocessing = 0; 292 | }; 293 | /* End PBXSourcesBuildPhase section */ 294 | 295 | /* Begin PBXTargetDependency section */ 296 | 0EBDACBCF7E298AB03670872144E04C6 /* PBXTargetDependency */ = { 297 | isa = PBXTargetDependency; 298 | name = KDInteractiveNavigationController; 299 | target = 0561928EC4BD64F22F762FE0759AB365 /* KDInteractiveNavigationController */; 300 | targetProxy = 9C59F89DBED3D813D53475EAE2E9A861 /* PBXContainerItemProxy */; 301 | }; 302 | /* End PBXTargetDependency section */ 303 | 304 | /* Begin XCBuildConfiguration section */ 305 | 015A368F878AC3E2CEAE21DDE8026304 /* Debug */ = { 306 | isa = XCBuildConfiguration; 307 | buildSettings = { 308 | ALWAYS_SEARCH_USER_PATHS = NO; 309 | CLANG_ANALYZER_NONNULL = YES; 310 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 311 | CLANG_CXX_LIBRARY = "libc++"; 312 | CLANG_ENABLE_MODULES = YES; 313 | CLANG_ENABLE_OBJC_ARC = YES; 314 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 315 | CLANG_WARN_BOOL_CONVERSION = YES; 316 | CLANG_WARN_COMMA = YES; 317 | CLANG_WARN_CONSTANT_CONVERSION = YES; 318 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 319 | CLANG_WARN_EMPTY_BODY = YES; 320 | CLANG_WARN_ENUM_CONVERSION = YES; 321 | CLANG_WARN_INFINITE_RECURSION = YES; 322 | CLANG_WARN_INT_CONVERSION = YES; 323 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 324 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 325 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 326 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 327 | CLANG_WARN_STRICT_PROTOTYPES = YES; 328 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 329 | CLANG_WARN_UNREACHABLE_CODE = YES; 330 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 331 | CODE_SIGNING_REQUIRED = NO; 332 | COPY_PHASE_STRIP = NO; 333 | ENABLE_STRICT_OBJC_MSGSEND = YES; 334 | ENABLE_TESTABILITY = YES; 335 | GCC_C_LANGUAGE_STANDARD = gnu99; 336 | GCC_DYNAMIC_NO_PIC = NO; 337 | GCC_NO_COMMON_BLOCKS = YES; 338 | GCC_OPTIMIZATION_LEVEL = 0; 339 | GCC_PREPROCESSOR_DEFINITIONS = ( 340 | "POD_CONFIGURATION_DEBUG=1", 341 | "DEBUG=1", 342 | "$(inherited)", 343 | ); 344 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 345 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 346 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 347 | GCC_WARN_UNDECLARED_SELECTOR = YES; 348 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 349 | GCC_WARN_UNUSED_FUNCTION = YES; 350 | GCC_WARN_UNUSED_VARIABLE = YES; 351 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 352 | ONLY_ACTIVE_ARCH = YES; 353 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 354 | STRIP_INSTALLED_PRODUCT = NO; 355 | SYMROOT = "${SRCROOT}/../build"; 356 | }; 357 | name = Debug; 358 | }; 359 | 44CDBB6D11DE06DB64D6268622BDC47E /* Release */ = { 360 | isa = XCBuildConfiguration; 361 | buildSettings = { 362 | ALWAYS_SEARCH_USER_PATHS = NO; 363 | CLANG_ANALYZER_NONNULL = YES; 364 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 365 | CLANG_CXX_LIBRARY = "libc++"; 366 | CLANG_ENABLE_MODULES = YES; 367 | CLANG_ENABLE_OBJC_ARC = YES; 368 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 369 | CLANG_WARN_BOOL_CONVERSION = YES; 370 | CLANG_WARN_COMMA = YES; 371 | CLANG_WARN_CONSTANT_CONVERSION = YES; 372 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 373 | CLANG_WARN_EMPTY_BODY = YES; 374 | CLANG_WARN_ENUM_CONVERSION = YES; 375 | CLANG_WARN_INFINITE_RECURSION = YES; 376 | CLANG_WARN_INT_CONVERSION = YES; 377 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 378 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 379 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 380 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 381 | CLANG_WARN_STRICT_PROTOTYPES = YES; 382 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 383 | CLANG_WARN_UNREACHABLE_CODE = YES; 384 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 385 | CODE_SIGNING_REQUIRED = NO; 386 | COPY_PHASE_STRIP = YES; 387 | ENABLE_NS_ASSERTIONS = NO; 388 | ENABLE_STRICT_OBJC_MSGSEND = YES; 389 | GCC_C_LANGUAGE_STANDARD = gnu99; 390 | GCC_NO_COMMON_BLOCKS = YES; 391 | GCC_PREPROCESSOR_DEFINITIONS = ( 392 | "POD_CONFIGURATION_RELEASE=1", 393 | "$(inherited)", 394 | ); 395 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 396 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 397 | GCC_WARN_UNDECLARED_SELECTOR = YES; 398 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 399 | GCC_WARN_UNUSED_FUNCTION = YES; 400 | GCC_WARN_UNUSED_VARIABLE = YES; 401 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 402 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 403 | STRIP_INSTALLED_PRODUCT = NO; 404 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 405 | SYMROOT = "${SRCROOT}/../build"; 406 | VALIDATE_PRODUCT = YES; 407 | }; 408 | name = Release; 409 | }; 410 | 473C9DB8A877016E06F759462FD9E375 /* Release */ = { 411 | isa = XCBuildConfiguration; 412 | baseConfigurationReference = CF36111D03FDDB19B87A10AABCEE93BD /* Pods-DemoApp.release.xcconfig */; 413 | buildSettings = { 414 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 415 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 416 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 417 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 418 | CURRENT_PROJECT_VERSION = 1; 419 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 420 | DEFINES_MODULE = YES; 421 | DYLIB_COMPATIBILITY_VERSION = 1; 422 | DYLIB_CURRENT_VERSION = 1; 423 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 424 | ENABLE_STRICT_OBJC_MSGSEND = YES; 425 | GCC_NO_COMMON_BLOCKS = YES; 426 | INFOPLIST_FILE = "Target Support Files/Pods-DemoApp/Info.plist"; 427 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 428 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 429 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 430 | MACH_O_TYPE = staticlib; 431 | MODULEMAP_FILE = "Target Support Files/Pods-DemoApp/Pods-DemoApp.modulemap"; 432 | MTL_ENABLE_DEBUG_INFO = NO; 433 | OTHER_LDFLAGS = ""; 434 | OTHER_LIBTOOLFLAGS = ""; 435 | PODS_ROOT = "$(SRCROOT)"; 436 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 437 | PRODUCT_NAME = Pods_DemoApp; 438 | SDKROOT = iphoneos; 439 | SKIP_INSTALL = YES; 440 | SWIFT_VERSION = 3.0; 441 | TARGETED_DEVICE_FAMILY = "1,2"; 442 | VERSIONING_SYSTEM = "apple-generic"; 443 | VERSION_INFO_PREFIX = ""; 444 | }; 445 | name = Release; 446 | }; 447 | 6304372BA33AA2F19DDEFF8B08CD8B4A /* Debug */ = { 448 | isa = XCBuildConfiguration; 449 | baseConfigurationReference = 4F6DA398B8798082C8619CE9DDAC896F /* Pods-DemoApp.debug.xcconfig */; 450 | buildSettings = { 451 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 452 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 453 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 454 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 455 | CURRENT_PROJECT_VERSION = 1; 456 | DEBUG_INFORMATION_FORMAT = dwarf; 457 | DEFINES_MODULE = YES; 458 | DYLIB_COMPATIBILITY_VERSION = 1; 459 | DYLIB_CURRENT_VERSION = 1; 460 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 461 | ENABLE_STRICT_OBJC_MSGSEND = YES; 462 | GCC_NO_COMMON_BLOCKS = YES; 463 | INFOPLIST_FILE = "Target Support Files/Pods-DemoApp/Info.plist"; 464 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 465 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 466 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 467 | MACH_O_TYPE = staticlib; 468 | MODULEMAP_FILE = "Target Support Files/Pods-DemoApp/Pods-DemoApp.modulemap"; 469 | MTL_ENABLE_DEBUG_INFO = YES; 470 | OTHER_LDFLAGS = ""; 471 | OTHER_LIBTOOLFLAGS = ""; 472 | PODS_ROOT = "$(SRCROOT)"; 473 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 474 | PRODUCT_NAME = Pods_DemoApp; 475 | SDKROOT = iphoneos; 476 | SKIP_INSTALL = YES; 477 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 478 | SWIFT_VERSION = 3.0; 479 | TARGETED_DEVICE_FAMILY = "1,2"; 480 | VERSIONING_SYSTEM = "apple-generic"; 481 | VERSION_INFO_PREFIX = ""; 482 | }; 483 | name = Debug; 484 | }; 485 | 78BDD75825240F034804D41E2231E63D /* Debug */ = { 486 | isa = XCBuildConfiguration; 487 | baseConfigurationReference = 24800B5984BC44F6F487CDA758F78526 /* KDInteractiveNavigationController.xcconfig */; 488 | buildSettings = { 489 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 490 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 491 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 492 | CURRENT_PROJECT_VERSION = 1; 493 | DEBUG_INFORMATION_FORMAT = dwarf; 494 | DEFINES_MODULE = YES; 495 | DYLIB_COMPATIBILITY_VERSION = 1; 496 | DYLIB_CURRENT_VERSION = 1; 497 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 498 | ENABLE_STRICT_OBJC_MSGSEND = YES; 499 | GCC_NO_COMMON_BLOCKS = YES; 500 | GCC_PREFIX_HEADER = "Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController-prefix.pch"; 501 | INFOPLIST_FILE = "Target Support Files/KDInteractiveNavigationController/Info.plist"; 502 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 503 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 504 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 505 | MODULEMAP_FILE = "Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController.modulemap"; 506 | MTL_ENABLE_DEBUG_INFO = YES; 507 | PRODUCT_NAME = KDInteractiveNavigationController; 508 | SDKROOT = iphoneos; 509 | SKIP_INSTALL = YES; 510 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 511 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 512 | SWIFT_VERSION = 4.0; 513 | TARGETED_DEVICE_FAMILY = "1,2"; 514 | VERSIONING_SYSTEM = "apple-generic"; 515 | VERSION_INFO_PREFIX = ""; 516 | }; 517 | name = Debug; 518 | }; 519 | F69653BA45139924EA0DF333B55800E2 /* Release */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = 24800B5984BC44F6F487CDA758F78526 /* KDInteractiveNavigationController.xcconfig */; 522 | buildSettings = { 523 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 524 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 525 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 526 | CURRENT_PROJECT_VERSION = 1; 527 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 528 | DEFINES_MODULE = YES; 529 | DYLIB_COMPATIBILITY_VERSION = 1; 530 | DYLIB_CURRENT_VERSION = 1; 531 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 532 | ENABLE_STRICT_OBJC_MSGSEND = YES; 533 | GCC_NO_COMMON_BLOCKS = YES; 534 | GCC_PREFIX_HEADER = "Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController-prefix.pch"; 535 | INFOPLIST_FILE = "Target Support Files/KDInteractiveNavigationController/Info.plist"; 536 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 537 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 538 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 539 | MODULEMAP_FILE = "Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController.modulemap"; 540 | MTL_ENABLE_DEBUG_INFO = NO; 541 | PRODUCT_NAME = KDInteractiveNavigationController; 542 | SDKROOT = iphoneos; 543 | SKIP_INSTALL = YES; 544 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 545 | SWIFT_VERSION = 4.0; 546 | TARGETED_DEVICE_FAMILY = "1,2"; 547 | VERSIONING_SYSTEM = "apple-generic"; 548 | VERSION_INFO_PREFIX = ""; 549 | }; 550 | name = Release; 551 | }; 552 | /* End XCBuildConfiguration section */ 553 | 554 | /* Begin XCConfigurationList section */ 555 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 556 | isa = XCConfigurationList; 557 | buildConfigurations = ( 558 | 015A368F878AC3E2CEAE21DDE8026304 /* Debug */, 559 | 44CDBB6D11DE06DB64D6268622BDC47E /* Release */, 560 | ); 561 | defaultConfigurationIsVisible = 0; 562 | defaultConfigurationName = Release; 563 | }; 564 | 3EC0B50C38EEB666304C2D86D9EA1725 /* Build configuration list for PBXNativeTarget "KDInteractiveNavigationController" */ = { 565 | isa = XCConfigurationList; 566 | buildConfigurations = ( 567 | 78BDD75825240F034804D41E2231E63D /* Debug */, 568 | F69653BA45139924EA0DF333B55800E2 /* Release */, 569 | ); 570 | defaultConfigurationIsVisible = 0; 571 | defaultConfigurationName = Release; 572 | }; 573 | 89FBC92F2BCC7313E29B2D00FDF691A3 /* Build configuration list for PBXNativeTarget "Pods-DemoApp" */ = { 574 | isa = XCConfigurationList; 575 | buildConfigurations = ( 576 | 6304372BA33AA2F19DDEFF8B08CD8B4A /* Debug */, 577 | 473C9DB8A877016E06F759462FD9E375 /* Release */, 578 | ); 579 | defaultConfigurationIsVisible = 0; 580 | defaultConfigurationName = Release; 581 | }; 582 | /* End XCConfigurationList section */ 583 | }; 584 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 585 | } 586 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/KDInteractiveNavigationController/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 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.2 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_KDInteractiveNavigationController : NSObject 3 | @end 4 | @implementation PodsDummy_KDInteractiveNavigationController 5 | @end 6 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double KDInteractiveNavigationControllerVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char KDInteractiveNavigationControllerVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController.modulemap: -------------------------------------------------------------------------------- 1 | framework module KDInteractiveNavigationController { 2 | umbrella header "KDInteractiveNavigationController-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/KDInteractiveNavigationController/KDInteractiveNavigationController.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/KDInteractiveNavigationController 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_LDFLAGS = -framework "UIKit" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" "-suppress-warnings" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## KDInteractiveNavigationController 5 | 6 | The MIT License (MIT) 7 | 8 | Copyright (c) 2015 Kingiol 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | 29 | Generated by CocoaPods - https://cocoapods.org 30 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | The MIT License (MIT) 18 | 19 | Copyright (c) 2015 Kingiol 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | 40 | License 41 | MIT 42 | Title 43 | KDInteractiveNavigationController 44 | Type 45 | PSGroupSpecifier 46 | 47 | 48 | FooterText 49 | Generated by CocoaPods - https://cocoapods.org 50 | Title 51 | 52 | Type 53 | PSGroupSpecifier 54 | 55 | 56 | StringsTable 57 | Acknowledgements 58 | Title 59 | Acknowledgements 60 | 61 | 62 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DemoApp : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DemoApp 5 | @end 6 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "$BUILT_PRODUCTS_DIR/KDInteractiveNavigationController/KDInteractiveNavigationController.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "$BUILT_PRODUCTS_DIR/KDInteractiveNavigationController/KDInteractiveNavigationController.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_DemoAppVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_DemoAppVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KDInteractiveNavigationController" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/KDInteractiveNavigationController/KDInteractiveNavigationController.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "KDInteractiveNavigationController" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_DemoApp { 2 | umbrella header "Pods-DemoApp-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KDInteractiveNavigationController" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/KDInteractiveNavigationController/KDInteractiveNavigationController.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "KDInteractiveNavigationController" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | 3 | s.name = "KDInteractiveNavigationController" 4 | s.version = "0.4" 5 | s.summary = "A UINavigationController subclass that support interactive UINavigationbar with hidden or show." 6 | 7 | s.homepage = "https://github.com/kingiol/KDInteractiveNavigationController" 8 | s.screenshots = "https://raw.githubusercontent.com/kingiol/KDInteractiveNavigationController/master/etc/screenshots.gif" 9 | 10 | s.license = { :type => 'MIT', :file => 'LICENSE' } 11 | s.authors = { "kingiol" => "kingxiaokang@gmail.com" } 12 | 13 | # s.platform = :ios, "8.0" 14 | s.requires_arc = true 15 | 16 | s.ios.deployment_target = "8.0" 17 | # s.osx.deployment_target = "10.9" 18 | # s.watchos.deployment_target = "2.0" 19 | # s.tvos.deployment_target = "9.0" 20 | 21 | s.source = { :git => "https://github.com/kingiol/KDInteractiveNavigationController.git", :tag => s.version.to_s } 22 | 23 | s.source_files = "KDInteractiveNavigationController/*.{swift}" 24 | s.frameworks = ['UIKit'] 25 | end 26 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 6260F79E1C00A4A7003DC9FE /* KDInteractiveNavigationController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6260F79D1C00A4A7003DC9FE /* KDInteractiveNavigationController.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 6260F7B51C00A611003DC9FE /* KDInteractiveNavigationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6260F7B41C00A611003DC9FE /* KDInteractiveNavigationController.swift */; }; 12 | 6260F7B71C00A634003DC9FE /* UIViewController+InteractiveNavigation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6260F7B61C00A634003DC9FE /* UIViewController+InteractiveNavigation.swift */; }; 13 | /* End PBXBuildFile section */ 14 | 15 | /* Begin PBXFileReference section */ 16 | 6260F79A1C00A4A7003DC9FE /* KDInteractiveNavigationController.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KDInteractiveNavigationController.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 17 | 6260F79D1C00A4A7003DC9FE /* KDInteractiveNavigationController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KDInteractiveNavigationController.h; sourceTree = ""; }; 18 | 6260F79F1C00A4A7003DC9FE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 19 | 6260F7B41C00A611003DC9FE /* KDInteractiveNavigationController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KDInteractiveNavigationController.swift; sourceTree = ""; }; 20 | 6260F7B61C00A634003DC9FE /* UIViewController+InteractiveNavigation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIViewController+InteractiveNavigation.swift"; sourceTree = ""; }; 21 | /* End PBXFileReference section */ 22 | 23 | /* Begin PBXFrameworksBuildPhase section */ 24 | 6260F7961C00A4A7003DC9FE /* Frameworks */ = { 25 | isa = PBXFrameworksBuildPhase; 26 | buildActionMask = 2147483647; 27 | files = ( 28 | ); 29 | runOnlyForDeploymentPostprocessing = 0; 30 | }; 31 | /* End PBXFrameworksBuildPhase section */ 32 | 33 | /* Begin PBXGroup section */ 34 | 6260F7901C00A4A7003DC9FE = { 35 | isa = PBXGroup; 36 | children = ( 37 | 6260F79C1C00A4A7003DC9FE /* KDInteractiveNavigationController */, 38 | 6260F79B1C00A4A7003DC9FE /* Products */, 39 | ); 40 | sourceTree = ""; 41 | }; 42 | 6260F79B1C00A4A7003DC9FE /* Products */ = { 43 | isa = PBXGroup; 44 | children = ( 45 | 6260F79A1C00A4A7003DC9FE /* KDInteractiveNavigationController.framework */, 46 | ); 47 | name = Products; 48 | sourceTree = ""; 49 | }; 50 | 6260F79C1C00A4A7003DC9FE /* KDInteractiveNavigationController */ = { 51 | isa = PBXGroup; 52 | children = ( 53 | 6260F79D1C00A4A7003DC9FE /* KDInteractiveNavigationController.h */, 54 | 6260F79F1C00A4A7003DC9FE /* Info.plist */, 55 | 6260F7B41C00A611003DC9FE /* KDInteractiveNavigationController.swift */, 56 | 6260F7B61C00A634003DC9FE /* UIViewController+InteractiveNavigation.swift */, 57 | ); 58 | path = KDInteractiveNavigationController; 59 | sourceTree = ""; 60 | }; 61 | /* End PBXGroup section */ 62 | 63 | /* Begin PBXHeadersBuildPhase section */ 64 | 6260F7971C00A4A7003DC9FE /* Headers */ = { 65 | isa = PBXHeadersBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | 6260F79E1C00A4A7003DC9FE /* KDInteractiveNavigationController.h in Headers */, 69 | ); 70 | runOnlyForDeploymentPostprocessing = 0; 71 | }; 72 | /* End PBXHeadersBuildPhase section */ 73 | 74 | /* Begin PBXNativeTarget section */ 75 | 6260F7991C00A4A7003DC9FE /* KDInteractiveNavigationController */ = { 76 | isa = PBXNativeTarget; 77 | buildConfigurationList = 6260F7AE1C00A4A7003DC9FE /* Build configuration list for PBXNativeTarget "KDInteractiveNavigationController" */; 78 | buildPhases = ( 79 | 6260F7951C00A4A7003DC9FE /* Sources */, 80 | 6260F7961C00A4A7003DC9FE /* Frameworks */, 81 | 6260F7971C00A4A7003DC9FE /* Headers */, 82 | 6260F7981C00A4A7003DC9FE /* Resources */, 83 | ); 84 | buildRules = ( 85 | ); 86 | dependencies = ( 87 | ); 88 | name = KDInteractiveNavigationController; 89 | productName = KDInteractiveNavigationController; 90 | productReference = 6260F79A1C00A4A7003DC9FE /* KDInteractiveNavigationController.framework */; 91 | productType = "com.apple.product-type.framework"; 92 | }; 93 | /* End PBXNativeTarget section */ 94 | 95 | /* Begin PBXProject section */ 96 | 6260F7911C00A4A7003DC9FE /* Project object */ = { 97 | isa = PBXProject; 98 | attributes = { 99 | LastSwiftUpdateCheck = 0710; 100 | LastUpgradeCheck = 0900; 101 | ORGANIZATIONNAME = Kingiol; 102 | TargetAttributes = { 103 | 6260F7991C00A4A7003DC9FE = { 104 | CreatedOnToolsVersion = 7.1.1; 105 | LastSwiftMigration = 0900; 106 | }; 107 | }; 108 | }; 109 | buildConfigurationList = 6260F7941C00A4A7003DC9FE /* Build configuration list for PBXProject "KDInteractiveNavigationController" */; 110 | compatibilityVersion = "Xcode 3.2"; 111 | developmentRegion = English; 112 | hasScannedForEncodings = 0; 113 | knownRegions = ( 114 | en, 115 | ); 116 | mainGroup = 6260F7901C00A4A7003DC9FE; 117 | productRefGroup = 6260F79B1C00A4A7003DC9FE /* Products */; 118 | projectDirPath = ""; 119 | projectRoot = ""; 120 | targets = ( 121 | 6260F7991C00A4A7003DC9FE /* KDInteractiveNavigationController */, 122 | ); 123 | }; 124 | /* End PBXProject section */ 125 | 126 | /* Begin PBXResourcesBuildPhase section */ 127 | 6260F7981C00A4A7003DC9FE /* Resources */ = { 128 | isa = PBXResourcesBuildPhase; 129 | buildActionMask = 2147483647; 130 | files = ( 131 | ); 132 | runOnlyForDeploymentPostprocessing = 0; 133 | }; 134 | /* End PBXResourcesBuildPhase section */ 135 | 136 | /* Begin PBXSourcesBuildPhase section */ 137 | 6260F7951C00A4A7003DC9FE /* Sources */ = { 138 | isa = PBXSourcesBuildPhase; 139 | buildActionMask = 2147483647; 140 | files = ( 141 | 6260F7B51C00A611003DC9FE /* KDInteractiveNavigationController.swift in Sources */, 142 | 6260F7B71C00A634003DC9FE /* UIViewController+InteractiveNavigation.swift in Sources */, 143 | ); 144 | runOnlyForDeploymentPostprocessing = 0; 145 | }; 146 | /* End PBXSourcesBuildPhase section */ 147 | 148 | /* Begin XCBuildConfiguration section */ 149 | 6260F7AC1C00A4A7003DC9FE /* Debug */ = { 150 | isa = XCBuildConfiguration; 151 | buildSettings = { 152 | ALWAYS_SEARCH_USER_PATHS = NO; 153 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 154 | CLANG_CXX_LIBRARY = "libc++"; 155 | CLANG_ENABLE_MODULES = YES; 156 | CLANG_ENABLE_OBJC_ARC = YES; 157 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 158 | CLANG_WARN_BOOL_CONVERSION = YES; 159 | CLANG_WARN_COMMA = YES; 160 | CLANG_WARN_CONSTANT_CONVERSION = YES; 161 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 162 | CLANG_WARN_EMPTY_BODY = YES; 163 | CLANG_WARN_ENUM_CONVERSION = YES; 164 | CLANG_WARN_INFINITE_RECURSION = YES; 165 | CLANG_WARN_INT_CONVERSION = YES; 166 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 167 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 168 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 169 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 170 | CLANG_WARN_STRICT_PROTOTYPES = YES; 171 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 172 | CLANG_WARN_UNREACHABLE_CODE = YES; 173 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 174 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 175 | COPY_PHASE_STRIP = NO; 176 | CURRENT_PROJECT_VERSION = 1; 177 | DEBUG_INFORMATION_FORMAT = dwarf; 178 | ENABLE_STRICT_OBJC_MSGSEND = YES; 179 | ENABLE_TESTABILITY = YES; 180 | GCC_C_LANGUAGE_STANDARD = gnu99; 181 | GCC_DYNAMIC_NO_PIC = NO; 182 | GCC_NO_COMMON_BLOCKS = YES; 183 | GCC_OPTIMIZATION_LEVEL = 0; 184 | GCC_PREPROCESSOR_DEFINITIONS = ( 185 | "DEBUG=1", 186 | "$(inherited)", 187 | ); 188 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 189 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 190 | GCC_WARN_UNDECLARED_SELECTOR = YES; 191 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 192 | GCC_WARN_UNUSED_FUNCTION = YES; 193 | GCC_WARN_UNUSED_VARIABLE = YES; 194 | IPHONEOS_DEPLOYMENT_TARGET = 9.1; 195 | MTL_ENABLE_DEBUG_INFO = YES; 196 | ONLY_ACTIVE_ARCH = YES; 197 | SDKROOT = iphoneos; 198 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 199 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 200 | SWIFT_VERSION = 4.0; 201 | TARGETED_DEVICE_FAMILY = "1,2"; 202 | VERSIONING_SYSTEM = "apple-generic"; 203 | VERSION_INFO_PREFIX = ""; 204 | }; 205 | name = Debug; 206 | }; 207 | 6260F7AD1C00A4A7003DC9FE /* Release */ = { 208 | isa = XCBuildConfiguration; 209 | buildSettings = { 210 | ALWAYS_SEARCH_USER_PATHS = NO; 211 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 212 | CLANG_CXX_LIBRARY = "libc++"; 213 | CLANG_ENABLE_MODULES = YES; 214 | CLANG_ENABLE_OBJC_ARC = YES; 215 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 216 | CLANG_WARN_BOOL_CONVERSION = YES; 217 | CLANG_WARN_COMMA = YES; 218 | CLANG_WARN_CONSTANT_CONVERSION = YES; 219 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 220 | CLANG_WARN_EMPTY_BODY = YES; 221 | CLANG_WARN_ENUM_CONVERSION = YES; 222 | CLANG_WARN_INFINITE_RECURSION = YES; 223 | CLANG_WARN_INT_CONVERSION = YES; 224 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 225 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 226 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 227 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 228 | CLANG_WARN_STRICT_PROTOTYPES = YES; 229 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 230 | CLANG_WARN_UNREACHABLE_CODE = YES; 231 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 232 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 233 | COPY_PHASE_STRIP = NO; 234 | CURRENT_PROJECT_VERSION = 1; 235 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 236 | ENABLE_NS_ASSERTIONS = NO; 237 | ENABLE_STRICT_OBJC_MSGSEND = YES; 238 | GCC_C_LANGUAGE_STANDARD = gnu99; 239 | GCC_NO_COMMON_BLOCKS = YES; 240 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 241 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 242 | GCC_WARN_UNDECLARED_SELECTOR = YES; 243 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 244 | GCC_WARN_UNUSED_FUNCTION = YES; 245 | GCC_WARN_UNUSED_VARIABLE = YES; 246 | IPHONEOS_DEPLOYMENT_TARGET = 9.1; 247 | MTL_ENABLE_DEBUG_INFO = NO; 248 | SDKROOT = iphoneos; 249 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 250 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 251 | SWIFT_VERSION = 4.0; 252 | TARGETED_DEVICE_FAMILY = "1,2"; 253 | VALIDATE_PRODUCT = YES; 254 | VERSIONING_SYSTEM = "apple-generic"; 255 | VERSION_INFO_PREFIX = ""; 256 | }; 257 | name = Release; 258 | }; 259 | 6260F7AF1C00A4A7003DC9FE /* Debug */ = { 260 | isa = XCBuildConfiguration; 261 | buildSettings = { 262 | CLANG_ENABLE_MODULES = YES; 263 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 264 | DEFINES_MODULE = YES; 265 | DYLIB_COMPATIBILITY_VERSION = 1; 266 | DYLIB_CURRENT_VERSION = 1; 267 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 268 | INFOPLIST_FILE = KDInteractiveNavigationController/Info.plist; 269 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 270 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 271 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 272 | OTHER_CFLAGS = ""; 273 | PRODUCT_BUNDLE_IDENTIFIER = com.kingiol.component.KDInteractiveNavigationController; 274 | PRODUCT_NAME = "$(TARGET_NAME)"; 275 | SKIP_INSTALL = YES; 276 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 277 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 278 | SWIFT_VERSION = 4.0; 279 | }; 280 | name = Debug; 281 | }; 282 | 6260F7B01C00A4A7003DC9FE /* Release */ = { 283 | isa = XCBuildConfiguration; 284 | buildSettings = { 285 | CLANG_ENABLE_MODULES = YES; 286 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 287 | DEFINES_MODULE = YES; 288 | DYLIB_COMPATIBILITY_VERSION = 1; 289 | DYLIB_CURRENT_VERSION = 1; 290 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 291 | INFOPLIST_FILE = KDInteractiveNavigationController/Info.plist; 292 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 293 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 294 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 295 | OTHER_CFLAGS = ""; 296 | PRODUCT_BUNDLE_IDENTIFIER = com.kingiol.component.KDInteractiveNavigationController; 297 | PRODUCT_NAME = "$(TARGET_NAME)"; 298 | SKIP_INSTALL = YES; 299 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 300 | SWIFT_VERSION = 4.0; 301 | }; 302 | name = Release; 303 | }; 304 | /* End XCBuildConfiguration section */ 305 | 306 | /* Begin XCConfigurationList section */ 307 | 6260F7941C00A4A7003DC9FE /* Build configuration list for PBXProject "KDInteractiveNavigationController" */ = { 308 | isa = XCConfigurationList; 309 | buildConfigurations = ( 310 | 6260F7AC1C00A4A7003DC9FE /* Debug */, 311 | 6260F7AD1C00A4A7003DC9FE /* Release */, 312 | ); 313 | defaultConfigurationIsVisible = 0; 314 | defaultConfigurationName = Release; 315 | }; 316 | 6260F7AE1C00A4A7003DC9FE /* Build configuration list for PBXNativeTarget "KDInteractiveNavigationController" */ = { 317 | isa = XCConfigurationList; 318 | buildConfigurations = ( 319 | 6260F7AF1C00A4A7003DC9FE /* Debug */, 320 | 6260F7B01C00A4A7003DC9FE /* Release */, 321 | ); 322 | defaultConfigurationIsVisible = 0; 323 | defaultConfigurationName = Release; 324 | }; 325 | /* End XCConfigurationList section */ 326 | }; 327 | rootObject = 6260F7911C00A4A7003DC9FE /* Project object */; 328 | } 329 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController.xcodeproj/project.xcworkspace/xcuserdata/kingiol.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kingiol/KDInteractiveNavigationController/6ba6c6a97e6e4cef4b58b8a62c4dd71bd356a165/KDInteractiveNavigationController.xcodeproj/project.xcworkspace/xcuserdata/kingiol.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /KDInteractiveNavigationController.xcodeproj/xcshareddata/xcschemes/KDInteractiveNavigationController.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 66 | 67 | 73 | 74 | 75 | 76 | 77 | 78 | 84 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController.xcodeproj/xcshareddata/xcschemes/KDInteractiveNavigationController.xcscheme~dbed586432054907e78f9114486466b3dd45ec8c: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 47 | 48 | 54 | 55 | 56 | 57 | 58 | 59 | 65 | 66 | 72 | 73 | 74 | 75 | 77 | 78 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController.xcodeproj/xcuserdata/kingiol.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | KDInteractiveNavigationController.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 6260F7991C00A4A7003DC9FE 16 | 17 | primary 18 | 19 | 20 | 6260F7A31C00A4A7003DC9FE 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController/KDInteractiveNavigationController.h: -------------------------------------------------------------------------------- 1 | // 2 | // KDInteractiveNavigationController.h 3 | // KDInteractiveNavigationController 4 | // 5 | // Created by Kingiol on 15/11/21. 6 | // Copyright © 2015年 Kingiol. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for KDInteractiveNavigationController. 12 | FOUNDATION_EXPORT double KDInteractiveNavigationControllerVersionNumber; 13 | 14 | //! Project version string for KDInteractiveNavigationController. 15 | FOUNDATION_EXPORT const unsigned char KDInteractiveNavigationControllerVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController/KDInteractiveNavigationController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // KDInteractiveNavigationController.swift 3 | // KDInteractiveNavigationController 4 | // 5 | // Created by Kingiol on 15/11/21. 6 | // Copyright © 2015年 Kingiol. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @IBDesignable 12 | open class KDInteractiveNavigationController: UINavigationController { 13 | 14 | @IBInspectable open var clearBackTitle: Bool = false 15 | 16 | override open func viewDidLoad() { 17 | super.viewDidLoad() 18 | 19 | // Do any additional setup after loading the view. 20 | self.interactivePopGestureRecognizer?.delegate = self 21 | } 22 | 23 | override open func didReceiveMemoryWarning() { 24 | super.didReceiveMemoryWarning() 25 | // Dispose of any resources that can be recreated. 26 | } 27 | 28 | override open func pushViewController(_ viewController: UIViewController, animated: Bool) { 29 | controlClearBackTitle() 30 | super.pushViewController(viewController, animated: animated) 31 | } 32 | 33 | override open func show(_ vc: UIViewController, sender: Any?) { 34 | controlClearBackTitle() 35 | super.show(vc, sender: sender) 36 | } 37 | 38 | } 39 | 40 | // MARK: UIGestureRecognizerDelegate 41 | 42 | extension KDInteractiveNavigationController: UIGestureRecognizerDelegate { 43 | 44 | } 45 | 46 | // MARK: Private Methods 47 | 48 | extension KDInteractiveNavigationController { 49 | 50 | func controlClearBackTitle() { 51 | if clearBackTitle { 52 | topViewController?.navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil) 53 | } 54 | } 55 | 56 | } 57 | -------------------------------------------------------------------------------- /KDInteractiveNavigationController/UIViewController+InteractiveNavigation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+InteractiveNavigation.swift 3 | // KDInteractiveNavigationController 4 | // 5 | // Created by Kingiol on 15/11/21. 6 | // Copyright © 2015年 Kingiol. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | private var interactiveNavigationBarHiddenAssociationKey: UInt8 = 0 12 | 13 | extension UIApplication { 14 | override open var next: UIResponder? { 15 | UIViewController.awake 16 | return super.next 17 | } 18 | } 19 | 20 | extension UIViewController { 21 | static let awake : Void = { 22 | replaceInteractiveMethods() 23 | return 24 | }() 25 | 26 | @IBInspectable public var interactiveNavigationBarHidden: Bool { 27 | get { 28 | var associateValue = objc_getAssociatedObject(self, &interactiveNavigationBarHiddenAssociationKey) 29 | if associateValue == nil { 30 | associateValue = false 31 | } 32 | return associateValue as! Bool; 33 | } 34 | set { 35 | objc_setAssociatedObject(self, &interactiveNavigationBarHiddenAssociationKey, newValue, .OBJC_ASSOCIATION_RETAIN) 36 | } 37 | } 38 | 39 | fileprivate static func replaceInteractiveMethods() { 40 | method_exchangeImplementations( 41 | class_getInstanceMethod(self, #selector(UIViewController.viewWillAppear(_:)))!, 42 | class_getInstanceMethod(self, #selector(UIViewController.KD_interactiveViewWillAppear(_:)))!) 43 | } 44 | 45 | @objc func KD_interactiveViewWillAppear(_ animated: Bool) { 46 | KD_interactiveViewWillAppear(animated) 47 | let excludeVCs = [ 48 | "CKSMSComposeRemoteViewController", 49 | "CKSMSComposeController", 50 | ] 51 | let vcName = NSStringFromClass(type(of: self)) 52 | if excludeVCs.contains(vcName) { return } 53 | navigationController?.setNavigationBarHidden(interactiveNavigationBarHidden, animated: animated) 54 | } 55 | 56 | } 57 | 58 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Kingiol 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # KDInteractiveNavigationController 2 | ![Swift](https://img.shields.io/badge/language-Swift-orange.svg) 3 | [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/kingiol/KDInteractiveNavigationController/blob/master/LICENSE) 4 | [![CocoaPods](https://img.shields.io/cocoapods/v/KDInteractiveNavigationController.svg)](https://github.com/kingiol/KDInteractiveNavigationController) 5 | [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/kingiol/KDInteractiveNavigationController) 6 | 7 | ![screenshots](./etc/screenshots.gif) 8 | 9 | ## Features :sparkles: 10 | 11 | - UINavigationController interactive with UINavigationBar hidden or show 12 | - Hide all UINavigationController backButtonItem's title, only show back arrow 13 | 14 | ## Requirements 15 | 16 | - iOS 8.0+ 17 | - Xcode 7.1+ 18 | 19 | ## Installation 20 | 21 | ### CocoaPods 22 | [CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command: 23 | 24 | ```bash 25 | $ gem install cocoapods 26 | ``` 27 | 28 | > CocoaPods 0.39.0+ is required to build. 29 | 30 | To integrage KDInteractiveNavigationController into your Xcode project using CocoaPods, specify it in your `Podfile`: 31 | 32 | ```ruby 33 | source 'https://github.com/CocoaPods/Specs.git' 34 | platform :ios, '8.0' 35 | use_frameworks! 36 | inhibit_all_warnings! 37 | 38 | pod 'KDInteractiveNavigationController' 39 | ``` 40 | 41 | Then, run the following command: 42 | 43 | ```bash 44 | $ pod install 45 | ``` 46 | 47 | ### Carthage 48 | [Carthage](htps://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. 49 | 50 | You can install Carthage with [Homebrew](http://brew.sh/) using the following command: 51 | 52 | ```bash 53 | $ brew update 54 | $ brew install carthage 55 | ``` 56 | 57 | To integrate KDInteractiveNavigationController into your Xcode project using Carthage, specify it in your `Cartfile`: 58 | 59 | ```ogdl 60 | github 'kingiol/KDInteractiveNavigationController' 61 | ``` 62 | 63 | Run `carthage` to build the framework and drag the built `KDInteractiveNavigationController.framework` into your Xcode project. 64 | 65 | ## Usage - Easy to Use 66 | 67 | ### UINavigationController interactive 68 | 69 | > default UINavigationBar is show, when you want hiden UINavigationBar 70 | > in UIViewController `viewDidLoad` method 71 | 72 | ```swift 73 | override func viewDidLoad() { 74 | super.viewDidLoad() 75 | // Do any additional setup after loading the view, typically from a nib. 76 | self.interactiveNavigationBarHidden = true 77 | } 78 | ``` 79 | 80 | ### Hide all UINavigationController backButtonItem's title 81 | 82 | > user KDInteractiveNavigationController instead of UINavigationController. 83 | > then set `clearBackTitle = true` 84 | 85 | ### Storyboard 86 | 87 | ![storyboard](./etc/storyboard.gif) 88 | 89 | ## Credits 90 | 91 | AHKNavigationController was created by [@Kingiol](https://github.com/kingiol). 92 | 93 | ## License 94 | 95 | AHKNavigationController is released under the MIT license. See LICENSE for details. -------------------------------------------------------------------------------- /etc/screenshots.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kingiol/KDInteractiveNavigationController/6ba6c6a97e6e4cef4b58b8a62c4dd71bd356a165/etc/screenshots.gif -------------------------------------------------------------------------------- /etc/storyboard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kingiol/KDInteractiveNavigationController/6ba6c6a97e6e4cef4b58b8a62c4dd71bd356a165/etc/storyboard.gif --------------------------------------------------------------------------------