├── _Pods.xcodeproj ├── Static ├── material_navbar.gif ├── material_navbar.sketch ├── material-navbar-logo.png ├── material-navbar-logo@2x.png └── material-navbar-logo@3x.png ├── Example ├── build │ └── XCBuildData │ │ ├── 14b2ac2fdce0e9029383aa33d2a7189e-desc.xcbuild │ │ ├── e0d27d291f0707257d31690642088803-desc.xcbuild │ │ └── BuildDescriptionCacheIndex-f6ad688b9c6022eccd36a21279f4eecd ├── Pods │ ├── Target Support Files │ │ ├── MaterialNavbar │ │ │ ├── MaterialNavbar.modulemap │ │ │ ├── MaterialNavbar-dummy.m │ │ │ ├── MaterialNavbar-prefix.pch │ │ │ ├── MaterialNavbar-umbrella.h │ │ │ ├── MaterialNavbar.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-MaterialNavbar_Tests │ │ │ ├── Pods-MaterialNavbar_Tests-acknowledgements.markdown │ │ │ ├── Pods-MaterialNavbar_Tests.modulemap │ │ │ ├── Pods-MaterialNavbar_Tests-dummy.m │ │ │ ├── Pods-MaterialNavbar_Tests-umbrella.h │ │ │ ├── Pods-MaterialNavbar_Tests.debug.xcconfig │ │ │ ├── Pods-MaterialNavbar_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-MaterialNavbar_Tests-acknowledgements.plist │ │ │ ├── Pods-MaterialNavbar_Tests-resources.sh │ │ │ └── Pods-MaterialNavbar_Tests-frameworks.sh │ │ └── Pods-MaterialNavbar_Example │ │ │ ├── Pods-MaterialNavbar_Example.modulemap │ │ │ ├── Pods-MaterialNavbar_Example-dummy.m │ │ │ ├── Pods-MaterialNavbar_Example-umbrella.h │ │ │ ├── Pods-MaterialNavbar_Example.debug.xcconfig │ │ │ ├── Pods-MaterialNavbar_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-MaterialNavbar_Example-acknowledgements.markdown │ │ │ ├── Pods-MaterialNavbar_Example-acknowledgements.plist │ │ │ ├── Pods-MaterialNavbar_Example-resources.sh │ │ │ └── Pods-MaterialNavbar_Example-frameworks.sh │ ├── Pods.xcodeproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ ├── xcuserdata │ │ │ │ └── jogendra.xcuserdatad │ │ │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── xcuserdata │ │ │ └── jogendra.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── xcschememanagement.plist │ │ │ │ ├── MaterialNavbar.xcscheme │ │ │ │ ├── Pods-MaterialNavbar_Tests.xcscheme │ │ │ │ └── Pods-MaterialNavbar_Example.xcscheme │ │ ├── xcshareddata │ │ │ └── xcschemes │ │ │ │ └── MaterialNavbar.xcscheme │ │ └── project.pbxproj │ ├── Manifest.lock │ └── Local Podspecs │ │ └── MaterialNavbar.podspec.json ├── Podfile ├── MaterialNavbar.xcworkspace │ ├── xcuserdata │ │ └── jogendra.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── MaterialNavbar.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── MaterialNavbar-Example.xcscheme │ └── project.pbxproj ├── Podfile.lock ├── MaterialNavbar │ ├── ViewController.swift │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.xib │ └── AppDelegate.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── MaterialNavbar.podspec ├── LICENSE ├── README.md └── MaterialNavbar └── MaterialNavbar.swift /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Static/material_navbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Static/material_navbar.gif -------------------------------------------------------------------------------- /Static/material_navbar.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Static/material_navbar.sketch -------------------------------------------------------------------------------- /Static/material-navbar-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Static/material-navbar-logo.png -------------------------------------------------------------------------------- /Static/material-navbar-logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Static/material-navbar-logo@2x.png -------------------------------------------------------------------------------- /Static/material-navbar-logo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Static/material-navbar-logo@3x.png -------------------------------------------------------------------------------- /Example/build/XCBuildData/14b2ac2fdce0e9029383aa33d2a7189e-desc.xcbuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Example/build/XCBuildData/14b2ac2fdce0e9029383aa33d2a7189e-desc.xcbuild -------------------------------------------------------------------------------- /Example/build/XCBuildData/e0d27d291f0707257d31690642088803-desc.xcbuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Example/build/XCBuildData/e0d27d291f0707257d31690642088803-desc.xcbuild -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MaterialNavbar/MaterialNavbar.modulemap: -------------------------------------------------------------------------------- 1 | framework module MaterialNavbar { 2 | umbrella header "MaterialNavbar-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MaterialNavbar/MaterialNavbar-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MaterialNavbar : NSObject 3 | @end 4 | @implementation PodsDummy_MaterialNavbar 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/build/XCBuildData/BuildDescriptionCacheIndex-f6ad688b9c6022eccd36a21279f4eecd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Example/build/XCBuildData/BuildDescriptionCacheIndex-f6ad688b9c6022eccd36a21279f4eecd -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'MaterialNavbar_Example' do 4 | pod 'MaterialNavbar', :path => '../' 5 | 6 | target 'MaterialNavbar_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/MaterialNavbar.xcworkspace/xcuserdata/jogendra.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Example/MaterialNavbar.xcworkspace/xcuserdata/jogendra.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_MaterialNavbar_Tests { 2 | umbrella header "Pods-MaterialNavbar_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/MaterialNavbar.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_MaterialNavbar_Example { 2 | umbrella header "Pods-MaterialNavbar_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MaterialNavbar_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MaterialNavbar_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MaterialNavbar_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MaterialNavbar_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/jogendra.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jogendra/material-navigation-bar/HEAD/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/jogendra.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MaterialNavbar/MaterialNavbar-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/MaterialNavbar.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/MaterialNavbar.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MaterialNavbar (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - MaterialNavbar (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | MaterialNavbar: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | MaterialNavbar: 206693445f1762de41303fa669517e80893bf3f2 13 | 14 | PODFILE CHECKSUM: d69b2a71406aba083a66f883edef48b43d2092c2 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MaterialNavbar (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - MaterialNavbar (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | MaterialNavbar: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | MaterialNavbar: 206693445f1762de41303fa669517e80893bf3f2 13 | 14 | PODFILE CHECKSUM: d69b2a71406aba083a66f883edef48b43d2092c2 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/jogendra.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseTargetSettings 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MaterialNavbar/MaterialNavbar-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double MaterialNavbarVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char MaterialNavbarVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | osx_image: xcode10 2 | language: objective-c 3 | # cache: cocoapods 4 | # podfile: Example/Podfile 5 | # before_install: 6 | # - gem install cocoapods # Since Travis is not always on latest version 7 | # - pod install --project-directory=Example 8 | script: 9 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/MaterialNavbar.xcworkspace -scheme MaterialNavbar-Example -sdk iphonesimulator12.0 ONLY_ACTIVE_ARCH=NO | xcpretty 10 | - pod lib lint 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_MaterialNavbar_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_MaterialNavbar_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_MaterialNavbar_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_MaterialNavbar_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MaterialNavbar/MaterialNavbar.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/MaterialNavbar/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // MaterialNavbar 4 | // 5 | // Created by jogendra on 11/28/2018. 6 | // Copyright (c) 2018 jogendra. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // Do any additional setup after loading the view, typically from a nib. 16 | } 17 | 18 | override func didReceiveMemoryWarning() { 19 | super.didReceiveMemoryWarning() 20 | // Dispose of any resources that can be recreated. 21 | } 22 | 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar/MaterialNavbar.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar/MaterialNavbar.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/MaterialNavbar.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MaterialNavbar", 3 | "version": "0.1.0", 4 | "summary": "A short description of MaterialNavbar.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/jogendra/MaterialNavbar", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "jogendra": "imjog24@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/jogendra/MaterialNavbar.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "MaterialNavbar/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /MaterialNavbar.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'MaterialNavbar' 3 | s.version = '1.0.1' 4 | s.summary = 'Custom UINavigationBar with Google Material style, for iOS written on Swift.' 5 | s.homepage = 'https://github.com/jogendra/material-navigation-bar' 6 | s.social_media_url = 'https://twitter.com/imjog24' 7 | s.license = { :type => 'MIT', :file => 'LICENSE' } 8 | s.author = { 'Jogendra Kumar' => 'jogendra.iitbhu@gmail.com' } 9 | s.source = { :git => 'https://github.com/jogendra/material-navigation-bar.git', :tag => s.version.to_s } 10 | s.ios.deployment_target = '10.0' 11 | s.swift_version = '4.2' 12 | s.source_files = 'MaterialNavbar/*.swift' 13 | end 14 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/jogendra.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MaterialNavbar.xcscheme_^#shared#^_ 8 | 9 | isShown 10 | 11 | 12 | Pods-MaterialNavbar_Example.xcscheme 13 | 14 | isShown 15 | 16 | 17 | Pods-MaterialNavbar_Tests.xcscheme 18 | 19 | isShown 20 | 21 | 22 | 23 | SuppressBuildableAutocreation 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar/MaterialNavbar.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "MaterialNavbar" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/MaterialNavbar/MaterialNavbar.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "MaterialNavbar" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Tests/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 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import MaterialNavbar 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/MaterialNavbar/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.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests-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 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/MaterialNavbar/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Jogendra Kumar 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 | -------------------------------------------------------------------------------- /Example/MaterialNavbar/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 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## MaterialNavbar 5 | 6 | Copyright (c) 2018 jogendra 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/MaterialNavbar/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 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Example/MaterialNavbar/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // MaterialNavbar 4 | // 5 | // Created by jogendra on 11/28/2018. 6 | // Copyright (c) 2018 jogendra. 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 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/jogendra.xcuserdatad/xcschemes/MaterialNavbar.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example-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 | Copyright (c) 2018 jogendra <imjog24@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | MaterialNavbar 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/MaterialNavbar.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/jogendra.xcuserdatad/xcschemes/Pods-MaterialNavbar_Tests.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/jogendra.xcuserdatad/xcschemes/Pods-MaterialNavbar_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # MaterialNavbar 5 | 6 | Custom UINavigationBar with Google Material style for iOS 7 | 8 | 9 | 10 | [![Build Status](https://travis-ci.org/jogendra/material-navigation-bar.svg?branch=master)](https://travis-ci.org/jogendra/material-navigation-bar) 11 | [![Version](https://img.shields.io/cocoapods/v/MaterialNavbar.svg?style=flat)](https://cocoapods.org/pods/MaterialNavbar) 12 | [![License](https://img.shields.io/cocoapods/l/MaterialNavbar.svg?style=flat)](https://cocoapods.org/pods/MaterialNavbar) 13 | [![Platform](https://img.shields.io/cocoapods/p/MaterialNavbar.svg?style=flat)](https://cocoapods.org/pods/MaterialNavbar) 14 | 15 | ## Demo/Example 16 | For demo: 17 | ``` 18 | $ pod try MaterialNavbar 19 | ``` 20 | 21 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 22 | ``` 23 | $ cd Example 24 | ``` 25 | ``` 26 | $ pod install 27 | ``` 28 | If you don't have CocoaPods installed, grab it with `[sudo] gem install cocoapods`. 29 | ``` 30 | $ open MaterialNavbar.xcworkspace 31 | ``` 32 | 33 | ## Requirements 34 | - iOS 10.0 or later 35 | - Swift 4.2 36 | - Xcode 10 37 | 38 | ## Installation 39 | 40 | #### CocoaPods 41 | 42 | MaterialNavbar is available through [CocoaPods](https://cocoapods.org). To install 43 | it, simply add the following line to your Podfile: 44 | 45 | ```ruby 46 | pod 'MaterialNavbar' 47 | ``` 48 | 49 | #### Manual Installation 50 | Just drag the `MaterialNavbar.swift` files into your project. 51 | 52 | ## Usage 53 | MaterialNavbar is a subclass of `UINavigationBar`, so you use it as usually. For init `MaterialNavbar` in a `UINavigationController` follow the example bellow: 54 | ``` 55 | var navigationController = UINavigationController(navigationBarClass: MaterialNavbar.self, toolbarClass: nil) 56 | navigationController.viewControllers = [ViewController()] 57 | ``` 58 | #### Theme 59 | To use a theme: 60 | ``` 61 | MaterialNavbar.changeColorNavigationBar(ThemeColor.Red) 62 | ``` 63 | 64 | Inspired by: RRNavigationBar 65 | 66 | ## Author 67 | 68 | 69 | 70 | 81 | 82 |
71 | 72 | 73 | Jogendra Kumar 74 | 75 |

76 | 77 | 78 | 79 |

80 |
83 | 84 | ## DONATION 85 | If this project help you reduce time to develop or you loved this project, you can give me a cup of coffee :) 86 | 87 | [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5TZAT3TL6XTD4&source=url) 88 | 89 | ## License 90 | 91 | MaterialNavbar is available under the MIT license. See the [LICENSE](LICENSE) file for more info. 92 | -------------------------------------------------------------------------------- /Example/MaterialNavbar/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/MaterialNavbar.xcodeproj/xcshareddata/xcschemes/MaterialNavbar-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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}" || true 60 | 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} 61 | ;; 62 | *.xib) 63 | 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}" || true 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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}" || true 60 | 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} 61 | ;; 62 | *.xib) 63 | 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}" || true 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 95 | else 96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 145 | wait 146 | fi 147 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 95 | else 96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | 145 | if [[ "$CONFIGURATION" == "Debug" ]]; then 146 | install_framework "${BUILT_PRODUCTS_DIR}/MaterialNavbar/MaterialNavbar.framework" 147 | fi 148 | if [[ "$CONFIGURATION" == "Release" ]]; then 149 | install_framework "${BUILT_PRODUCTS_DIR}/MaterialNavbar/MaterialNavbar.framework" 150 | fi 151 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 152 | wait 153 | fi 154 | -------------------------------------------------------------------------------- /MaterialNavbar/MaterialNavbar.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MaterialNavbar.swift 3 | // MaterialNavbar 4 | // 5 | // Created by JOGENDRA on 27/11/18. 6 | // Copyright © 2018 Jogendra Singh. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | enum ThemeColor { 12 | case Red, Pink, Purple, DeepPurple, Indigo, Blue, LightBlue, Cyan, Teal, Green, LightGreen, Lime, Yellow, Amber, Orange, DeepOrange, Brown, Grey, BlueGrey 13 | 14 | func toColor() -> (statusBar: UIColor, navigationBar: UIColor) { 15 | switch self { 16 | case .Red: 17 | return (UIColor(red: 211 / 255.0, green: 47 / 255.0, blue: 47 / 255.0, alpha: 1), 18 | UIColor(red: 244 / 255.0, green: 67 / 255.0, blue: 54 / 255.0, alpha: 1)) 19 | case .Pink: 20 | return (UIColor(red: 194 / 255.0, green: 24 / 255.0, blue: 91 / 255.0, alpha: 1), 21 | UIColor(red: 233 / 255.0, green: 30 / 255.0, blue: 99 / 255.0, alpha: 1)) 22 | case .Purple: 23 | return (UIColor(red: 123 / 255.0, green: 31 / 255.0, blue: 162 / 255.0, alpha: 1), 24 | UIColor(red: 156 / 255.0, green: 39 / 255.0, blue: 176 / 255.0, alpha: 1)) 25 | case .DeepPurple: 26 | return (UIColor(red: 81 / 255.0, green: 45 / 255.0, blue: 168 / 255.0, alpha: 1), 27 | UIColor(red: 103 / 255.0, green: 58 / 255.0, blue: 183 / 255.0, alpha: 1)) 28 | case .Indigo: 29 | return (UIColor(red: 48 / 255.0, green: 63 / 255.0, blue: 159 / 255.0, alpha: 1), 30 | UIColor(red: 63 / 255.0, green: 81 / 255.0, blue: 181 / 255.0, alpha: 1)) 31 | case .Blue: 32 | return (UIColor(red: 26 / 255.0, green: 118 / 255.0, blue: 210 / 255.0, alpha: 1), 33 | UIColor(red: 32 / 255.0, green: 150 / 255.0, blue: 243 / 255.0, alpha: 1)) 34 | case .LightBlue: 35 | return (UIColor(red: 1 / 255.0, green: 136 / 255.0, blue: 209 / 255.0, alpha: 1), 36 | UIColor(red: 4 / 255.0, green: 169 / 255.0, blue: 244 / 255.0, alpha: 1)) 37 | case .Cyan: 38 | return (UIColor(red: 0, green: 151 / 255.0, blue: 167 / 255.0, alpha: 1), 39 | UIColor(red: 1 / 255.0, green: 188 / 255.0, blue: 212 / 255.0, alpha: 1)) 40 | case .Teal: 41 | return (UIColor(red: 0, green: 121 / 255.0, blue: 107 / 255.0, alpha: 1), 42 | UIColor(red: 0, green: 150 / 255.0, blue: 136 / 255.0, alpha: 1)) 43 | case .Green: 44 | return (UIColor(red: 56 / 255.0, green: 142 / 255.0, blue: 60 / 255.0, alpha: 1), 45 | UIColor(red: 76 / 255.0, green: 175 / 255.0, blue: 80 / 255.0, alpha: 1)) 46 | case .LightGreen: 47 | return (UIColor(red: 104 / 255.0, green: 159 / 255.0, blue: 56 / 255.0, alpha: 1), 48 | UIColor(red: 139 / 255.0, green: 195 / 255.0, blue: 74 / 255.0, alpha: 1)) 49 | case .Lime: 50 | return (UIColor(red: 175 / 255.0, green: 180 / 255.0, blue: 43 / 255.0, alpha: 1), 51 | UIColor(red: 205 / 255.0, green: 220 / 255.0, blue: 57 / 255.0, alpha: 1)) 52 | case .Yellow: 53 | return (UIColor(red: 251 / 255.0, green: 192 / 255.0, blue: 46 / 255.0, alpha: 1), 54 | UIColor(red: 255 / 255.0, green: 235 / 255.0, blue: 59 / 255.0, alpha: 1)) 55 | case .Amber: 56 | return (UIColor(red: 255 / 255.0, green: 160 / 255.0, blue: 1 / 255.0, alpha: 1), 57 | UIColor(red: 255 / 255.0, green: 193 / 255.0, blue: 8 / 255.0, alpha: 1)) 58 | case .Orange: 59 | return (UIColor(red: 245 / 255.0, green: 124 / 255.0, blue: 1 / 255.0, alpha: 1), 60 | UIColor(red: 255 / 255.0, green: 152 / 255.0, blue: 1 / 255.0, alpha: 1)) 61 | case .DeepOrange: 62 | return (UIColor(red: 230 / 255.0, green: 74 / 255.0, blue: 25 / 255.0, alpha: 1), 63 | UIColor(red: 255 / 255.0, green: 87 / 255.0, blue: 35 / 255.0, alpha: 1)) 64 | case .Brown: 65 | return (UIColor(red: 93 / 255.0, green: 64 / 255.0, blue: 55 / 255.0, alpha: 1), 66 | UIColor(red: 121 / 255.0, green: 85 / 255.0, blue: 72 / 255.0, alpha: 1)) 67 | case .Grey: 68 | return (UIColor(red: 97 / 255.0, green: 97 / 255.0, blue: 97 / 255.0, alpha: 1), 69 | UIColor(red: 158 / 255.0, green: 158 / 255.0, blue: 158 / 255.0, alpha: 1)) 70 | case .BlueGrey: 71 | return (UIColor(red: 69 / 255.0, green: 90 / 255.0, blue: 100 / 255.0, alpha: 1), 72 | UIColor(red: 96 / 255.0, green: 125 / 255.0, blue: 139 / 255.0, alpha: 1)) 73 | } 74 | } 75 | } 76 | 77 | class MaterialNavbar: UINavigationBar { 78 | 79 | var viewBarStatus: UIView! 80 | var titleLabel: UILabel! 81 | 82 | class MaterialNavbarParameter { 83 | 84 | var currentTheme: ThemeColor! = nil 85 | var currentNavigationBar: MaterialNavbar! = nil 86 | 87 | class var sharedInstance: MaterialNavbarParameter { 88 | 89 | struct Static { 90 | static var instance: MaterialNavbarParameter? 91 | } 92 | 93 | Static.instance = MaterialNavbarParameter() 94 | Static.instance?.currentTheme = ThemeColor.Grey 95 | 96 | return Static.instance! 97 | } 98 | } 99 | 100 | class func changeColorNavigationBar(color: ThemeColor) { 101 | MaterialNavbarParameter.sharedInstance.currentTheme = color 102 | } 103 | 104 | func animateTitle() { 105 | UIView.animate(withDuration: 1, delay: 0, usingSpringWithDamping: 0.45, initialSpringVelocity: 0.5, 106 | options: UIView.AnimationOptions.allowAnimatedContent, animations: { () -> Void in 107 | self.titleLabel.frame = CGRect(x: self.titleLabel.frame.size.width / 2, y: 0, 108 | width: self.titleLabel.frame.size.width, height: self.titleLabel.frame.size.height) 109 | }, completion: nil) 110 | } 111 | 112 | func animationPop() { 113 | for currentSubView in self.subviews { 114 | if String(describing: currentSubView.self) == "_UINavigationBarBackIndicatorView" { 115 | 116 | (currentSubView as UIView).transform = CGAffineTransform(rotationAngle: CGFloat.pi) 117 | 118 | 119 | UIView.animate(withDuration: 1, delay: 0.3, usingSpringWithDamping: 0.6, initialSpringVelocity: 0.5, 120 | options: UIView.AnimationOptions.allowAnimatedContent, animations: { () -> Void in 121 | (currentSubView as UIView).frame.origin.x = -currentSubView.frame.size.width 122 | (currentSubView as UIView).transform = CGAffineTransform(rotationAngle: CGFloat(0)) 123 | 124 | }, completion: nil)} 125 | } 126 | } 127 | 128 | func animateBackButton() { 129 | for currentSubView in self.subviews { 130 | if String(describing: currentSubView.self) == "_UINavigationBarBackIndicatorView" { 131 | 132 | (currentSubView as UIView).transform = CGAffineTransform(rotationAngle: CGFloat.pi) 133 | (currentSubView as UIView).frame.origin.x = -currentSubView.frame.size.width 134 | 135 | UIView.animate(withDuration: 1, delay: 0.3, usingSpringWithDamping: 0.6, initialSpringVelocity: 0.5, 136 | options: UIView.AnimationOptions.allowAnimatedContent, animations: { () -> Void in 137 | (currentSubView as UIView).transform = CGAffineTransform(rotationAngle: CGFloat(0)) 138 | (currentSubView as UIView).frame.origin.x = 10 139 | 140 | }, completion: { (animaed: Bool) -> Void in 141 | }) 142 | } 143 | } 144 | } 145 | 146 | func initBar() { 147 | 148 | self.tintColor = UIColor.white 149 | self.barTintColor = MaterialNavbarParameter.sharedInstance.currentTheme.toColor().navigationBar 150 | self.viewBarStatus = UIView(frame: CGRect(x:0, y: -20, width: UIScreen.main.bounds.size.width, height: 20)) 151 | 152 | 153 | self.viewBarStatus.backgroundColor = MaterialNavbarParameter.sharedInstance.currentTheme.toColor().statusBar 154 | 155 | self.addSubview(self.viewBarStatus) 156 | self.titleLabel = UILabel(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.size.width, height: self.frame.height + 40)) 157 | self.titleLabel.textAlignment = NSTextAlignment.center 158 | self.titleLabel.textColor = UIColor.white 159 | self.titleLabel.text = "" 160 | self.titleLabel.backgroundColor = self.barTintColor 161 | 162 | self.addSubview(titleLabel) 163 | 164 | self.backItem?.backBarButtonItem = nil 165 | 166 | self.animateBackButton() 167 | MaterialNavbarParameter.sharedInstance.currentNavigationBar = self 168 | } 169 | 170 | 171 | class func setTitle(title: String) { 172 | let navigationBar = MaterialNavbarParameter.sharedInstance.currentNavigationBar 173 | navigationBar?.titleLabel.text = title 174 | 175 | UIView.animate(withDuration: 1, delay: 0, usingSpringWithDamping: 0.5, initialSpringVelocity: 1, animations: { () -> Void in 176 | navigationBar?.titleLabel.text = title 177 | navigationBar?.titleLabel.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.size.width, height: navigationBar?.titleLabel.frame.size.height ?? 20) 178 | }) { (animated: Bool) -> Void in 179 | } 180 | } 181 | 182 | override init(frame: CGRect) { 183 | super.init(frame: frame) 184 | 185 | initBar() 186 | } 187 | 188 | required init(coder aDecoder: NSCoder) { 189 | fatalError("init(coder:) has not been implemented") 190 | } 191 | 192 | } 193 | 194 | extension UINavigationController: UINavigationBarDelegate { 195 | 196 | public func navigationBar(navigationBar: UINavigationBar, didPushItem item: UINavigationItem) { 197 | (self.navigationBar as! MaterialNavbar).animateBackButton() 198 | (self.navigationBar as! MaterialNavbar).animateTitle() 199 | } 200 | 201 | public func navigationBar(navigationBar: UINavigationBar, didPopItem item: UINavigationItem) { 202 | (self.navigationBar as! MaterialNavbar).animationPop() 203 | (self.navigationBar as! MaterialNavbar).animateTitle() 204 | } 205 | } 206 | -------------------------------------------------------------------------------- /Example/MaterialNavbar.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 279B7A3550219B373B747179 /* Pods_MaterialNavbar_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C37731B9E96CFC60D8082C5D /* Pods_MaterialNavbar_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | FB15F71D36B86A6FEE5B7733 /* Pods_MaterialNavbar_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E61AEE0D8D58AFE865F7FA6 /* Pods_MaterialNavbar_Tests.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = MaterialNavbar; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 2BA03FC8F013E3F763F49726 /* MaterialNavbar.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = MaterialNavbar.podspec; path = ../MaterialNavbar.podspec; sourceTree = ""; }; 32 | 46147185E860A75735970C0E /* Pods-MaterialNavbar_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MaterialNavbar_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example.debug.xcconfig"; sourceTree = ""; }; 33 | 5A5423AFE1D48F122172E378 /* Pods-MaterialNavbar_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MaterialNavbar_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example.release.xcconfig"; sourceTree = ""; }; 34 | 607FACD01AFB9204008FA782 /* MaterialNavbar_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MaterialNavbar_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 36 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 38 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 39 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 40 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 41 | 607FACE51AFB9204008FA782 /* MaterialNavbar_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MaterialNavbar_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 44 | 722ED6606A77C53AFE48E32A /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 45 | 7E61AEE0D8D58AFE865F7FA6 /* Pods_MaterialNavbar_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MaterialNavbar_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 923A615F121E9CC84700CB00 /* Pods-MaterialNavbar_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MaterialNavbar_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests.release.xcconfig"; sourceTree = ""; }; 47 | C37731B9E96CFC60D8082C5D /* Pods_MaterialNavbar_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MaterialNavbar_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | F45D75B4C53FFB30099B8393 /* Pods-MaterialNavbar_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MaterialNavbar_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests.debug.xcconfig"; sourceTree = ""; }; 49 | FB3101FCB20C0EFBFBE6B822 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 279B7A3550219B373B747179 /* Pods_MaterialNavbar_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | FB15F71D36B86A6FEE5B7733 /* Pods_MaterialNavbar_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 25118B3876A61CFF9D262899 /* Frameworks */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | C37731B9E96CFC60D8082C5D /* Pods_MaterialNavbar_Example.framework */, 76 | 7E61AEE0D8D58AFE865F7FA6 /* Pods_MaterialNavbar_Tests.framework */, 77 | ); 78 | name = Frameworks; 79 | sourceTree = ""; 80 | }; 81 | 607FACC71AFB9204008FA782 = { 82 | isa = PBXGroup; 83 | children = ( 84 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 85 | 607FACD21AFB9204008FA782 /* Example for MaterialNavbar */, 86 | 607FACE81AFB9204008FA782 /* Tests */, 87 | 607FACD11AFB9204008FA782 /* Products */, 88 | A221BA4544335A20D703D4E0 /* Pods */, 89 | 25118B3876A61CFF9D262899 /* Frameworks */, 90 | ); 91 | sourceTree = ""; 92 | }; 93 | 607FACD11AFB9204008FA782 /* Products */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD01AFB9204008FA782 /* MaterialNavbar_Example.app */, 97 | 607FACE51AFB9204008FA782 /* MaterialNavbar_Tests.xctest */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 607FACD21AFB9204008FA782 /* Example for MaterialNavbar */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 106 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 107 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 108 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 109 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 110 | 607FACD31AFB9204008FA782 /* Supporting Files */, 111 | ); 112 | name = "Example for MaterialNavbar"; 113 | path = MaterialNavbar; 114 | sourceTree = ""; 115 | }; 116 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 607FACD41AFB9204008FA782 /* Info.plist */, 120 | ); 121 | name = "Supporting Files"; 122 | sourceTree = ""; 123 | }; 124 | 607FACE81AFB9204008FA782 /* Tests */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 128 | 607FACE91AFB9204008FA782 /* Supporting Files */, 129 | ); 130 | path = Tests; 131 | sourceTree = ""; 132 | }; 133 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 607FACEA1AFB9204008FA782 /* Info.plist */, 137 | ); 138 | name = "Supporting Files"; 139 | sourceTree = ""; 140 | }; 141 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 2BA03FC8F013E3F763F49726 /* MaterialNavbar.podspec */, 145 | FB3101FCB20C0EFBFBE6B822 /* README.md */, 146 | 722ED6606A77C53AFE48E32A /* LICENSE */, 147 | ); 148 | name = "Podspec Metadata"; 149 | sourceTree = ""; 150 | }; 151 | A221BA4544335A20D703D4E0 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 46147185E860A75735970C0E /* Pods-MaterialNavbar_Example.debug.xcconfig */, 155 | 5A5423AFE1D48F122172E378 /* Pods-MaterialNavbar_Example.release.xcconfig */, 156 | F45D75B4C53FFB30099B8393 /* Pods-MaterialNavbar_Tests.debug.xcconfig */, 157 | 923A615F121E9CC84700CB00 /* Pods-MaterialNavbar_Tests.release.xcconfig */, 158 | ); 159 | name = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* MaterialNavbar_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MaterialNavbar_Example" */; 168 | buildPhases = ( 169 | 2A20993FCC2B1B3070BEEEE6 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | DC3476A5E099F474A3166D63 /* [CP] Embed Pods Frameworks */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = MaterialNavbar_Example; 180 | productName = MaterialNavbar; 181 | productReference = 607FACD01AFB9204008FA782 /* MaterialNavbar_Example.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 607FACE41AFB9204008FA782 /* MaterialNavbar_Tests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MaterialNavbar_Tests" */; 187 | buildPhases = ( 188 | 696D79714EB690A00914AF7C /* [CP] Check Pods Manifest.lock */, 189 | 607FACE11AFB9204008FA782 /* Sources */, 190 | 607FACE21AFB9204008FA782 /* Frameworks */, 191 | 607FACE31AFB9204008FA782 /* Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = MaterialNavbar_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* MaterialNavbar_Tests.xctest */; 201 | productType = "com.apple.product-type.bundle.unit-test"; 202 | }; 203 | /* End PBXNativeTarget section */ 204 | 205 | /* Begin PBXProject section */ 206 | 607FACC81AFB9204008FA782 /* Project object */ = { 207 | isa = PBXProject; 208 | attributes = { 209 | LastSwiftUpdateCheck = 0830; 210 | LastUpgradeCheck = 1010; 211 | ORGANIZATIONNAME = CocoaPods; 212 | TargetAttributes = { 213 | 607FACCF1AFB9204008FA782 = { 214 | CreatedOnToolsVersion = 6.3.1; 215 | DevelopmentTeam = 7P4K4M8A4Q; 216 | LastSwiftMigration = 0900; 217 | }; 218 | 607FACE41AFB9204008FA782 = { 219 | CreatedOnToolsVersion = 6.3.1; 220 | LastSwiftMigration = 0900; 221 | TestTargetID = 607FACCF1AFB9204008FA782; 222 | }; 223 | }; 224 | }; 225 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "MaterialNavbar" */; 226 | compatibilityVersion = "Xcode 3.2"; 227 | developmentRegion = English; 228 | hasScannedForEncodings = 0; 229 | knownRegions = ( 230 | en, 231 | Base, 232 | ); 233 | mainGroup = 607FACC71AFB9204008FA782; 234 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 235 | projectDirPath = ""; 236 | projectRoot = ""; 237 | targets = ( 238 | 607FACCF1AFB9204008FA782 /* MaterialNavbar_Example */, 239 | 607FACE41AFB9204008FA782 /* MaterialNavbar_Tests */, 240 | ); 241 | }; 242 | /* End PBXProject section */ 243 | 244 | /* Begin PBXResourcesBuildPhase section */ 245 | 607FACCE1AFB9204008FA782 /* Resources */ = { 246 | isa = PBXResourcesBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 250 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 251 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 252 | ); 253 | runOnlyForDeploymentPostprocessing = 0; 254 | }; 255 | 607FACE31AFB9204008FA782 /* Resources */ = { 256 | isa = PBXResourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | /* End PBXResourcesBuildPhase section */ 263 | 264 | /* Begin PBXShellScriptBuildPhase section */ 265 | 2A20993FCC2B1B3070BEEEE6 /* [CP] Check Pods Manifest.lock */ = { 266 | isa = PBXShellScriptBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | ); 270 | inputPaths = ( 271 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 272 | "${PODS_ROOT}/Manifest.lock", 273 | ); 274 | name = "[CP] Check Pods Manifest.lock"; 275 | outputPaths = ( 276 | "$(DERIVED_FILE_DIR)/Pods-MaterialNavbar_Example-checkManifestLockResult.txt", 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | shellPath = /bin/sh; 280 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 281 | showEnvVarsInLog = 0; 282 | }; 283 | 696D79714EB690A00914AF7C /* [CP] Check Pods Manifest.lock */ = { 284 | isa = PBXShellScriptBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | ); 288 | inputPaths = ( 289 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 290 | "${PODS_ROOT}/Manifest.lock", 291 | ); 292 | name = "[CP] Check Pods Manifest.lock"; 293 | outputPaths = ( 294 | "$(DERIVED_FILE_DIR)/Pods-MaterialNavbar_Tests-checkManifestLockResult.txt", 295 | ); 296 | runOnlyForDeploymentPostprocessing = 0; 297 | shellPath = /bin/sh; 298 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 299 | showEnvVarsInLog = 0; 300 | }; 301 | DC3476A5E099F474A3166D63 /* [CP] Embed Pods Frameworks */ = { 302 | isa = PBXShellScriptBuildPhase; 303 | buildActionMask = 2147483647; 304 | files = ( 305 | ); 306 | inputPaths = ( 307 | "${SRCROOT}/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example-frameworks.sh", 308 | "${BUILT_PRODUCTS_DIR}/MaterialNavbar/MaterialNavbar.framework", 309 | ); 310 | name = "[CP] Embed Pods Frameworks"; 311 | outputPaths = ( 312 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MaterialNavbar.framework", 313 | ); 314 | runOnlyForDeploymentPostprocessing = 0; 315 | shellPath = /bin/sh; 316 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example-frameworks.sh\"\n"; 317 | showEnvVarsInLog = 0; 318 | }; 319 | /* End PBXShellScriptBuildPhase section */ 320 | 321 | /* Begin PBXSourcesBuildPhase section */ 322 | 607FACCC1AFB9204008FA782 /* Sources */ = { 323 | isa = PBXSourcesBuildPhase; 324 | buildActionMask = 2147483647; 325 | files = ( 326 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 327 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 328 | ); 329 | runOnlyForDeploymentPostprocessing = 0; 330 | }; 331 | 607FACE11AFB9204008FA782 /* Sources */ = { 332 | isa = PBXSourcesBuildPhase; 333 | buildActionMask = 2147483647; 334 | files = ( 335 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | }; 339 | /* End PBXSourcesBuildPhase section */ 340 | 341 | /* Begin PBXTargetDependency section */ 342 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 343 | isa = PBXTargetDependency; 344 | target = 607FACCF1AFB9204008FA782 /* MaterialNavbar_Example */; 345 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 346 | }; 347 | /* End PBXTargetDependency section */ 348 | 349 | /* Begin PBXVariantGroup section */ 350 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 351 | isa = PBXVariantGroup; 352 | children = ( 353 | 607FACDA1AFB9204008FA782 /* Base */, 354 | ); 355 | name = Main.storyboard; 356 | sourceTree = ""; 357 | }; 358 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 359 | isa = PBXVariantGroup; 360 | children = ( 361 | 607FACDF1AFB9204008FA782 /* Base */, 362 | ); 363 | name = LaunchScreen.xib; 364 | sourceTree = ""; 365 | }; 366 | /* End PBXVariantGroup section */ 367 | 368 | /* Begin XCBuildConfiguration section */ 369 | 607FACED1AFB9204008FA782 /* Debug */ = { 370 | isa = XCBuildConfiguration; 371 | buildSettings = { 372 | ALWAYS_SEARCH_USER_PATHS = NO; 373 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 374 | CLANG_CXX_LIBRARY = "libc++"; 375 | CLANG_ENABLE_MODULES = YES; 376 | CLANG_ENABLE_OBJC_ARC = YES; 377 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 378 | CLANG_WARN_BOOL_CONVERSION = YES; 379 | CLANG_WARN_COMMA = YES; 380 | CLANG_WARN_CONSTANT_CONVERSION = YES; 381 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 382 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 383 | CLANG_WARN_EMPTY_BODY = YES; 384 | CLANG_WARN_ENUM_CONVERSION = YES; 385 | CLANG_WARN_INFINITE_RECURSION = YES; 386 | CLANG_WARN_INT_CONVERSION = YES; 387 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 388 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 389 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 390 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 391 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 392 | CLANG_WARN_STRICT_PROTOTYPES = YES; 393 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 394 | CLANG_WARN_UNREACHABLE_CODE = YES; 395 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 396 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 397 | COPY_PHASE_STRIP = NO; 398 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 399 | ENABLE_STRICT_OBJC_MSGSEND = YES; 400 | ENABLE_TESTABILITY = YES; 401 | GCC_C_LANGUAGE_STANDARD = gnu99; 402 | GCC_DYNAMIC_NO_PIC = NO; 403 | GCC_NO_COMMON_BLOCKS = YES; 404 | GCC_OPTIMIZATION_LEVEL = 0; 405 | GCC_PREPROCESSOR_DEFINITIONS = ( 406 | "DEBUG=1", 407 | "$(inherited)", 408 | ); 409 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 410 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 411 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 412 | GCC_WARN_UNDECLARED_SELECTOR = YES; 413 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 414 | GCC_WARN_UNUSED_FUNCTION = YES; 415 | GCC_WARN_UNUSED_VARIABLE = YES; 416 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 417 | MTL_ENABLE_DEBUG_INFO = YES; 418 | ONLY_ACTIVE_ARCH = YES; 419 | SDKROOT = iphoneos; 420 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 421 | }; 422 | name = Debug; 423 | }; 424 | 607FACEE1AFB9204008FA782 /* Release */ = { 425 | isa = XCBuildConfiguration; 426 | buildSettings = { 427 | ALWAYS_SEARCH_USER_PATHS = NO; 428 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 429 | CLANG_CXX_LIBRARY = "libc++"; 430 | CLANG_ENABLE_MODULES = YES; 431 | CLANG_ENABLE_OBJC_ARC = YES; 432 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 433 | CLANG_WARN_BOOL_CONVERSION = YES; 434 | CLANG_WARN_COMMA = YES; 435 | CLANG_WARN_CONSTANT_CONVERSION = YES; 436 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 437 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 438 | CLANG_WARN_EMPTY_BODY = YES; 439 | CLANG_WARN_ENUM_CONVERSION = YES; 440 | CLANG_WARN_INFINITE_RECURSION = YES; 441 | CLANG_WARN_INT_CONVERSION = YES; 442 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 443 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 444 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 445 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 446 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 447 | CLANG_WARN_STRICT_PROTOTYPES = YES; 448 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 449 | CLANG_WARN_UNREACHABLE_CODE = YES; 450 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 451 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 452 | COPY_PHASE_STRIP = NO; 453 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 454 | ENABLE_NS_ASSERTIONS = NO; 455 | ENABLE_STRICT_OBJC_MSGSEND = YES; 456 | GCC_C_LANGUAGE_STANDARD = gnu99; 457 | GCC_NO_COMMON_BLOCKS = YES; 458 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 459 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 460 | GCC_WARN_UNDECLARED_SELECTOR = YES; 461 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 462 | GCC_WARN_UNUSED_FUNCTION = YES; 463 | GCC_WARN_UNUSED_VARIABLE = YES; 464 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 465 | MTL_ENABLE_DEBUG_INFO = NO; 466 | SDKROOT = iphoneos; 467 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 468 | VALIDATE_PRODUCT = YES; 469 | }; 470 | name = Release; 471 | }; 472 | 607FACF01AFB9204008FA782 /* Debug */ = { 473 | isa = XCBuildConfiguration; 474 | baseConfigurationReference = 46147185E860A75735970C0E /* Pods-MaterialNavbar_Example.debug.xcconfig */; 475 | buildSettings = { 476 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 477 | DEVELOPMENT_TEAM = 7P4K4M8A4Q; 478 | INFOPLIST_FILE = MaterialNavbar/Info.plist; 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 480 | MODULE_NAME = ExampleApp; 481 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 482 | PRODUCT_NAME = "$(TARGET_NAME)"; 483 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 484 | SWIFT_VERSION = 4.0; 485 | }; 486 | name = Debug; 487 | }; 488 | 607FACF11AFB9204008FA782 /* Release */ = { 489 | isa = XCBuildConfiguration; 490 | baseConfigurationReference = 5A5423AFE1D48F122172E378 /* Pods-MaterialNavbar_Example.release.xcconfig */; 491 | buildSettings = { 492 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 493 | DEVELOPMENT_TEAM = 7P4K4M8A4Q; 494 | INFOPLIST_FILE = MaterialNavbar/Info.plist; 495 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 496 | MODULE_NAME = ExampleApp; 497 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 498 | PRODUCT_NAME = "$(TARGET_NAME)"; 499 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 500 | SWIFT_VERSION = 4.0; 501 | }; 502 | name = Release; 503 | }; 504 | 607FACF31AFB9204008FA782 /* Debug */ = { 505 | isa = XCBuildConfiguration; 506 | baseConfigurationReference = F45D75B4C53FFB30099B8393 /* Pods-MaterialNavbar_Tests.debug.xcconfig */; 507 | buildSettings = { 508 | FRAMEWORK_SEARCH_PATHS = ( 509 | "$(SDKROOT)/Developer/Library/Frameworks", 510 | "$(inherited)", 511 | ); 512 | GCC_PREPROCESSOR_DEFINITIONS = ( 513 | "DEBUG=1", 514 | "$(inherited)", 515 | ); 516 | INFOPLIST_FILE = Tests/Info.plist; 517 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 518 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 519 | PRODUCT_NAME = "$(TARGET_NAME)"; 520 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 521 | SWIFT_VERSION = 4.0; 522 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MaterialNavbar_Example.app/MaterialNavbar_Example"; 523 | }; 524 | name = Debug; 525 | }; 526 | 607FACF41AFB9204008FA782 /* Release */ = { 527 | isa = XCBuildConfiguration; 528 | baseConfigurationReference = 923A615F121E9CC84700CB00 /* Pods-MaterialNavbar_Tests.release.xcconfig */; 529 | buildSettings = { 530 | FRAMEWORK_SEARCH_PATHS = ( 531 | "$(SDKROOT)/Developer/Library/Frameworks", 532 | "$(inherited)", 533 | ); 534 | INFOPLIST_FILE = Tests/Info.plist; 535 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 536 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 537 | PRODUCT_NAME = "$(TARGET_NAME)"; 538 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 539 | SWIFT_VERSION = 4.0; 540 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MaterialNavbar_Example.app/MaterialNavbar_Example"; 541 | }; 542 | name = Release; 543 | }; 544 | /* End XCBuildConfiguration section */ 545 | 546 | /* Begin XCConfigurationList section */ 547 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "MaterialNavbar" */ = { 548 | isa = XCConfigurationList; 549 | buildConfigurations = ( 550 | 607FACED1AFB9204008FA782 /* Debug */, 551 | 607FACEE1AFB9204008FA782 /* Release */, 552 | ); 553 | defaultConfigurationIsVisible = 0; 554 | defaultConfigurationName = Release; 555 | }; 556 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MaterialNavbar_Example" */ = { 557 | isa = XCConfigurationList; 558 | buildConfigurations = ( 559 | 607FACF01AFB9204008FA782 /* Debug */, 560 | 607FACF11AFB9204008FA782 /* Release */, 561 | ); 562 | defaultConfigurationIsVisible = 0; 563 | defaultConfigurationName = Release; 564 | }; 565 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "MaterialNavbar_Tests" */ = { 566 | isa = XCConfigurationList; 567 | buildConfigurations = ( 568 | 607FACF31AFB9204008FA782 /* Debug */, 569 | 607FACF41AFB9204008FA782 /* Release */, 570 | ); 571 | defaultConfigurationIsVisible = 0; 572 | defaultConfigurationName = Release; 573 | }; 574 | /* End XCConfigurationList section */ 575 | }; 576 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 577 | } 578 | -------------------------------------------------------------------------------- /Example/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 | 405E9DAA21AEB14600718628 /* MaterialNavbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 405E9DA921AEB14600718628 /* MaterialNavbar.swift */; }; 11 | 4F407C1580A4338705F3DF23748D58BB /* MaterialNavbar-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5447E5AEA13B49EE8B8865DA67C51A3A /* MaterialNavbar-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 6884CD80B6864A6EF3BF6DC8067F5D7E /* Pods-MaterialNavbar_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6C04F5EACF4E725732B0EE15379A6ABE /* Pods-MaterialNavbar_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 6DA61947F464DF96FE3E012B72C1EF95 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 14 | 7B21F4E120D3D028709CE63802D07183 /* Pods-MaterialNavbar_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 388ABBB978F4E166689A0C30C4335D2C /* Pods-MaterialNavbar_Tests-dummy.m */; }; 15 | 92F2F5B5E804646680165B8172920C4B /* Pods-MaterialNavbar_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C4E72C970C890F2B9206970851B335 /* Pods-MaterialNavbar_Example-dummy.m */; }; 16 | A7ADFC0085D09D90B55AA7B4A08E7497 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | B938B31E4484EBAA197E6DDAB5A74F5C /* Pods-MaterialNavbar_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9341F47A6554E2D9C9F0439D7C8C034A /* Pods-MaterialNavbar_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | C56C55E589D73BD80B30637ACE8CFE7B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 19 | F039E256A3C532B8AF4D9109743A724E /* MaterialNavbar-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CE0B2AEF1F3095A8ADBC7C7E614C8159 /* MaterialNavbar-dummy.m */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 4846DA5DA65B62DAE1A12951CD826871 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 4CCEE28E6046EFA373DDCE2762688C83; 28 | remoteInfo = MaterialNavbar; 29 | }; 30 | C38D13AB757F09F029CDD35C3AD13284 /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = CB2103E3449410999815645AEA4BB7C8; 35 | remoteInfo = "Pods-MaterialNavbar_Example"; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 07C4E72C970C890F2B9206970851B335 /* Pods-MaterialNavbar_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MaterialNavbar_Example-dummy.m"; sourceTree = ""; }; 41 | 0AC3CA30B5A087D56C6778A8249AAFB0 /* MaterialNavbar-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MaterialNavbar-prefix.pch"; sourceTree = ""; }; 42 | 0FC53FF7B8D2C95F675752BB67C65D60 /* MaterialNavbar.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = MaterialNavbar.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 43 | 1DE50897C9498ACFC22AC1C95253F157 /* Pods-MaterialNavbar_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MaterialNavbar_Example-acknowledgements.plist"; sourceTree = ""; }; 44 | 1E40B5501CE737E52C44634F34953542 /* Pods-MaterialNavbar_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MaterialNavbar_Example.debug.xcconfig"; sourceTree = ""; }; 45 | 2CA5C9650737F687C72A34180939C58F /* Pods-MaterialNavbar_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MaterialNavbar_Tests-acknowledgements.plist"; sourceTree = ""; }; 46 | 383870885EC5C9EDD75514CBE702B54A /* Pods-MaterialNavbar_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MaterialNavbar_Example.release.xcconfig"; sourceTree = ""; }; 47 | 388ABBB978F4E166689A0C30C4335D2C /* Pods-MaterialNavbar_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MaterialNavbar_Tests-dummy.m"; sourceTree = ""; }; 48 | 3964970D231FF52F826806782889A73F /* Pods-MaterialNavbar_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MaterialNavbar_Tests-acknowledgements.markdown"; sourceTree = ""; }; 49 | 405E9DA921AEB14600718628 /* MaterialNavbar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MaterialNavbar.swift; path = MaterialNavbar/MaterialNavbar.swift; sourceTree = ""; }; 50 | 45E1FC7F834DAAFF9FB8790F0D3D452A /* MaterialNavbar.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MaterialNavbar.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 47F5ECC07FC92DF7B68185EE86D462AC /* Pods-MaterialNavbar_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MaterialNavbar_Tests-frameworks.sh"; sourceTree = ""; }; 52 | 4A6CE71508B7B01D73F40B2EC60AA8B0 /* Pods-MaterialNavbar_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MaterialNavbar_Tests.release.xcconfig"; sourceTree = ""; }; 53 | 5447E5AEA13B49EE8B8865DA67C51A3A /* MaterialNavbar-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MaterialNavbar-umbrella.h"; sourceTree = ""; }; 54 | 64199C64D3826913A1F23E4E119DDD56 /* MaterialNavbar.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MaterialNavbar.xcconfig; sourceTree = ""; }; 55 | 65D1320743B1B0962E51AD43768BA2E0 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 56 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 57 | 6C04F5EACF4E725732B0EE15379A6ABE /* Pods-MaterialNavbar_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-MaterialNavbar_Tests-umbrella.h"; sourceTree = ""; }; 58 | 6EE7D2959DE23D359F6E2D83FCEFBBB9 /* Pods_MaterialNavbar_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MaterialNavbar_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | 72433CE1DC430A132250DCDACDF589E2 /* Pods-MaterialNavbar_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MaterialNavbar_Example-frameworks.sh"; sourceTree = ""; }; 60 | 7D8DEB379748361DEEE92543862576E3 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 61 | 7EFF724D3F584A340A2E64339DEE90AD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 62 | 8B358FD820ED22D20E81B66EC809FE88 /* Pods-MaterialNavbar_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MaterialNavbar_Example-resources.sh"; sourceTree = ""; }; 63 | 8E310E9116903CB80FF9C94F49C8D2B3 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 64 | 9245500E26297A3A0E1675D5A47D427A /* Pods-MaterialNavbar_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-MaterialNavbar_Tests.modulemap"; sourceTree = ""; }; 65 | 931301A79D9DF35B0B8453954824322E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 66 | 9341F47A6554E2D9C9F0439D7C8C034A /* Pods-MaterialNavbar_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-MaterialNavbar_Example-umbrella.h"; sourceTree = ""; }; 67 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 68 | 9593057937C8B5C47C4E738CACFDA37A /* Pods-MaterialNavbar_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-MaterialNavbar_Example.modulemap"; sourceTree = ""; }; 69 | A58D579B2072F86FB895C4D3E3741221 /* Pods-MaterialNavbar_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MaterialNavbar_Example-acknowledgements.markdown"; sourceTree = ""; }; 70 | AAFF45D45CFDA84E585556BC886E94E0 /* Pods_MaterialNavbar_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MaterialNavbar_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 71 | B429E5C96C2255C456F842AFFEE599BA /* MaterialNavbar.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = MaterialNavbar.modulemap; sourceTree = ""; }; 72 | C0DC6C28682A405D5BFFA5B34E340416 /* Pods-MaterialNavbar_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MaterialNavbar_Tests-resources.sh"; sourceTree = ""; }; 73 | CE0B2AEF1F3095A8ADBC7C7E614C8159 /* MaterialNavbar-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "MaterialNavbar-dummy.m"; sourceTree = ""; }; 74 | E7DB2C024594FFAAE27C57BFB2715CC0 /* Pods-MaterialNavbar_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MaterialNavbar_Tests.debug.xcconfig"; sourceTree = ""; }; 75 | /* End PBXFileReference section */ 76 | 77 | /* Begin PBXFrameworksBuildPhase section */ 78 | 408AAEF9E249048810F0E128C14FF7AD /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | A7ADFC0085D09D90B55AA7B4A08E7497 /* Foundation.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | A56EB1E58AAD63007930F35554B164A2 /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | 6DA61947F464DF96FE3E012B72C1EF95 /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | D6FDAC1918BA9D53092D7A48F559317C /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | C56C55E589D73BD80B30637ACE8CFE7B /* Foundation.framework in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | /* End PBXFrameworksBuildPhase section */ 103 | 104 | /* Begin PBXGroup section */ 105 | 032C5372A7AB7DA6D5858880D1F70E29 /* Pod */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 7D8DEB379748361DEEE92543862576E3 /* LICENSE */, 109 | 0FC53FF7B8D2C95F675752BB67C65D60 /* MaterialNavbar.podspec */, 110 | 65D1320743B1B0962E51AD43768BA2E0 /* README.md */, 111 | ); 112 | name = Pod; 113 | sourceTree = ""; 114 | }; 115 | 0D8000696D5A1BC7E77A013B7E773263 /* Development Pods */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 6C4D064A7C28C63C60710F2305B6A664 /* MaterialNavbar */, 119 | ); 120 | name = "Development Pods"; 121 | sourceTree = ""; 122 | }; 123 | 6C4D064A7C28C63C60710F2305B6A664 /* MaterialNavbar */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 405E9DA921AEB14600718628 /* MaterialNavbar.swift */, 127 | 032C5372A7AB7DA6D5858880D1F70E29 /* Pod */, 128 | 8D0F2581E5D26535971A933BC8D61DEA /* Support Files */, 129 | ); 130 | name = MaterialNavbar; 131 | path = ../..; 132 | sourceTree = ""; 133 | }; 134 | 7DB346D0F39D3F0E887471402A8071AB = { 135 | isa = PBXGroup; 136 | children = ( 137 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 138 | 0D8000696D5A1BC7E77A013B7E773263 /* Development Pods */, 139 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 140 | AA8883FA9288720140799DFCF596129D /* Products */, 141 | AEDBFFB9C10F9B0CC43FB508B07BD6A7 /* Targets Support Files */, 142 | ); 143 | sourceTree = ""; 144 | }; 145 | 82FC9340F3AA1BC95A3894457685CF1D /* Pods-MaterialNavbar_Example */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 931301A79D9DF35B0B8453954824322E /* Info.plist */, 149 | 9593057937C8B5C47C4E738CACFDA37A /* Pods-MaterialNavbar_Example.modulemap */, 150 | A58D579B2072F86FB895C4D3E3741221 /* Pods-MaterialNavbar_Example-acknowledgements.markdown */, 151 | 1DE50897C9498ACFC22AC1C95253F157 /* Pods-MaterialNavbar_Example-acknowledgements.plist */, 152 | 07C4E72C970C890F2B9206970851B335 /* Pods-MaterialNavbar_Example-dummy.m */, 153 | 72433CE1DC430A132250DCDACDF589E2 /* Pods-MaterialNavbar_Example-frameworks.sh */, 154 | 8B358FD820ED22D20E81B66EC809FE88 /* Pods-MaterialNavbar_Example-resources.sh */, 155 | 9341F47A6554E2D9C9F0439D7C8C034A /* Pods-MaterialNavbar_Example-umbrella.h */, 156 | 1E40B5501CE737E52C44634F34953542 /* Pods-MaterialNavbar_Example.debug.xcconfig */, 157 | 383870885EC5C9EDD75514CBE702B54A /* Pods-MaterialNavbar_Example.release.xcconfig */, 158 | ); 159 | name = "Pods-MaterialNavbar_Example"; 160 | path = "Target Support Files/Pods-MaterialNavbar_Example"; 161 | sourceTree = ""; 162 | }; 163 | 8D0F2581E5D26535971A933BC8D61DEA /* Support Files */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 7EFF724D3F584A340A2E64339DEE90AD /* Info.plist */, 167 | B429E5C96C2255C456F842AFFEE599BA /* MaterialNavbar.modulemap */, 168 | 64199C64D3826913A1F23E4E119DDD56 /* MaterialNavbar.xcconfig */, 169 | CE0B2AEF1F3095A8ADBC7C7E614C8159 /* MaterialNavbar-dummy.m */, 170 | 0AC3CA30B5A087D56C6778A8249AAFB0 /* MaterialNavbar-prefix.pch */, 171 | 5447E5AEA13B49EE8B8865DA67C51A3A /* MaterialNavbar-umbrella.h */, 172 | ); 173 | name = "Support Files"; 174 | path = "Example/Pods/Target Support Files/MaterialNavbar"; 175 | sourceTree = ""; 176 | }; 177 | 9C3CCABF21BCB585BA8D93CE424C4544 /* Pods-MaterialNavbar_Tests */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | 8E310E9116903CB80FF9C94F49C8D2B3 /* Info.plist */, 181 | 9245500E26297A3A0E1675D5A47D427A /* Pods-MaterialNavbar_Tests.modulemap */, 182 | 3964970D231FF52F826806782889A73F /* Pods-MaterialNavbar_Tests-acknowledgements.markdown */, 183 | 2CA5C9650737F687C72A34180939C58F /* Pods-MaterialNavbar_Tests-acknowledgements.plist */, 184 | 388ABBB978F4E166689A0C30C4335D2C /* Pods-MaterialNavbar_Tests-dummy.m */, 185 | 47F5ECC07FC92DF7B68185EE86D462AC /* Pods-MaterialNavbar_Tests-frameworks.sh */, 186 | C0DC6C28682A405D5BFFA5B34E340416 /* Pods-MaterialNavbar_Tests-resources.sh */, 187 | 6C04F5EACF4E725732B0EE15379A6ABE /* Pods-MaterialNavbar_Tests-umbrella.h */, 188 | E7DB2C024594FFAAE27C57BFB2715CC0 /* Pods-MaterialNavbar_Tests.debug.xcconfig */, 189 | 4A6CE71508B7B01D73F40B2EC60AA8B0 /* Pods-MaterialNavbar_Tests.release.xcconfig */, 190 | ); 191 | name = "Pods-MaterialNavbar_Tests"; 192 | path = "Target Support Files/Pods-MaterialNavbar_Tests"; 193 | sourceTree = ""; 194 | }; 195 | AA8883FA9288720140799DFCF596129D /* Products */ = { 196 | isa = PBXGroup; 197 | children = ( 198 | 45E1FC7F834DAAFF9FB8790F0D3D452A /* MaterialNavbar.framework */, 199 | 6EE7D2959DE23D359F6E2D83FCEFBBB9 /* Pods_MaterialNavbar_Example.framework */, 200 | AAFF45D45CFDA84E585556BC886E94E0 /* Pods_MaterialNavbar_Tests.framework */, 201 | ); 202 | name = Products; 203 | sourceTree = ""; 204 | }; 205 | AEDBFFB9C10F9B0CC43FB508B07BD6A7 /* Targets Support Files */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 82FC9340F3AA1BC95A3894457685CF1D /* Pods-MaterialNavbar_Example */, 209 | 9C3CCABF21BCB585BA8D93CE424C4544 /* Pods-MaterialNavbar_Tests */, 210 | ); 211 | name = "Targets Support Files"; 212 | sourceTree = ""; 213 | }; 214 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 215 | isa = PBXGroup; 216 | children = ( 217 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 218 | ); 219 | name = Frameworks; 220 | sourceTree = ""; 221 | }; 222 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 223 | isa = PBXGroup; 224 | children = ( 225 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 226 | ); 227 | name = iOS; 228 | sourceTree = ""; 229 | }; 230 | /* End PBXGroup section */ 231 | 232 | /* Begin PBXHeadersBuildPhase section */ 233 | 6C57CF0A7CB5195FB6C0DBED492BD683 /* Headers */ = { 234 | isa = PBXHeadersBuildPhase; 235 | buildActionMask = 2147483647; 236 | files = ( 237 | 6884CD80B6864A6EF3BF6DC8067F5D7E /* Pods-MaterialNavbar_Tests-umbrella.h in Headers */, 238 | ); 239 | runOnlyForDeploymentPostprocessing = 0; 240 | }; 241 | 9074A286A7CF7160FE3407C134DD7E6C /* Headers */ = { 242 | isa = PBXHeadersBuildPhase; 243 | buildActionMask = 2147483647; 244 | files = ( 245 | 4F407C1580A4338705F3DF23748D58BB /* MaterialNavbar-umbrella.h in Headers */, 246 | ); 247 | runOnlyForDeploymentPostprocessing = 0; 248 | }; 249 | A50DDF80C7B7C70230ED66E04DABCE13 /* Headers */ = { 250 | isa = PBXHeadersBuildPhase; 251 | buildActionMask = 2147483647; 252 | files = ( 253 | B938B31E4484EBAA197E6DDAB5A74F5C /* Pods-MaterialNavbar_Example-umbrella.h in Headers */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | /* End PBXHeadersBuildPhase section */ 258 | 259 | /* Begin PBXNativeTarget section */ 260 | 4CCEE28E6046EFA373DDCE2762688C83 /* MaterialNavbar */ = { 261 | isa = PBXNativeTarget; 262 | buildConfigurationList = 25BC16742BBDABB4BB6519E579C94D3B /* Build configuration list for PBXNativeTarget "MaterialNavbar" */; 263 | buildPhases = ( 264 | 947C6A2E6483E5BE6C3DB5A75E69EACB /* Sources */, 265 | A56EB1E58AAD63007930F35554B164A2 /* Frameworks */, 266 | 9074A286A7CF7160FE3407C134DD7E6C /* Headers */, 267 | ); 268 | buildRules = ( 269 | ); 270 | dependencies = ( 271 | ); 272 | name = MaterialNavbar; 273 | productName = MaterialNavbar; 274 | productReference = 45E1FC7F834DAAFF9FB8790F0D3D452A /* MaterialNavbar.framework */; 275 | productType = "com.apple.product-type.framework"; 276 | }; 277 | CB2103E3449410999815645AEA4BB7C8 /* Pods-MaterialNavbar_Example */ = { 278 | isa = PBXNativeTarget; 279 | buildConfigurationList = 42C231D7879C320305FAECC3E3706AAB /* Build configuration list for PBXNativeTarget "Pods-MaterialNavbar_Example" */; 280 | buildPhases = ( 281 | C9E6260ECCE64DEF08512A3FFC43CBE3 /* Sources */, 282 | D6FDAC1918BA9D53092D7A48F559317C /* Frameworks */, 283 | A50DDF80C7B7C70230ED66E04DABCE13 /* Headers */, 284 | ); 285 | buildRules = ( 286 | ); 287 | dependencies = ( 288 | 5B2FF5D006AE0D8D4D2F986E88D0D671 /* PBXTargetDependency */, 289 | ); 290 | name = "Pods-MaterialNavbar_Example"; 291 | productName = "Pods-MaterialNavbar_Example"; 292 | productReference = 6EE7D2959DE23D359F6E2D83FCEFBBB9 /* Pods_MaterialNavbar_Example.framework */; 293 | productType = "com.apple.product-type.framework"; 294 | }; 295 | D9A29EB100748DDAB0328413CCF7F5B3 /* Pods-MaterialNavbar_Tests */ = { 296 | isa = PBXNativeTarget; 297 | buildConfigurationList = 2ED5620177CAF9F0667C66DC36CBD06B /* Build configuration list for PBXNativeTarget "Pods-MaterialNavbar_Tests" */; 298 | buildPhases = ( 299 | A4C4F18DEC6165A9E09CF3FE77FC8E6D /* Sources */, 300 | 408AAEF9E249048810F0E128C14FF7AD /* Frameworks */, 301 | 6C57CF0A7CB5195FB6C0DBED492BD683 /* Headers */, 302 | ); 303 | buildRules = ( 304 | ); 305 | dependencies = ( 306 | 1D1A1612AA2C3CF4BCD2CCAF129FBD67 /* PBXTargetDependency */, 307 | ); 308 | name = "Pods-MaterialNavbar_Tests"; 309 | productName = "Pods-MaterialNavbar_Tests"; 310 | productReference = AAFF45D45CFDA84E585556BC886E94E0 /* Pods_MaterialNavbar_Tests.framework */; 311 | productType = "com.apple.product-type.framework"; 312 | }; 313 | /* End PBXNativeTarget section */ 314 | 315 | /* Begin PBXProject section */ 316 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 317 | isa = PBXProject; 318 | attributes = { 319 | LastSwiftUpdateCheck = 0930; 320 | LastUpgradeCheck = 0930; 321 | TargetAttributes = { 322 | 4CCEE28E6046EFA373DDCE2762688C83 = { 323 | LastSwiftMigration = 1010; 324 | }; 325 | }; 326 | }; 327 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 328 | compatibilityVersion = "Xcode 3.2"; 329 | developmentRegion = English; 330 | hasScannedForEncodings = 0; 331 | knownRegions = ( 332 | en, 333 | ); 334 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 335 | productRefGroup = AA8883FA9288720140799DFCF596129D /* Products */; 336 | projectDirPath = ""; 337 | projectRoot = ""; 338 | targets = ( 339 | 4CCEE28E6046EFA373DDCE2762688C83 /* MaterialNavbar */, 340 | CB2103E3449410999815645AEA4BB7C8 /* Pods-MaterialNavbar_Example */, 341 | D9A29EB100748DDAB0328413CCF7F5B3 /* Pods-MaterialNavbar_Tests */, 342 | ); 343 | }; 344 | /* End PBXProject section */ 345 | 346 | /* Begin PBXSourcesBuildPhase section */ 347 | 947C6A2E6483E5BE6C3DB5A75E69EACB /* Sources */ = { 348 | isa = PBXSourcesBuildPhase; 349 | buildActionMask = 2147483647; 350 | files = ( 351 | 405E9DAA21AEB14600718628 /* MaterialNavbar.swift in Sources */, 352 | F039E256A3C532B8AF4D9109743A724E /* MaterialNavbar-dummy.m in Sources */, 353 | ); 354 | runOnlyForDeploymentPostprocessing = 0; 355 | }; 356 | A4C4F18DEC6165A9E09CF3FE77FC8E6D /* Sources */ = { 357 | isa = PBXSourcesBuildPhase; 358 | buildActionMask = 2147483647; 359 | files = ( 360 | 7B21F4E120D3D028709CE63802D07183 /* Pods-MaterialNavbar_Tests-dummy.m in Sources */, 361 | ); 362 | runOnlyForDeploymentPostprocessing = 0; 363 | }; 364 | C9E6260ECCE64DEF08512A3FFC43CBE3 /* Sources */ = { 365 | isa = PBXSourcesBuildPhase; 366 | buildActionMask = 2147483647; 367 | files = ( 368 | 92F2F5B5E804646680165B8172920C4B /* Pods-MaterialNavbar_Example-dummy.m in Sources */, 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | }; 372 | /* End PBXSourcesBuildPhase section */ 373 | 374 | /* Begin PBXTargetDependency section */ 375 | 1D1A1612AA2C3CF4BCD2CCAF129FBD67 /* PBXTargetDependency */ = { 376 | isa = PBXTargetDependency; 377 | name = "Pods-MaterialNavbar_Example"; 378 | target = CB2103E3449410999815645AEA4BB7C8 /* Pods-MaterialNavbar_Example */; 379 | targetProxy = C38D13AB757F09F029CDD35C3AD13284 /* PBXContainerItemProxy */; 380 | }; 381 | 5B2FF5D006AE0D8D4D2F986E88D0D671 /* PBXTargetDependency */ = { 382 | isa = PBXTargetDependency; 383 | name = MaterialNavbar; 384 | target = 4CCEE28E6046EFA373DDCE2762688C83 /* MaterialNavbar */; 385 | targetProxy = 4846DA5DA65B62DAE1A12951CD826871 /* PBXContainerItemProxy */; 386 | }; 387 | /* End PBXTargetDependency section */ 388 | 389 | /* Begin XCBuildConfiguration section */ 390 | 02FD74A2D85DE7E76649100F724F70F5 /* Debug */ = { 391 | isa = XCBuildConfiguration; 392 | baseConfigurationReference = 64199C64D3826913A1F23E4E119DDD56 /* MaterialNavbar.xcconfig */; 393 | buildSettings = { 394 | CLANG_ENABLE_MODULES = YES; 395 | CODE_SIGN_IDENTITY = ""; 396 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 397 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 398 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 399 | CURRENT_PROJECT_VERSION = 1; 400 | DEFINES_MODULE = YES; 401 | DYLIB_COMPATIBILITY_VERSION = 1; 402 | DYLIB_CURRENT_VERSION = 1; 403 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 404 | GCC_PREFIX_HEADER = "Target Support Files/MaterialNavbar/MaterialNavbar-prefix.pch"; 405 | INFOPLIST_FILE = "Target Support Files/MaterialNavbar/Info.plist"; 406 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 407 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 408 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 409 | MODULEMAP_FILE = "Target Support Files/MaterialNavbar/MaterialNavbar.modulemap"; 410 | PRODUCT_MODULE_NAME = MaterialNavbar; 411 | PRODUCT_NAME = MaterialNavbar; 412 | SDKROOT = iphoneos; 413 | SKIP_INSTALL = YES; 414 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 415 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 416 | SWIFT_VERSION = 4.0; 417 | TARGETED_DEVICE_FAMILY = "1,2"; 418 | VERSIONING_SYSTEM = "apple-generic"; 419 | VERSION_INFO_PREFIX = ""; 420 | }; 421 | name = Debug; 422 | }; 423 | 0FA74FE0AB04E86938A36CC5810AB869 /* Debug */ = { 424 | isa = XCBuildConfiguration; 425 | baseConfigurationReference = 1E40B5501CE737E52C44634F34953542 /* Pods-MaterialNavbar_Example.debug.xcconfig */; 426 | buildSettings = { 427 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 428 | CODE_SIGN_IDENTITY = ""; 429 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 430 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 431 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 432 | CURRENT_PROJECT_VERSION = 1; 433 | DEFINES_MODULE = YES; 434 | DYLIB_COMPATIBILITY_VERSION = 1; 435 | DYLIB_CURRENT_VERSION = 1; 436 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 437 | INFOPLIST_FILE = "Target Support Files/Pods-MaterialNavbar_Example/Info.plist"; 438 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 439 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 440 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 441 | MACH_O_TYPE = staticlib; 442 | MODULEMAP_FILE = "Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example.modulemap"; 443 | OTHER_LDFLAGS = ""; 444 | OTHER_LIBTOOLFLAGS = ""; 445 | PODS_ROOT = "$(SRCROOT)"; 446 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 447 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 448 | SDKROOT = iphoneos; 449 | SKIP_INSTALL = YES; 450 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 451 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 452 | TARGETED_DEVICE_FAMILY = "1,2"; 453 | VERSIONING_SYSTEM = "apple-generic"; 454 | VERSION_INFO_PREFIX = ""; 455 | }; 456 | name = Debug; 457 | }; 458 | 46303E051AB751CB1A6EDAF00009BE33 /* Debug */ = { 459 | isa = XCBuildConfiguration; 460 | baseConfigurationReference = E7DB2C024594FFAAE27C57BFB2715CC0 /* Pods-MaterialNavbar_Tests.debug.xcconfig */; 461 | buildSettings = { 462 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 463 | CODE_SIGN_IDENTITY = ""; 464 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 465 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 466 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 467 | CURRENT_PROJECT_VERSION = 1; 468 | DEFINES_MODULE = YES; 469 | DYLIB_COMPATIBILITY_VERSION = 1; 470 | DYLIB_CURRENT_VERSION = 1; 471 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 472 | INFOPLIST_FILE = "Target Support Files/Pods-MaterialNavbar_Tests/Info.plist"; 473 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 474 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 475 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 476 | MACH_O_TYPE = staticlib; 477 | MODULEMAP_FILE = "Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests.modulemap"; 478 | OTHER_LDFLAGS = ""; 479 | OTHER_LIBTOOLFLAGS = ""; 480 | PODS_ROOT = "$(SRCROOT)"; 481 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 482 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 483 | SDKROOT = iphoneos; 484 | SKIP_INSTALL = YES; 485 | TARGETED_DEVICE_FAMILY = "1,2"; 486 | VERSIONING_SYSTEM = "apple-generic"; 487 | VERSION_INFO_PREFIX = ""; 488 | }; 489 | name = Debug; 490 | }; 491 | 7D7BB5E7AB6A3D415B3F84D96908FF5B /* Release */ = { 492 | isa = XCBuildConfiguration; 493 | baseConfigurationReference = 4A6CE71508B7B01D73F40B2EC60AA8B0 /* Pods-MaterialNavbar_Tests.release.xcconfig */; 494 | buildSettings = { 495 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 496 | CODE_SIGN_IDENTITY = ""; 497 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 498 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 499 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 500 | CURRENT_PROJECT_VERSION = 1; 501 | DEFINES_MODULE = YES; 502 | DYLIB_COMPATIBILITY_VERSION = 1; 503 | DYLIB_CURRENT_VERSION = 1; 504 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 505 | INFOPLIST_FILE = "Target Support Files/Pods-MaterialNavbar_Tests/Info.plist"; 506 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 507 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 508 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 509 | MACH_O_TYPE = staticlib; 510 | MODULEMAP_FILE = "Target Support Files/Pods-MaterialNavbar_Tests/Pods-MaterialNavbar_Tests.modulemap"; 511 | OTHER_LDFLAGS = ""; 512 | OTHER_LIBTOOLFLAGS = ""; 513 | PODS_ROOT = "$(SRCROOT)"; 514 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 515 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 516 | SDKROOT = iphoneos; 517 | SKIP_INSTALL = YES; 518 | TARGETED_DEVICE_FAMILY = "1,2"; 519 | VALIDATE_PRODUCT = YES; 520 | VERSIONING_SYSTEM = "apple-generic"; 521 | VERSION_INFO_PREFIX = ""; 522 | }; 523 | name = Release; 524 | }; 525 | 8B33C5230DE4A9DFA6D8F46505DD7AF7 /* Debug */ = { 526 | isa = XCBuildConfiguration; 527 | buildSettings = { 528 | ALWAYS_SEARCH_USER_PATHS = NO; 529 | CLANG_ANALYZER_NONNULL = YES; 530 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 531 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 532 | CLANG_CXX_LIBRARY = "libc++"; 533 | CLANG_ENABLE_MODULES = YES; 534 | CLANG_ENABLE_OBJC_ARC = YES; 535 | CLANG_ENABLE_OBJC_WEAK = YES; 536 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 537 | CLANG_WARN_BOOL_CONVERSION = YES; 538 | CLANG_WARN_COMMA = YES; 539 | CLANG_WARN_CONSTANT_CONVERSION = YES; 540 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 541 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 542 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 543 | CLANG_WARN_EMPTY_BODY = YES; 544 | CLANG_WARN_ENUM_CONVERSION = YES; 545 | CLANG_WARN_INFINITE_RECURSION = YES; 546 | CLANG_WARN_INT_CONVERSION = YES; 547 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 548 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 549 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 550 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 551 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 552 | CLANG_WARN_STRICT_PROTOTYPES = YES; 553 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 554 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 555 | CLANG_WARN_UNREACHABLE_CODE = YES; 556 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 557 | CODE_SIGNING_ALLOWED = NO; 558 | CODE_SIGNING_REQUIRED = NO; 559 | COPY_PHASE_STRIP = NO; 560 | DEBUG_INFORMATION_FORMAT = dwarf; 561 | ENABLE_STRICT_OBJC_MSGSEND = YES; 562 | ENABLE_TESTABILITY = YES; 563 | GCC_C_LANGUAGE_STANDARD = gnu11; 564 | GCC_DYNAMIC_NO_PIC = NO; 565 | GCC_NO_COMMON_BLOCKS = YES; 566 | GCC_OPTIMIZATION_LEVEL = 0; 567 | GCC_PREPROCESSOR_DEFINITIONS = ( 568 | "POD_CONFIGURATION_DEBUG=1", 569 | "DEBUG=1", 570 | "$(inherited)", 571 | ); 572 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 573 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 574 | GCC_WARN_UNDECLARED_SELECTOR = YES; 575 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 576 | GCC_WARN_UNUSED_FUNCTION = YES; 577 | GCC_WARN_UNUSED_VARIABLE = YES; 578 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 579 | MTL_ENABLE_DEBUG_INFO = YES; 580 | ONLY_ACTIVE_ARCH = YES; 581 | PRODUCT_NAME = "$(TARGET_NAME)"; 582 | STRIP_INSTALLED_PRODUCT = NO; 583 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 584 | SYMROOT = "${SRCROOT}/../build"; 585 | }; 586 | name = Debug; 587 | }; 588 | 9E2F2DABC44731824198495EB8729646 /* Release */ = { 589 | isa = XCBuildConfiguration; 590 | baseConfigurationReference = 64199C64D3826913A1F23E4E119DDD56 /* MaterialNavbar.xcconfig */; 591 | buildSettings = { 592 | CLANG_ENABLE_MODULES = YES; 593 | CODE_SIGN_IDENTITY = ""; 594 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 595 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 596 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 597 | CURRENT_PROJECT_VERSION = 1; 598 | DEFINES_MODULE = YES; 599 | DYLIB_COMPATIBILITY_VERSION = 1; 600 | DYLIB_CURRENT_VERSION = 1; 601 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 602 | GCC_PREFIX_HEADER = "Target Support Files/MaterialNavbar/MaterialNavbar-prefix.pch"; 603 | INFOPLIST_FILE = "Target Support Files/MaterialNavbar/Info.plist"; 604 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 605 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 606 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 607 | MODULEMAP_FILE = "Target Support Files/MaterialNavbar/MaterialNavbar.modulemap"; 608 | PRODUCT_MODULE_NAME = MaterialNavbar; 609 | PRODUCT_NAME = MaterialNavbar; 610 | SDKROOT = iphoneos; 611 | SKIP_INSTALL = YES; 612 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 613 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 614 | SWIFT_VERSION = 4.0; 615 | TARGETED_DEVICE_FAMILY = "1,2"; 616 | VALIDATE_PRODUCT = YES; 617 | VERSIONING_SYSTEM = "apple-generic"; 618 | VERSION_INFO_PREFIX = ""; 619 | }; 620 | name = Release; 621 | }; 622 | A565E4401A44A089BCA30E90E0EEE57E /* Release */ = { 623 | isa = XCBuildConfiguration; 624 | baseConfigurationReference = 383870885EC5C9EDD75514CBE702B54A /* Pods-MaterialNavbar_Example.release.xcconfig */; 625 | buildSettings = { 626 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 627 | CODE_SIGN_IDENTITY = ""; 628 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 629 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 630 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 631 | CURRENT_PROJECT_VERSION = 1; 632 | DEFINES_MODULE = YES; 633 | DYLIB_COMPATIBILITY_VERSION = 1; 634 | DYLIB_CURRENT_VERSION = 1; 635 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 636 | INFOPLIST_FILE = "Target Support Files/Pods-MaterialNavbar_Example/Info.plist"; 637 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 638 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 639 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 640 | MACH_O_TYPE = staticlib; 641 | MODULEMAP_FILE = "Target Support Files/Pods-MaterialNavbar_Example/Pods-MaterialNavbar_Example.modulemap"; 642 | OTHER_LDFLAGS = ""; 643 | OTHER_LIBTOOLFLAGS = ""; 644 | PODS_ROOT = "$(SRCROOT)"; 645 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 646 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 647 | SDKROOT = iphoneos; 648 | SKIP_INSTALL = YES; 649 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 650 | TARGETED_DEVICE_FAMILY = "1,2"; 651 | VALIDATE_PRODUCT = YES; 652 | VERSIONING_SYSTEM = "apple-generic"; 653 | VERSION_INFO_PREFIX = ""; 654 | }; 655 | name = Release; 656 | }; 657 | B42B54097A876E8A982CBF5DAA91B1AB /* Release */ = { 658 | isa = XCBuildConfiguration; 659 | buildSettings = { 660 | ALWAYS_SEARCH_USER_PATHS = NO; 661 | CLANG_ANALYZER_NONNULL = YES; 662 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 663 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 664 | CLANG_CXX_LIBRARY = "libc++"; 665 | CLANG_ENABLE_MODULES = YES; 666 | CLANG_ENABLE_OBJC_ARC = YES; 667 | CLANG_ENABLE_OBJC_WEAK = YES; 668 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 669 | CLANG_WARN_BOOL_CONVERSION = YES; 670 | CLANG_WARN_COMMA = YES; 671 | CLANG_WARN_CONSTANT_CONVERSION = YES; 672 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 673 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 674 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 675 | CLANG_WARN_EMPTY_BODY = YES; 676 | CLANG_WARN_ENUM_CONVERSION = YES; 677 | CLANG_WARN_INFINITE_RECURSION = YES; 678 | CLANG_WARN_INT_CONVERSION = YES; 679 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 680 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 681 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 682 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 683 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 684 | CLANG_WARN_STRICT_PROTOTYPES = YES; 685 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 686 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 687 | CLANG_WARN_UNREACHABLE_CODE = YES; 688 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 689 | CODE_SIGNING_ALLOWED = NO; 690 | CODE_SIGNING_REQUIRED = NO; 691 | COPY_PHASE_STRIP = NO; 692 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 693 | ENABLE_NS_ASSERTIONS = NO; 694 | ENABLE_STRICT_OBJC_MSGSEND = YES; 695 | GCC_C_LANGUAGE_STANDARD = gnu11; 696 | GCC_NO_COMMON_BLOCKS = YES; 697 | GCC_PREPROCESSOR_DEFINITIONS = ( 698 | "POD_CONFIGURATION_RELEASE=1", 699 | "$(inherited)", 700 | ); 701 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 702 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 703 | GCC_WARN_UNDECLARED_SELECTOR = YES; 704 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 705 | GCC_WARN_UNUSED_FUNCTION = YES; 706 | GCC_WARN_UNUSED_VARIABLE = YES; 707 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 708 | MTL_ENABLE_DEBUG_INFO = NO; 709 | PRODUCT_NAME = "$(TARGET_NAME)"; 710 | STRIP_INSTALLED_PRODUCT = NO; 711 | SYMROOT = "${SRCROOT}/../build"; 712 | }; 713 | name = Release; 714 | }; 715 | /* End XCBuildConfiguration section */ 716 | 717 | /* Begin XCConfigurationList section */ 718 | 25BC16742BBDABB4BB6519E579C94D3B /* Build configuration list for PBXNativeTarget "MaterialNavbar" */ = { 719 | isa = XCConfigurationList; 720 | buildConfigurations = ( 721 | 02FD74A2D85DE7E76649100F724F70F5 /* Debug */, 722 | 9E2F2DABC44731824198495EB8729646 /* Release */, 723 | ); 724 | defaultConfigurationIsVisible = 0; 725 | defaultConfigurationName = Release; 726 | }; 727 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 728 | isa = XCConfigurationList; 729 | buildConfigurations = ( 730 | 8B33C5230DE4A9DFA6D8F46505DD7AF7 /* Debug */, 731 | B42B54097A876E8A982CBF5DAA91B1AB /* Release */, 732 | ); 733 | defaultConfigurationIsVisible = 0; 734 | defaultConfigurationName = Release; 735 | }; 736 | 2ED5620177CAF9F0667C66DC36CBD06B /* Build configuration list for PBXNativeTarget "Pods-MaterialNavbar_Tests" */ = { 737 | isa = XCConfigurationList; 738 | buildConfigurations = ( 739 | 46303E051AB751CB1A6EDAF00009BE33 /* Debug */, 740 | 7D7BB5E7AB6A3D415B3F84D96908FF5B /* Release */, 741 | ); 742 | defaultConfigurationIsVisible = 0; 743 | defaultConfigurationName = Release; 744 | }; 745 | 42C231D7879C320305FAECC3E3706AAB /* Build configuration list for PBXNativeTarget "Pods-MaterialNavbar_Example" */ = { 746 | isa = XCConfigurationList; 747 | buildConfigurations = ( 748 | 0FA74FE0AB04E86938A36CC5810AB869 /* Debug */, 749 | A565E4401A44A089BCA30E90E0EEE57E /* Release */, 750 | ); 751 | defaultConfigurationIsVisible = 0; 752 | defaultConfigurationName = Release; 753 | }; 754 | /* End XCConfigurationList section */ 755 | }; 756 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 757 | } 758 | --------------------------------------------------------------------------------