├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── VTSwiftySlideMenu.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcuserdata │ │ │ │ └── vudinhvinh.xcuserdatad │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcuserdata │ │ │ └── vudinhvinh.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── Pods-VTSwiftySlideMenu_Example.xcscheme │ │ │ ├── Pods-VTSwiftySlideMenu_Tests.xcscheme │ │ │ ├── VTSwiftySlideMenu.xcscheme │ │ │ └── xcschememanagement.plist │ └── Target Support Files │ │ ├── Pods-VTSwiftySlideMenu_Example │ │ ├── Info.plist │ │ ├── Pods-VTSwiftySlideMenu_Example-acknowledgements.markdown │ │ ├── Pods-VTSwiftySlideMenu_Example-acknowledgements.plist │ │ ├── Pods-VTSwiftySlideMenu_Example-dummy.m │ │ ├── Pods-VTSwiftySlideMenu_Example-frameworks.sh │ │ ├── Pods-VTSwiftySlideMenu_Example-resources.sh │ │ ├── Pods-VTSwiftySlideMenu_Example-umbrella.h │ │ ├── Pods-VTSwiftySlideMenu_Example.debug.xcconfig │ │ ├── Pods-VTSwiftySlideMenu_Example.modulemap │ │ └── Pods-VTSwiftySlideMenu_Example.release.xcconfig │ │ ├── Pods-VTSwiftySlideMenu_Tests │ │ ├── Info.plist │ │ ├── Pods-VTSwiftySlideMenu_Tests-acknowledgements.markdown │ │ ├── Pods-VTSwiftySlideMenu_Tests-acknowledgements.plist │ │ ├── Pods-VTSwiftySlideMenu_Tests-dummy.m │ │ ├── Pods-VTSwiftySlideMenu_Tests-frameworks.sh │ │ ├── Pods-VTSwiftySlideMenu_Tests-resources.sh │ │ ├── Pods-VTSwiftySlideMenu_Tests-umbrella.h │ │ ├── Pods-VTSwiftySlideMenu_Tests.debug.xcconfig │ │ ├── Pods-VTSwiftySlideMenu_Tests.modulemap │ │ └── Pods-VTSwiftySlideMenu_Tests.release.xcconfig │ │ └── VTSwiftySlideMenu │ │ ├── Info.plist │ │ ├── VTSwiftySlideMenu-dummy.m │ │ ├── VTSwiftySlideMenu-prefix.pch │ │ ├── VTSwiftySlideMenu-umbrella.h │ │ ├── VTSwiftySlideMenu.modulemap │ │ └── VTSwiftySlideMenu.xcconfig ├── Resources │ ├── Demo.gif │ ├── Demo2.gif │ ├── iPhone 1.png │ ├── iPhone 2.png │ ├── iPhone XS Max 1.png │ └── iPhone XS Max 2.png ├── Tests │ ├── Info.plist │ └── Tests.swift ├── VTSwiftySlideMenu.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── VTSwiftySlideMenu-Example.xcscheme ├── VTSwiftySlideMenu.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── vudinhvinh.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist └── VTSwiftySlideMenu │ ├── AppDelegate.swift │ ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard │ ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ └── MenuIcon.imageset │ │ ├── Contents.json │ │ ├── MenuIcon.png │ │ └── MenuIcon@2x.png │ ├── Info.plist │ ├── MenuViewController.swift │ ├── OthersViewController.swift │ └── ViewController.swift ├── LICENSE ├── README.md ├── VTSwiftySlideMenu.podspec ├── VTSwiftySlideMenu ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── SizeClassHelper.swift │ ├── SlideMenuSegue.swift │ ├── SlideMenuViewController.swift │ └── Utilities.swift └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/VTSwiftySlideMenu.xcworkspace -scheme VTSwiftySlideMenu-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'VTSwiftySlideMenu_Example' do 4 | pod 'VTSwiftySlideMenu', :path => '../' 5 | 6 | target 'VTSwiftySlideMenu_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - VTSwiftySlideMenu (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - VTSwiftySlideMenu (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | VTSwiftySlideMenu: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | VTSwiftySlideMenu: 5d9d3553fc135165ea66bfc95816a3c0420bcf76 13 | 14 | PODFILE CHECKSUM: e614bafc99019479062cbcd55302cdca09d460c1 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/VTSwiftySlideMenu.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VTSwiftySlideMenu", 3 | "version": "0.1.0", 4 | "summary": "A short description of VTSwiftySlideMenu.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/whatsltd4us/VTSwiftySlideMenu", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "whatsltd4us": "vudinhvinh@luvina.net" 13 | }, 14 | "source": { 15 | "git": "https://github.com/whatsltd4us/VTSwiftySlideMenu.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "VTSwiftySlideMenu/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - VTSwiftySlideMenu (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - VTSwiftySlideMenu (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | VTSwiftySlideMenu: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | VTSwiftySlideMenu: 5d9d3553fc135165ea66bfc95816a3c0420bcf76 13 | 14 | PODFILE CHECKSUM: e614bafc99019479062cbcd55302cdca09d460c1 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /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 | 065D07EEF7EE0DAE5A13DF10CD8F3A10 /* Pods-VTSwiftySlideMenu_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E0851C705209794FC4808FB6FB8CFD37 /* Pods-VTSwiftySlideMenu_Tests-dummy.m */; }; 11 | 2276F7065F5BC6F2C847CB87CFF17E98 /* VTSwiftySlideMenu-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B5490517BFB296D061C42FC0CFD33FB /* VTSwiftySlideMenu-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 3C36F6F6D4066D78102B5D985853448E /* Pods-VTSwiftySlideMenu_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C97B0E7637E6023F0374698668B10559 /* Pods-VTSwiftySlideMenu_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 7483B7E22B7FC234D5CFC8517F3B1F57 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; 14 | 7564E6D69F23557FF9BB576385C7BD54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; 15 | 803B10160C6836AAA89802AEEAD4CC85 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; 16 | A5C167E05DB4F67D0C6D089322941A2A /* Pods-VTSwiftySlideMenu_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2FE511A0FE4BE6E9BAFC0ADB10C5AD0F /* Pods-VTSwiftySlideMenu_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | A9C6ADC6214F7CF1000994C1 /* SlideMenuViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADC2214F7CF0000994C1 /* SlideMenuViewController.swift */; }; 18 | A9C6ADC7214F7CF1000994C1 /* SizeClassHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADC3214F7CF0000994C1 /* SizeClassHelper.swift */; }; 19 | A9C6ADC8214F7CF1000994C1 /* SlideMenuSegue.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADC4214F7CF1000994C1 /* SlideMenuSegue.swift */; }; 20 | A9C6ADC9214F7CF1000994C1 /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADC5214F7CF1000994C1 /* Utilities.swift */; }; 21 | DC9503E96B9DB317B1A202F98917AF59 /* Pods-VTSwiftySlideMenu_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 808B2C753CA1D85FC4EF52754F37B745 /* Pods-VTSwiftySlideMenu_Example-dummy.m */; }; 22 | F384F47CB3867993F211B6738AF4B8BE /* VTSwiftySlideMenu-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A42295779CC21FBA768113C6C5536F2 /* VTSwiftySlideMenu-dummy.m */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | 0E5BE7EE4E8651722F65062EE9E6B977 /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = A6E07FA97DB210333AFF15E3F2AF9250; 31 | remoteInfo = VTSwiftySlideMenu; 32 | }; 33 | 33572C16D0DCF203CF270523EB08A449 /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = CC33DC9362EBF363BEA13538BC976126; 38 | remoteInfo = "Pods-VTSwiftySlideMenu_Example"; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 0D7EEC42AEE68575152550C823732603 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 44 | 16B4D947D6AF4E500969BF33F6709925 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 217CFF254B543E6ED5E1D119DD08F71D /* Pods-VTSwiftySlideMenu_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-VTSwiftySlideMenu_Tests.release.xcconfig"; sourceTree = ""; }; 46 | 2FE511A0FE4BE6E9BAFC0ADB10C5AD0F /* Pods-VTSwiftySlideMenu_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-VTSwiftySlideMenu_Example-umbrella.h"; sourceTree = ""; }; 47 | 4A42295779CC21FBA768113C6C5536F2 /* VTSwiftySlideMenu-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "VTSwiftySlideMenu-dummy.m"; sourceTree = ""; }; 48 | 4AE69C0D9D4A030AD23B2913F75E38F1 /* Pods-VTSwiftySlideMenu_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-VTSwiftySlideMenu_Tests-acknowledgements.markdown"; sourceTree = ""; }; 49 | 4BEC62FB15BD34FCA9660D19E4AD0202 /* Pods-VTSwiftySlideMenu_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-VTSwiftySlideMenu_Example-resources.sh"; sourceTree = ""; }; 50 | 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 51 | 5DE39384C8C17C6660917D9B874119F9 /* VTSwiftySlideMenu-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "VTSwiftySlideMenu-prefix.pch"; sourceTree = ""; }; 52 | 643D2E509DF1AEEB9FBD317D3F4FE104 /* Pods_VTSwiftySlideMenu_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_VTSwiftySlideMenu_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | 6ED999F30BEAE78FF1D82B6898AFF2DB /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 54 | 73B2449991DFF057A279316CA77B1665 /* Pods-VTSwiftySlideMenu_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-VTSwiftySlideMenu_Example.debug.xcconfig"; sourceTree = ""; }; 55 | 7B5490517BFB296D061C42FC0CFD33FB /* VTSwiftySlideMenu-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "VTSwiftySlideMenu-umbrella.h"; sourceTree = ""; }; 56 | 808B2C753CA1D85FC4EF52754F37B745 /* Pods-VTSwiftySlideMenu_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-VTSwiftySlideMenu_Example-dummy.m"; sourceTree = ""; }; 57 | 82CC9D2116FB750B75C1393F370FB929 /* VTSwiftySlideMenu.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = VTSwiftySlideMenu.xcconfig; sourceTree = ""; }; 58 | 9174653D2CFA9EDA289DDF0E70DE3F51 /* Pods-VTSwiftySlideMenu_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-VTSwiftySlideMenu_Example-acknowledgements.markdown"; sourceTree = ""; }; 59 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 60 | 972C389A612EA05F51833378188B0A1D /* Pods-VTSwiftySlideMenu_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-VTSwiftySlideMenu_Tests-frameworks.sh"; sourceTree = ""; }; 61 | 9796A8813F02B3E52830E45A152D1CAD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 62 | A25BFC64EC3804B702CEF243248BCCBE /* Pods-VTSwiftySlideMenu_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-VTSwiftySlideMenu_Example.release.xcconfig"; sourceTree = ""; }; 63 | A554A0EF86CC37BE2EADA8C74F79488A /* Pods_VTSwiftySlideMenu_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_VTSwiftySlideMenu_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | A66457654139B06C9801D96C6CC17EE9 /* VTSwiftySlideMenu.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = VTSwiftySlideMenu.modulemap; sourceTree = ""; }; 65 | A9C6ADC2214F7CF0000994C1 /* SlideMenuViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SlideMenuViewController.swift; path = VTSwiftySlideMenu/Classes/SlideMenuViewController.swift; sourceTree = ""; }; 66 | A9C6ADC3214F7CF0000994C1 /* SizeClassHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SizeClassHelper.swift; path = VTSwiftySlideMenu/Classes/SizeClassHelper.swift; sourceTree = ""; }; 67 | A9C6ADC4214F7CF1000994C1 /* SlideMenuSegue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SlideMenuSegue.swift; path = VTSwiftySlideMenu/Classes/SlideMenuSegue.swift; sourceTree = ""; }; 68 | A9C6ADC5214F7CF1000994C1 /* Utilities.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Utilities.swift; path = VTSwiftySlideMenu/Classes/Utilities.swift; sourceTree = ""; }; 69 | AC4378538DE689720B5EA8241618ED24 /* VTSwiftySlideMenu.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = VTSwiftySlideMenu.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | ACB89B0E54B693671F15FA1D3E111CA9 /* Pods-VTSwiftySlideMenu_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-VTSwiftySlideMenu_Example-acknowledgements.plist"; sourceTree = ""; }; 71 | AD96AF48B9546B9B8C6DD7FC1DDE5BF3 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 72 | B0E3B559D6C658C8EF7B692112B2437A /* Pods-VTSwiftySlideMenu_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-VTSwiftySlideMenu_Tests-resources.sh"; sourceTree = ""; }; 73 | B78B6D82CE9F04E7EDAA212A638B6B7A /* Pods-VTSwiftySlideMenu_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-VTSwiftySlideMenu_Example-frameworks.sh"; sourceTree = ""; }; 74 | C97B0E7637E6023F0374698668B10559 /* Pods-VTSwiftySlideMenu_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-VTSwiftySlideMenu_Tests-umbrella.h"; sourceTree = ""; }; 75 | E0851C705209794FC4808FB6FB8CFD37 /* Pods-VTSwiftySlideMenu_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-VTSwiftySlideMenu_Tests-dummy.m"; sourceTree = ""; }; 76 | EA957A397BAD40FBB2EA6C25C575F02B /* VTSwiftySlideMenu.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = VTSwiftySlideMenu.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 77 | ED393D6A016214AE4A552776E028F17C /* Pods-VTSwiftySlideMenu_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-VTSwiftySlideMenu_Tests-acknowledgements.plist"; sourceTree = ""; }; 78 | F2572B3C5A10B72ED7DFCA309C4AE07E /* Pods-VTSwiftySlideMenu_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-VTSwiftySlideMenu_Tests.debug.xcconfig"; sourceTree = ""; }; 79 | F7C10A736AB32DB0AF2E3B411690641C /* Pods-VTSwiftySlideMenu_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-VTSwiftySlideMenu_Example.modulemap"; sourceTree = ""; }; 80 | F9917FAB2CBC7BACC9FAC4F6FB11B566 /* Pods-VTSwiftySlideMenu_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-VTSwiftySlideMenu_Tests.modulemap"; sourceTree = ""; }; 81 | /* End PBXFileReference section */ 82 | 83 | /* Begin PBXFrameworksBuildPhase section */ 84 | E009173E217DBF7E022C4722F1EB281F /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 7564E6D69F23557FF9BB576385C7BD54 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | ECC885213C6F6CF9179EFF4C90692CF1 /* Frameworks */ = { 93 | isa = PBXFrameworksBuildPhase; 94 | buildActionMask = 2147483647; 95 | files = ( 96 | 7483B7E22B7FC234D5CFC8517F3B1F57 /* Foundation.framework in Frameworks */, 97 | ); 98 | runOnlyForDeploymentPostprocessing = 0; 99 | }; 100 | FE1CF5396AE249B54BA7006BE45415CA /* Frameworks */ = { 101 | isa = PBXFrameworksBuildPhase; 102 | buildActionMask = 2147483647; 103 | files = ( 104 | 803B10160C6836AAA89802AEEAD4CC85 /* Foundation.framework in Frameworks */, 105 | ); 106 | runOnlyForDeploymentPostprocessing = 0; 107 | }; 108 | /* End PBXFrameworksBuildPhase section */ 109 | 110 | /* Begin PBXGroup section */ 111 | 215841EDBB21784943E7B199F90B5F92 /* Pods-VTSwiftySlideMenu_Example */ = { 112 | isa = PBXGroup; 113 | children = ( 114 | 16B4D947D6AF4E500969BF33F6709925 /* Info.plist */, 115 | F7C10A736AB32DB0AF2E3B411690641C /* Pods-VTSwiftySlideMenu_Example.modulemap */, 116 | 9174653D2CFA9EDA289DDF0E70DE3F51 /* Pods-VTSwiftySlideMenu_Example-acknowledgements.markdown */, 117 | ACB89B0E54B693671F15FA1D3E111CA9 /* Pods-VTSwiftySlideMenu_Example-acknowledgements.plist */, 118 | 808B2C753CA1D85FC4EF52754F37B745 /* Pods-VTSwiftySlideMenu_Example-dummy.m */, 119 | B78B6D82CE9F04E7EDAA212A638B6B7A /* Pods-VTSwiftySlideMenu_Example-frameworks.sh */, 120 | 4BEC62FB15BD34FCA9660D19E4AD0202 /* Pods-VTSwiftySlideMenu_Example-resources.sh */, 121 | 2FE511A0FE4BE6E9BAFC0ADB10C5AD0F /* Pods-VTSwiftySlideMenu_Example-umbrella.h */, 122 | 73B2449991DFF057A279316CA77B1665 /* Pods-VTSwiftySlideMenu_Example.debug.xcconfig */, 123 | A25BFC64EC3804B702CEF243248BCCBE /* Pods-VTSwiftySlideMenu_Example.release.xcconfig */, 124 | ); 125 | name = "Pods-VTSwiftySlideMenu_Example"; 126 | path = "Target Support Files/Pods-VTSwiftySlideMenu_Example"; 127 | sourceTree = ""; 128 | }; 129 | 2F5A7F704890F3979280E6283E04933B /* Products */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | A554A0EF86CC37BE2EADA8C74F79488A /* Pods_VTSwiftySlideMenu_Example.framework */, 133 | 643D2E509DF1AEEB9FBD317D3F4FE104 /* Pods_VTSwiftySlideMenu_Tests.framework */, 134 | AC4378538DE689720B5EA8241618ED24 /* VTSwiftySlideMenu.framework */, 135 | ); 136 | name = Products; 137 | sourceTree = ""; 138 | }; 139 | 403258F889A4B471E16987484024B27E /* Pod */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | 6ED999F30BEAE78FF1D82B6898AFF2DB /* LICENSE */, 143 | 0D7EEC42AEE68575152550C823732603 /* README.md */, 144 | EA957A397BAD40FBB2EA6C25C575F02B /* VTSwiftySlideMenu.podspec */, 145 | ); 146 | name = Pod; 147 | sourceTree = ""; 148 | }; 149 | 5E0D919E635D23B70123790B8308F8EF /* iOS */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */, 153 | ); 154 | name = iOS; 155 | sourceTree = ""; 156 | }; 157 | 6385FA36AEC707B8A9E81BF10E447DCB /* VTSwiftySlideMenu */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | A9C6ADC3214F7CF0000994C1 /* SizeClassHelper.swift */, 161 | A9C6ADC4214F7CF1000994C1 /* SlideMenuSegue.swift */, 162 | A9C6ADC2214F7CF0000994C1 /* SlideMenuViewController.swift */, 163 | A9C6ADC5214F7CF1000994C1 /* Utilities.swift */, 164 | 403258F889A4B471E16987484024B27E /* Pod */, 165 | FBCE3A16EAA76FCD27BD8C3B13CBD398 /* Support Files */, 166 | ); 167 | name = VTSwiftySlideMenu; 168 | path = ../..; 169 | sourceTree = ""; 170 | }; 171 | 7DB346D0F39D3F0E887471402A8071AB = { 172 | isa = PBXGroup; 173 | children = ( 174 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 175 | B8B03AAF1996B7F375581461E0F4A2F5 /* Development Pods */, 176 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 177 | 2F5A7F704890F3979280E6283E04933B /* Products */, 178 | 8DAD41D65B66BE395BFAC2381005E9C1 /* Targets Support Files */, 179 | ); 180 | sourceTree = ""; 181 | }; 182 | 8DAD41D65B66BE395BFAC2381005E9C1 /* Targets Support Files */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | 215841EDBB21784943E7B199F90B5F92 /* Pods-VTSwiftySlideMenu_Example */, 186 | FC66C7E2FF08E9D65C13E76883EA8926 /* Pods-VTSwiftySlideMenu_Tests */, 187 | ); 188 | name = "Targets Support Files"; 189 | sourceTree = ""; 190 | }; 191 | B8B03AAF1996B7F375581461E0F4A2F5 /* Development Pods */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | 6385FA36AEC707B8A9E81BF10E447DCB /* VTSwiftySlideMenu */, 195 | ); 196 | name = "Development Pods"; 197 | sourceTree = ""; 198 | }; 199 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 200 | isa = PBXGroup; 201 | children = ( 202 | 5E0D919E635D23B70123790B8308F8EF /* iOS */, 203 | ); 204 | name = Frameworks; 205 | sourceTree = ""; 206 | }; 207 | FBCE3A16EAA76FCD27BD8C3B13CBD398 /* Support Files */ = { 208 | isa = PBXGroup; 209 | children = ( 210 | AD96AF48B9546B9B8C6DD7FC1DDE5BF3 /* Info.plist */, 211 | A66457654139B06C9801D96C6CC17EE9 /* VTSwiftySlideMenu.modulemap */, 212 | 82CC9D2116FB750B75C1393F370FB929 /* VTSwiftySlideMenu.xcconfig */, 213 | 4A42295779CC21FBA768113C6C5536F2 /* VTSwiftySlideMenu-dummy.m */, 214 | 5DE39384C8C17C6660917D9B874119F9 /* VTSwiftySlideMenu-prefix.pch */, 215 | 7B5490517BFB296D061C42FC0CFD33FB /* VTSwiftySlideMenu-umbrella.h */, 216 | ); 217 | name = "Support Files"; 218 | path = "Example/Pods/Target Support Files/VTSwiftySlideMenu"; 219 | sourceTree = ""; 220 | }; 221 | FC66C7E2FF08E9D65C13E76883EA8926 /* Pods-VTSwiftySlideMenu_Tests */ = { 222 | isa = PBXGroup; 223 | children = ( 224 | 9796A8813F02B3E52830E45A152D1CAD /* Info.plist */, 225 | F9917FAB2CBC7BACC9FAC4F6FB11B566 /* Pods-VTSwiftySlideMenu_Tests.modulemap */, 226 | 4AE69C0D9D4A030AD23B2913F75E38F1 /* Pods-VTSwiftySlideMenu_Tests-acknowledgements.markdown */, 227 | ED393D6A016214AE4A552776E028F17C /* Pods-VTSwiftySlideMenu_Tests-acknowledgements.plist */, 228 | E0851C705209794FC4808FB6FB8CFD37 /* Pods-VTSwiftySlideMenu_Tests-dummy.m */, 229 | 972C389A612EA05F51833378188B0A1D /* Pods-VTSwiftySlideMenu_Tests-frameworks.sh */, 230 | B0E3B559D6C658C8EF7B692112B2437A /* Pods-VTSwiftySlideMenu_Tests-resources.sh */, 231 | C97B0E7637E6023F0374698668B10559 /* Pods-VTSwiftySlideMenu_Tests-umbrella.h */, 232 | F2572B3C5A10B72ED7DFCA309C4AE07E /* Pods-VTSwiftySlideMenu_Tests.debug.xcconfig */, 233 | 217CFF254B543E6ED5E1D119DD08F71D /* Pods-VTSwiftySlideMenu_Tests.release.xcconfig */, 234 | ); 235 | name = "Pods-VTSwiftySlideMenu_Tests"; 236 | path = "Target Support Files/Pods-VTSwiftySlideMenu_Tests"; 237 | sourceTree = ""; 238 | }; 239 | /* End PBXGroup section */ 240 | 241 | /* Begin PBXHeadersBuildPhase section */ 242 | 2F7E92D5634E961E1748482778BE1D5F /* Headers */ = { 243 | isa = PBXHeadersBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | A5C167E05DB4F67D0C6D089322941A2A /* Pods-VTSwiftySlideMenu_Example-umbrella.h in Headers */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | 3125E7D097DBA304486633E2670833F4 /* Headers */ = { 251 | isa = PBXHeadersBuildPhase; 252 | buildActionMask = 2147483647; 253 | files = ( 254 | 3C36F6F6D4066D78102B5D985853448E /* Pods-VTSwiftySlideMenu_Tests-umbrella.h in Headers */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | D32151BBBBC128BF6A2108B805559711 /* Headers */ = { 259 | isa = PBXHeadersBuildPhase; 260 | buildActionMask = 2147483647; 261 | files = ( 262 | 2276F7065F5BC6F2C847CB87CFF17E98 /* VTSwiftySlideMenu-umbrella.h in Headers */, 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | /* End PBXHeadersBuildPhase section */ 267 | 268 | /* Begin PBXNativeTarget section */ 269 | A6E07FA97DB210333AFF15E3F2AF9250 /* VTSwiftySlideMenu */ = { 270 | isa = PBXNativeTarget; 271 | buildConfigurationList = 861BBAA382C182DFEDC684FB9B299102 /* Build configuration list for PBXNativeTarget "VTSwiftySlideMenu" */; 272 | buildPhases = ( 273 | C9A5BC91FD2FC3A4D208FE6C6DB15C60 /* Sources */, 274 | FE1CF5396AE249B54BA7006BE45415CA /* Frameworks */, 275 | D32151BBBBC128BF6A2108B805559711 /* Headers */, 276 | ); 277 | buildRules = ( 278 | ); 279 | dependencies = ( 280 | ); 281 | name = VTSwiftySlideMenu; 282 | productName = VTSwiftySlideMenu; 283 | productReference = AC4378538DE689720B5EA8241618ED24 /* VTSwiftySlideMenu.framework */; 284 | productType = "com.apple.product-type.framework"; 285 | }; 286 | A90D917664F2ECF6021B25E05C7D3B60 /* Pods-VTSwiftySlideMenu_Tests */ = { 287 | isa = PBXNativeTarget; 288 | buildConfigurationList = E084E4AAA6F69B8786B9FBFF1B0ED7BE /* Build configuration list for PBXNativeTarget "Pods-VTSwiftySlideMenu_Tests" */; 289 | buildPhases = ( 290 | 2019755BCCAC86A166FA25A21318CD65 /* Sources */, 291 | E009173E217DBF7E022C4722F1EB281F /* Frameworks */, 292 | 3125E7D097DBA304486633E2670833F4 /* Headers */, 293 | ); 294 | buildRules = ( 295 | ); 296 | dependencies = ( 297 | CB6AFBD421C412331A6E2C458405B4E0 /* PBXTargetDependency */, 298 | ); 299 | name = "Pods-VTSwiftySlideMenu_Tests"; 300 | productName = "Pods-VTSwiftySlideMenu_Tests"; 301 | productReference = 643D2E509DF1AEEB9FBD317D3F4FE104 /* Pods_VTSwiftySlideMenu_Tests.framework */; 302 | productType = "com.apple.product-type.framework"; 303 | }; 304 | CC33DC9362EBF363BEA13538BC976126 /* Pods-VTSwiftySlideMenu_Example */ = { 305 | isa = PBXNativeTarget; 306 | buildConfigurationList = C062B94272B00A744EE513E55A5DDD8A /* Build configuration list for PBXNativeTarget "Pods-VTSwiftySlideMenu_Example" */; 307 | buildPhases = ( 308 | 93F96631FD7AF72AE810DCA10C9C184A /* Sources */, 309 | ECC885213C6F6CF9179EFF4C90692CF1 /* Frameworks */, 310 | 2F7E92D5634E961E1748482778BE1D5F /* Headers */, 311 | ); 312 | buildRules = ( 313 | ); 314 | dependencies = ( 315 | CBEF42D5004C965CCC7152ED3C2FFE7C /* PBXTargetDependency */, 316 | ); 317 | name = "Pods-VTSwiftySlideMenu_Example"; 318 | productName = "Pods-VTSwiftySlideMenu_Example"; 319 | productReference = A554A0EF86CC37BE2EADA8C74F79488A /* Pods_VTSwiftySlideMenu_Example.framework */; 320 | productType = "com.apple.product-type.framework"; 321 | }; 322 | /* End PBXNativeTarget section */ 323 | 324 | /* Begin PBXProject section */ 325 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 326 | isa = PBXProject; 327 | attributes = { 328 | LastSwiftUpdateCheck = 0930; 329 | LastUpgradeCheck = 0930; 330 | TargetAttributes = { 331 | A6E07FA97DB210333AFF15E3F2AF9250 = { 332 | LastSwiftMigration = 0940; 333 | }; 334 | CC33DC9362EBF363BEA13538BC976126 = { 335 | LastSwiftMigration = 0940; 336 | }; 337 | }; 338 | }; 339 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 340 | compatibilityVersion = "Xcode 3.2"; 341 | developmentRegion = English; 342 | hasScannedForEncodings = 0; 343 | knownRegions = ( 344 | en, 345 | ); 346 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 347 | productRefGroup = 2F5A7F704890F3979280E6283E04933B /* Products */; 348 | projectDirPath = ""; 349 | projectRoot = ""; 350 | targets = ( 351 | CC33DC9362EBF363BEA13538BC976126 /* Pods-VTSwiftySlideMenu_Example */, 352 | A90D917664F2ECF6021B25E05C7D3B60 /* Pods-VTSwiftySlideMenu_Tests */, 353 | A6E07FA97DB210333AFF15E3F2AF9250 /* VTSwiftySlideMenu */, 354 | ); 355 | }; 356 | /* End PBXProject section */ 357 | 358 | /* Begin PBXSourcesBuildPhase section */ 359 | 2019755BCCAC86A166FA25A21318CD65 /* Sources */ = { 360 | isa = PBXSourcesBuildPhase; 361 | buildActionMask = 2147483647; 362 | files = ( 363 | 065D07EEF7EE0DAE5A13DF10CD8F3A10 /* Pods-VTSwiftySlideMenu_Tests-dummy.m in Sources */, 364 | ); 365 | runOnlyForDeploymentPostprocessing = 0; 366 | }; 367 | 93F96631FD7AF72AE810DCA10C9C184A /* Sources */ = { 368 | isa = PBXSourcesBuildPhase; 369 | buildActionMask = 2147483647; 370 | files = ( 371 | DC9503E96B9DB317B1A202F98917AF59 /* Pods-VTSwiftySlideMenu_Example-dummy.m in Sources */, 372 | ); 373 | runOnlyForDeploymentPostprocessing = 0; 374 | }; 375 | C9A5BC91FD2FC3A4D208FE6C6DB15C60 /* Sources */ = { 376 | isa = PBXSourcesBuildPhase; 377 | buildActionMask = 2147483647; 378 | files = ( 379 | F384F47CB3867993F211B6738AF4B8BE /* VTSwiftySlideMenu-dummy.m in Sources */, 380 | A9C6ADC6214F7CF1000994C1 /* SlideMenuViewController.swift in Sources */, 381 | A9C6ADC8214F7CF1000994C1 /* SlideMenuSegue.swift in Sources */, 382 | A9C6ADC9214F7CF1000994C1 /* Utilities.swift in Sources */, 383 | A9C6ADC7214F7CF1000994C1 /* SizeClassHelper.swift in Sources */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | /* End PBXSourcesBuildPhase section */ 388 | 389 | /* Begin PBXTargetDependency section */ 390 | CB6AFBD421C412331A6E2C458405B4E0 /* PBXTargetDependency */ = { 391 | isa = PBXTargetDependency; 392 | name = "Pods-VTSwiftySlideMenu_Example"; 393 | target = CC33DC9362EBF363BEA13538BC976126 /* Pods-VTSwiftySlideMenu_Example */; 394 | targetProxy = 33572C16D0DCF203CF270523EB08A449 /* PBXContainerItemProxy */; 395 | }; 396 | CBEF42D5004C965CCC7152ED3C2FFE7C /* PBXTargetDependency */ = { 397 | isa = PBXTargetDependency; 398 | name = VTSwiftySlideMenu; 399 | target = A6E07FA97DB210333AFF15E3F2AF9250 /* VTSwiftySlideMenu */; 400 | targetProxy = 0E5BE7EE4E8651722F65062EE9E6B977 /* PBXContainerItemProxy */; 401 | }; 402 | /* End PBXTargetDependency section */ 403 | 404 | /* Begin XCBuildConfiguration section */ 405 | 527E41BC5E1083565B310FF474708075 /* Release */ = { 406 | isa = XCBuildConfiguration; 407 | baseConfigurationReference = 217CFF254B543E6ED5E1D119DD08F71D /* Pods-VTSwiftySlideMenu_Tests.release.xcconfig */; 408 | buildSettings = { 409 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 410 | CODE_SIGN_IDENTITY = ""; 411 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 412 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 413 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 414 | CURRENT_PROJECT_VERSION = 1; 415 | DEFINES_MODULE = YES; 416 | DYLIB_COMPATIBILITY_VERSION = 1; 417 | DYLIB_CURRENT_VERSION = 1; 418 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 419 | INFOPLIST_FILE = "Target Support Files/Pods-VTSwiftySlideMenu_Tests/Info.plist"; 420 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 421 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 422 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 423 | MACH_O_TYPE = staticlib; 424 | MODULEMAP_FILE = "Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_Tests.modulemap"; 425 | OTHER_LDFLAGS = ""; 426 | OTHER_LIBTOOLFLAGS = ""; 427 | PODS_ROOT = "$(SRCROOT)"; 428 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 429 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 430 | SDKROOT = iphoneos; 431 | SKIP_INSTALL = YES; 432 | TARGETED_DEVICE_FAMILY = "1,2"; 433 | VALIDATE_PRODUCT = YES; 434 | VERSIONING_SYSTEM = "apple-generic"; 435 | VERSION_INFO_PREFIX = ""; 436 | }; 437 | name = Release; 438 | }; 439 | 82204B59F1AC8E9DD09A2C6AC01351BC /* Release */ = { 440 | isa = XCBuildConfiguration; 441 | baseConfigurationReference = 82CC9D2116FB750B75C1393F370FB929 /* VTSwiftySlideMenu.xcconfig */; 442 | buildSettings = { 443 | CLANG_ENABLE_MODULES = YES; 444 | CODE_SIGN_IDENTITY = ""; 445 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 446 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 447 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 448 | CURRENT_PROJECT_VERSION = 1; 449 | DEFINES_MODULE = YES; 450 | DYLIB_COMPATIBILITY_VERSION = 1; 451 | DYLIB_CURRENT_VERSION = 1; 452 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 453 | GCC_PREFIX_HEADER = "Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu-prefix.pch"; 454 | INFOPLIST_FILE = "Target Support Files/VTSwiftySlideMenu/Info.plist"; 455 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 456 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 457 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 458 | MODULEMAP_FILE = "Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu.modulemap"; 459 | PRODUCT_MODULE_NAME = VTSwiftySlideMenu; 460 | PRODUCT_NAME = VTSwiftySlideMenu; 461 | SDKROOT = iphoneos; 462 | SKIP_INSTALL = YES; 463 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 464 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 465 | SWIFT_VERSION = 4.2; 466 | TARGETED_DEVICE_FAMILY = "1,2"; 467 | VALIDATE_PRODUCT = YES; 468 | VERSIONING_SYSTEM = "apple-generic"; 469 | VERSION_INFO_PREFIX = ""; 470 | }; 471 | name = Release; 472 | }; 473 | 874B91F530F0B87508144B9CE8D2C710 /* Debug */ = { 474 | isa = XCBuildConfiguration; 475 | baseConfigurationReference = F2572B3C5A10B72ED7DFCA309C4AE07E /* Pods-VTSwiftySlideMenu_Tests.debug.xcconfig */; 476 | buildSettings = { 477 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 478 | CODE_SIGN_IDENTITY = ""; 479 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 480 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 481 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 482 | CURRENT_PROJECT_VERSION = 1; 483 | DEFINES_MODULE = YES; 484 | DYLIB_COMPATIBILITY_VERSION = 1; 485 | DYLIB_CURRENT_VERSION = 1; 486 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 487 | INFOPLIST_FILE = "Target Support Files/Pods-VTSwiftySlideMenu_Tests/Info.plist"; 488 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 489 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 490 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 491 | MACH_O_TYPE = staticlib; 492 | MODULEMAP_FILE = "Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_Tests.modulemap"; 493 | OTHER_LDFLAGS = ""; 494 | OTHER_LIBTOOLFLAGS = ""; 495 | PODS_ROOT = "$(SRCROOT)"; 496 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 497 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 498 | SDKROOT = iphoneos; 499 | SKIP_INSTALL = YES; 500 | TARGETED_DEVICE_FAMILY = "1,2"; 501 | VERSIONING_SYSTEM = "apple-generic"; 502 | VERSION_INFO_PREFIX = ""; 503 | }; 504 | name = Debug; 505 | }; 506 | 8B33C5230DE4A9DFA6D8F46505DD7AF7 /* Debug */ = { 507 | isa = XCBuildConfiguration; 508 | buildSettings = { 509 | ALWAYS_SEARCH_USER_PATHS = NO; 510 | CLANG_ANALYZER_NONNULL = YES; 511 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 512 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 513 | CLANG_CXX_LIBRARY = "libc++"; 514 | CLANG_ENABLE_MODULES = YES; 515 | CLANG_ENABLE_OBJC_ARC = YES; 516 | CLANG_ENABLE_OBJC_WEAK = YES; 517 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 518 | CLANG_WARN_BOOL_CONVERSION = YES; 519 | CLANG_WARN_COMMA = YES; 520 | CLANG_WARN_CONSTANT_CONVERSION = YES; 521 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 522 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 523 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 524 | CLANG_WARN_EMPTY_BODY = YES; 525 | CLANG_WARN_ENUM_CONVERSION = YES; 526 | CLANG_WARN_INFINITE_RECURSION = YES; 527 | CLANG_WARN_INT_CONVERSION = YES; 528 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 529 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 530 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 531 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 532 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 533 | CLANG_WARN_STRICT_PROTOTYPES = YES; 534 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 535 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 536 | CLANG_WARN_UNREACHABLE_CODE = YES; 537 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 538 | CODE_SIGNING_ALLOWED = NO; 539 | CODE_SIGNING_REQUIRED = NO; 540 | COPY_PHASE_STRIP = NO; 541 | DEBUG_INFORMATION_FORMAT = dwarf; 542 | ENABLE_STRICT_OBJC_MSGSEND = YES; 543 | ENABLE_TESTABILITY = YES; 544 | GCC_C_LANGUAGE_STANDARD = gnu11; 545 | GCC_DYNAMIC_NO_PIC = NO; 546 | GCC_NO_COMMON_BLOCKS = YES; 547 | GCC_OPTIMIZATION_LEVEL = 0; 548 | GCC_PREPROCESSOR_DEFINITIONS = ( 549 | "POD_CONFIGURATION_DEBUG=1", 550 | "DEBUG=1", 551 | "$(inherited)", 552 | ); 553 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 554 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 555 | GCC_WARN_UNDECLARED_SELECTOR = YES; 556 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 557 | GCC_WARN_UNUSED_FUNCTION = YES; 558 | GCC_WARN_UNUSED_VARIABLE = YES; 559 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 560 | MTL_ENABLE_DEBUG_INFO = YES; 561 | ONLY_ACTIVE_ARCH = YES; 562 | PRODUCT_NAME = "$(TARGET_NAME)"; 563 | STRIP_INSTALLED_PRODUCT = NO; 564 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 565 | SYMROOT = "${SRCROOT}/../build"; 566 | }; 567 | name = Debug; 568 | }; 569 | A197082E909F503C3457E8418739AA94 /* Debug */ = { 570 | isa = XCBuildConfiguration; 571 | baseConfigurationReference = 73B2449991DFF057A279316CA77B1665 /* Pods-VTSwiftySlideMenu_Example.debug.xcconfig */; 572 | buildSettings = { 573 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 574 | CLANG_ENABLE_MODULES = YES; 575 | CODE_SIGN_IDENTITY = ""; 576 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 577 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 578 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 579 | CURRENT_PROJECT_VERSION = 1; 580 | DEFINES_MODULE = YES; 581 | DYLIB_COMPATIBILITY_VERSION = 1; 582 | DYLIB_CURRENT_VERSION = 1; 583 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 584 | INFOPLIST_FILE = "Target Support Files/Pods-VTSwiftySlideMenu_Example/Info.plist"; 585 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 586 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 587 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 588 | MACH_O_TYPE = staticlib; 589 | MODULEMAP_FILE = "Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example.modulemap"; 590 | OTHER_LDFLAGS = ""; 591 | OTHER_LIBTOOLFLAGS = ""; 592 | PODS_ROOT = "$(SRCROOT)"; 593 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 594 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 595 | SDKROOT = iphoneos; 596 | SKIP_INSTALL = YES; 597 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 598 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 599 | SWIFT_VERSION = 3.0; 600 | TARGETED_DEVICE_FAMILY = "1,2"; 601 | VERSIONING_SYSTEM = "apple-generic"; 602 | VERSION_INFO_PREFIX = ""; 603 | }; 604 | name = Debug; 605 | }; 606 | B42B54097A876E8A982CBF5DAA91B1AB /* Release */ = { 607 | isa = XCBuildConfiguration; 608 | buildSettings = { 609 | ALWAYS_SEARCH_USER_PATHS = NO; 610 | CLANG_ANALYZER_NONNULL = YES; 611 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 612 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 613 | CLANG_CXX_LIBRARY = "libc++"; 614 | CLANG_ENABLE_MODULES = YES; 615 | CLANG_ENABLE_OBJC_ARC = YES; 616 | CLANG_ENABLE_OBJC_WEAK = YES; 617 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 618 | CLANG_WARN_BOOL_CONVERSION = YES; 619 | CLANG_WARN_COMMA = YES; 620 | CLANG_WARN_CONSTANT_CONVERSION = YES; 621 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 622 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 623 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 624 | CLANG_WARN_EMPTY_BODY = YES; 625 | CLANG_WARN_ENUM_CONVERSION = YES; 626 | CLANG_WARN_INFINITE_RECURSION = YES; 627 | CLANG_WARN_INT_CONVERSION = YES; 628 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 629 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 630 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 631 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 632 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 633 | CLANG_WARN_STRICT_PROTOTYPES = YES; 634 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 635 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 636 | CLANG_WARN_UNREACHABLE_CODE = YES; 637 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 638 | CODE_SIGNING_ALLOWED = NO; 639 | CODE_SIGNING_REQUIRED = NO; 640 | COPY_PHASE_STRIP = NO; 641 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 642 | ENABLE_NS_ASSERTIONS = NO; 643 | ENABLE_STRICT_OBJC_MSGSEND = YES; 644 | GCC_C_LANGUAGE_STANDARD = gnu11; 645 | GCC_NO_COMMON_BLOCKS = YES; 646 | GCC_PREPROCESSOR_DEFINITIONS = ( 647 | "POD_CONFIGURATION_RELEASE=1", 648 | "$(inherited)", 649 | ); 650 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 651 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 652 | GCC_WARN_UNDECLARED_SELECTOR = YES; 653 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 654 | GCC_WARN_UNUSED_FUNCTION = YES; 655 | GCC_WARN_UNUSED_VARIABLE = YES; 656 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 657 | MTL_ENABLE_DEBUG_INFO = NO; 658 | PRODUCT_NAME = "$(TARGET_NAME)"; 659 | STRIP_INSTALLED_PRODUCT = NO; 660 | SYMROOT = "${SRCROOT}/../build"; 661 | }; 662 | name = Release; 663 | }; 664 | CD7A39C8CD9710F3F841703A91BCB24D /* Debug */ = { 665 | isa = XCBuildConfiguration; 666 | baseConfigurationReference = 82CC9D2116FB750B75C1393F370FB929 /* VTSwiftySlideMenu.xcconfig */; 667 | buildSettings = { 668 | CLANG_ENABLE_MODULES = YES; 669 | CODE_SIGN_IDENTITY = ""; 670 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 671 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 672 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 673 | CURRENT_PROJECT_VERSION = 1; 674 | DEFINES_MODULE = YES; 675 | DYLIB_COMPATIBILITY_VERSION = 1; 676 | DYLIB_CURRENT_VERSION = 1; 677 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 678 | GCC_PREFIX_HEADER = "Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu-prefix.pch"; 679 | INFOPLIST_FILE = "Target Support Files/VTSwiftySlideMenu/Info.plist"; 680 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 681 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 682 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 683 | MODULEMAP_FILE = "Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu.modulemap"; 684 | PRODUCT_MODULE_NAME = VTSwiftySlideMenu; 685 | PRODUCT_NAME = VTSwiftySlideMenu; 686 | SDKROOT = iphoneos; 687 | SKIP_INSTALL = YES; 688 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 689 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 690 | SWIFT_VERSION = 4.2; 691 | TARGETED_DEVICE_FAMILY = "1,2"; 692 | VERSIONING_SYSTEM = "apple-generic"; 693 | VERSION_INFO_PREFIX = ""; 694 | }; 695 | name = Debug; 696 | }; 697 | DC806AB93B84B06894578B5BA39D8748 /* Release */ = { 698 | isa = XCBuildConfiguration; 699 | baseConfigurationReference = A25BFC64EC3804B702CEF243248BCCBE /* Pods-VTSwiftySlideMenu_Example.release.xcconfig */; 700 | buildSettings = { 701 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 702 | CLANG_ENABLE_MODULES = YES; 703 | CODE_SIGN_IDENTITY = ""; 704 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 705 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 706 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 707 | CURRENT_PROJECT_VERSION = 1; 708 | DEFINES_MODULE = YES; 709 | DYLIB_COMPATIBILITY_VERSION = 1; 710 | DYLIB_CURRENT_VERSION = 1; 711 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 712 | INFOPLIST_FILE = "Target Support Files/Pods-VTSwiftySlideMenu_Example/Info.plist"; 713 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 714 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 715 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 716 | MACH_O_TYPE = staticlib; 717 | MODULEMAP_FILE = "Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example.modulemap"; 718 | OTHER_LDFLAGS = ""; 719 | OTHER_LIBTOOLFLAGS = ""; 720 | PODS_ROOT = "$(SRCROOT)"; 721 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 722 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 723 | SDKROOT = iphoneos; 724 | SKIP_INSTALL = YES; 725 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 726 | SWIFT_VERSION = 3.0; 727 | TARGETED_DEVICE_FAMILY = "1,2"; 728 | VALIDATE_PRODUCT = YES; 729 | VERSIONING_SYSTEM = "apple-generic"; 730 | VERSION_INFO_PREFIX = ""; 731 | }; 732 | name = Release; 733 | }; 734 | /* End XCBuildConfiguration section */ 735 | 736 | /* Begin XCConfigurationList section */ 737 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 738 | isa = XCConfigurationList; 739 | buildConfigurations = ( 740 | 8B33C5230DE4A9DFA6D8F46505DD7AF7 /* Debug */, 741 | B42B54097A876E8A982CBF5DAA91B1AB /* Release */, 742 | ); 743 | defaultConfigurationIsVisible = 0; 744 | defaultConfigurationName = Release; 745 | }; 746 | 861BBAA382C182DFEDC684FB9B299102 /* Build configuration list for PBXNativeTarget "VTSwiftySlideMenu" */ = { 747 | isa = XCConfigurationList; 748 | buildConfigurations = ( 749 | CD7A39C8CD9710F3F841703A91BCB24D /* Debug */, 750 | 82204B59F1AC8E9DD09A2C6AC01351BC /* Release */, 751 | ); 752 | defaultConfigurationIsVisible = 0; 753 | defaultConfigurationName = Release; 754 | }; 755 | C062B94272B00A744EE513E55A5DDD8A /* Build configuration list for PBXNativeTarget "Pods-VTSwiftySlideMenu_Example" */ = { 756 | isa = XCConfigurationList; 757 | buildConfigurations = ( 758 | A197082E909F503C3457E8418739AA94 /* Debug */, 759 | DC806AB93B84B06894578B5BA39D8748 /* Release */, 760 | ); 761 | defaultConfigurationIsVisible = 0; 762 | defaultConfigurationName = Release; 763 | }; 764 | E084E4AAA6F69B8786B9FBFF1B0ED7BE /* Build configuration list for PBXNativeTarget "Pods-VTSwiftySlideMenu_Tests" */ = { 765 | isa = XCConfigurationList; 766 | buildConfigurations = ( 767 | 874B91F530F0B87508144B9CE8D2C710 /* Debug */, 768 | 527E41BC5E1083565B310FF474708075 /* Release */, 769 | ); 770 | defaultConfigurationIsVisible = 0; 771 | defaultConfigurationName = Release; 772 | }; 773 | /* End XCConfigurationList section */ 774 | }; 775 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 776 | } 777 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/vudinhvinh.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseTargetSettings 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/vudinhvinh.xcuserdatad/xcschemes/Pods-VTSwiftySlideMenu_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 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/vudinhvinh.xcuserdatad/xcschemes/Pods-VTSwiftySlideMenu_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/vudinhvinh.xcuserdatad/xcschemes/VTSwiftySlideMenu.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/Pods.xcodeproj/xcuserdata/vudinhvinh.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-VTSwiftySlideMenu_Example.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-VTSwiftySlideMenu_Tests.xcscheme 13 | 14 | isShown 15 | 16 | 17 | VTSwiftySlideMenu.xcscheme 18 | 19 | isShown 20 | 21 | 22 | 23 | SuppressBuildableAutocreation 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VTSwiftySlideMenu_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-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## VTSwiftySlideMenu 5 | 6 | Copyright (c) 2018 whatsltd4us 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/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_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 whatsltd4us <vudinhvinh@luvina.net> 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 | VTSwiftySlideMenu 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/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_VTSwiftySlideMenu_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_VTSwiftySlideMenu_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_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}/VTSwiftySlideMenu/VTSwiftySlideMenu.framework" 147 | fi 148 | if [[ "$CONFIGURATION" == "Release" ]]; then 149 | install_framework "${BUILT_PRODUCTS_DIR}/VTSwiftySlideMenu/VTSwiftySlideMenu.framework" 150 | fi 151 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 152 | wait 153 | fi 154 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_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-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_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_VTSwiftySlideMenu_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_VTSwiftySlideMenu_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/VTSwiftySlideMenu" 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}/VTSwiftySlideMenu/VTSwiftySlideMenu.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "VTSwiftySlideMenu" 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-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_VTSwiftySlideMenu_Example { 2 | umbrella header "Pods-VTSwiftySlideMenu_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/VTSwiftySlideMenu" 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}/VTSwiftySlideMenu/VTSwiftySlideMenu.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "VTSwiftySlideMenu" 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-VTSwiftySlideMenu_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-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_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/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_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/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_VTSwiftySlideMenu_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_VTSwiftySlideMenu_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_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-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_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-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_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_VTSwiftySlideMenu_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_VTSwiftySlideMenu_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/VTSwiftySlideMenu" 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}/VTSwiftySlideMenu/VTSwiftySlideMenu.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-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_VTSwiftySlideMenu_Tests { 2 | umbrella header "Pods-VTSwiftySlideMenu_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/VTSwiftySlideMenu" 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}/VTSwiftySlideMenu/VTSwiftySlideMenu.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/VTSwiftySlideMenu/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.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_VTSwiftySlideMenu : NSObject 3 | @end 4 | @implementation PodsDummy_VTSwiftySlideMenu 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu-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/Pods/Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu-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 VTSwiftySlideMenuVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char VTSwiftySlideMenuVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu.modulemap: -------------------------------------------------------------------------------- 1 | framework module VTSwiftySlideMenu { 2 | umbrella header "VTSwiftySlideMenu-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VTSwiftySlideMenu/VTSwiftySlideMenu.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/VTSwiftySlideMenu 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/Resources/Demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/Resources/Demo.gif -------------------------------------------------------------------------------- /Example/Resources/Demo2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/Resources/Demo2.gif -------------------------------------------------------------------------------- /Example/Resources/iPhone 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/Resources/iPhone 1.png -------------------------------------------------------------------------------- /Example/Resources/iPhone 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/Resources/iPhone 2.png -------------------------------------------------------------------------------- /Example/Resources/iPhone XS Max 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/Resources/iPhone XS Max 1.png -------------------------------------------------------------------------------- /Example/Resources/iPhone XS Max 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/Resources/iPhone XS Max 2.png -------------------------------------------------------------------------------- /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 VTSwiftySlideMenu 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/VTSwiftySlideMenu.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2EB8F108D198511E08E9C262 /* Pods_VTSwiftySlideMenu_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55B3072DBA80CF9E569C83A7 /* Pods_VTSwiftySlideMenu_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 | A937261A2150EB4C00082DE4 /* iPhone XS Max 1.png in Resources */ = {isa = PBXBuildFile; fileRef = A93726182150EB4C00082DE4 /* iPhone XS Max 1.png */; }; 18 | A937261B2150EB4C00082DE4 /* iPhone XS Max 2.png in Resources */ = {isa = PBXBuildFile; fileRef = A93726192150EB4C00082DE4 /* iPhone XS Max 2.png */; }; 19 | A937261E2150EBC000082DE4 /* iPhone 1.png in Resources */ = {isa = PBXBuildFile; fileRef = A937261C2150EBC000082DE4 /* iPhone 1.png */; }; 20 | A937261F2150EBC000082DE4 /* iPhone 2.png in Resources */ = {isa = PBXBuildFile; fileRef = A937261D2150EBC000082DE4 /* iPhone 2.png */; }; 21 | A93726212150F85900082DE4 /* Demo2.gif in Resources */ = {isa = PBXBuildFile; fileRef = A93726202150F85900082DE4 /* Demo2.gif */; }; 22 | A9C6ADA8214F5E9A000994C1 /* MenuViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADA7214F5E9A000994C1 /* MenuViewController.swift */; }; 23 | A9C6ADCE214F7CF8000994C1 /* SlideMenuViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADCA214F7CF8000994C1 /* SlideMenuViewController.swift */; }; 24 | A9C6ADCF214F7CF8000994C1 /* SizeClassHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADCB214F7CF8000994C1 /* SizeClassHelper.swift */; }; 25 | A9C6ADD0214F7CF8000994C1 /* SlideMenuSegue.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADCC214F7CF8000994C1 /* SlideMenuSegue.swift */; }; 26 | A9C6ADD1214F7CF8000994C1 /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADCD214F7CF8000994C1 /* Utilities.swift */; }; 27 | A9C6ADD4214F7E3D000994C1 /* Demo.gif in Resources */ = {isa = PBXBuildFile; fileRef = A9C6ADD3214F7E3D000994C1 /* Demo.gif */; }; 28 | A9C6ADD6214FBA46000994C1 /* OthersViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C6ADD5214FBA46000994C1 /* OthersViewController.swift */; }; 29 | E3EA2DF9EF2F3D1A61055CF6 /* Pods_VTSwiftySlideMenu_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 94DE7ECC83D37BFF949D8BB2 /* Pods_VTSwiftySlideMenu_Tests.framework */; }; 30 | /* End PBXBuildFile section */ 31 | 32 | /* Begin PBXContainerItemProxy section */ 33 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 38 | remoteInfo = VTSwiftySlideMenu; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 4DD82EB99E47197A548A55E5 /* Pods-VTSwiftySlideMenu_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VTSwiftySlideMenu_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_Tests.release.xcconfig"; sourceTree = ""; }; 44 | 55B3072DBA80CF9E569C83A7 /* Pods_VTSwiftySlideMenu_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_VTSwiftySlideMenu_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 607FACD01AFB9204008FA782 /* VTSwiftySlideMenu_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VTSwiftySlideMenu_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 48 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 49 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 50 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 51 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 52 | 607FACE51AFB9204008FA782 /* VTSwiftySlideMenu_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VTSwiftySlideMenu_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 55 | 6321140B089A3A9354636AF6 /* VTSwiftySlideMenu.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = VTSwiftySlideMenu.podspec; path = ../VTSwiftySlideMenu.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 56 | 89FA843646DB6B419F948932 /* Pods-VTSwiftySlideMenu_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VTSwiftySlideMenu_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example.debug.xcconfig"; sourceTree = ""; }; 57 | 94DE7ECC83D37BFF949D8BB2 /* Pods_VTSwiftySlideMenu_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_VTSwiftySlideMenu_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | A2C787A3FB2AA51BFD064AA3 /* Pods-VTSwiftySlideMenu_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VTSwiftySlideMenu_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-VTSwiftySlideMenu_Tests/Pods-VTSwiftySlideMenu_Tests.debug.xcconfig"; sourceTree = ""; }; 59 | A93726182150EB4C00082DE4 /* iPhone XS Max 1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone XS Max 1.png"; sourceTree = ""; }; 60 | A93726192150EB4C00082DE4 /* iPhone XS Max 2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone XS Max 2.png"; sourceTree = ""; }; 61 | A937261C2150EBC000082DE4 /* iPhone 1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone 1.png"; sourceTree = ""; }; 62 | A937261D2150EBC000082DE4 /* iPhone 2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone 2.png"; sourceTree = ""; }; 63 | A93726202150F85900082DE4 /* Demo2.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = Demo2.gif; sourceTree = ""; }; 64 | A9C6ADA7214F5E9A000994C1 /* MenuViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuViewController.swift; sourceTree = ""; }; 65 | A9C6ADCA214F7CF8000994C1 /* SlideMenuViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SlideMenuViewController.swift; path = ../../VTSwiftySlideMenu/Classes/SlideMenuViewController.swift; sourceTree = ""; }; 66 | A9C6ADCB214F7CF8000994C1 /* SizeClassHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SizeClassHelper.swift; path = ../../VTSwiftySlideMenu/Classes/SizeClassHelper.swift; sourceTree = ""; }; 67 | A9C6ADCC214F7CF8000994C1 /* SlideMenuSegue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SlideMenuSegue.swift; path = ../../VTSwiftySlideMenu/Classes/SlideMenuSegue.swift; sourceTree = ""; }; 68 | A9C6ADCD214F7CF8000994C1 /* Utilities.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Utilities.swift; path = ../../VTSwiftySlideMenu/Classes/Utilities.swift; sourceTree = ""; }; 69 | A9C6ADD3214F7E3D000994C1 /* Demo.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = Demo.gif; sourceTree = ""; }; 70 | A9C6ADD5214FBA46000994C1 /* OthersViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OthersViewController.swift; sourceTree = ""; }; 71 | B426691BCCA61CCFD98B292E /* Pods-VTSwiftySlideMenu_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VTSwiftySlideMenu_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example.release.xcconfig"; sourceTree = ""; }; 72 | CA6E3243A6A7AF80470D6F18 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 73 | E6F8E53D5622176ACBAE0D61 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 74 | /* End PBXFileReference section */ 75 | 76 | /* Begin PBXFrameworksBuildPhase section */ 77 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 78 | isa = PBXFrameworksBuildPhase; 79 | buildActionMask = 2147483647; 80 | files = ( 81 | 2EB8F108D198511E08E9C262 /* Pods_VTSwiftySlideMenu_Example.framework in Frameworks */, 82 | ); 83 | runOnlyForDeploymentPostprocessing = 0; 84 | }; 85 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 86 | isa = PBXFrameworksBuildPhase; 87 | buildActionMask = 2147483647; 88 | files = ( 89 | E3EA2DF9EF2F3D1A61055CF6 /* Pods_VTSwiftySlideMenu_Tests.framework in Frameworks */, 90 | ); 91 | runOnlyForDeploymentPostprocessing = 0; 92 | }; 93 | /* End PBXFrameworksBuildPhase section */ 94 | 95 | /* Begin PBXGroup section */ 96 | 4ADEB6CC0CBABBA0286FB328 /* Frameworks */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | 55B3072DBA80CF9E569C83A7 /* Pods_VTSwiftySlideMenu_Example.framework */, 100 | 94DE7ECC83D37BFF949D8BB2 /* Pods_VTSwiftySlideMenu_Tests.framework */, 101 | ); 102 | name = Frameworks; 103 | sourceTree = ""; 104 | }; 105 | 607FACC71AFB9204008FA782 = { 106 | isa = PBXGroup; 107 | children = ( 108 | A9C6ADD2214F7E1D000994C1 /* Resources */, 109 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 110 | 607FACD21AFB9204008FA782 /* Example for VTSwiftySlideMenu */, 111 | 607FACE81AFB9204008FA782 /* Tests */, 112 | 607FACD11AFB9204008FA782 /* Products */, 113 | E6DE7BF9EBB1226E8EA5E238 /* Pods */, 114 | 4ADEB6CC0CBABBA0286FB328 /* Frameworks */, 115 | ); 116 | sourceTree = ""; 117 | }; 118 | 607FACD11AFB9204008FA782 /* Products */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 607FACD01AFB9204008FA782 /* VTSwiftySlideMenu_Example.app */, 122 | 607FACE51AFB9204008FA782 /* VTSwiftySlideMenu_Tests.xctest */, 123 | ); 124 | name = Products; 125 | sourceTree = ""; 126 | }; 127 | 607FACD21AFB9204008FA782 /* Example for VTSwiftySlideMenu */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | A9C6ADB1214F60FB000994C1 /* Menu */, 131 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 132 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 133 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 134 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 135 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 136 | 607FACD31AFB9204008FA782 /* Supporting Files */, 137 | A9C6ADA7214F5E9A000994C1 /* MenuViewController.swift */, 138 | A9C6ADD5214FBA46000994C1 /* OthersViewController.swift */, 139 | ); 140 | name = "Example for VTSwiftySlideMenu"; 141 | path = VTSwiftySlideMenu; 142 | sourceTree = ""; 143 | }; 144 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 607FACD41AFB9204008FA782 /* Info.plist */, 148 | ); 149 | name = "Supporting Files"; 150 | sourceTree = ""; 151 | }; 152 | 607FACE81AFB9204008FA782 /* Tests */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 156 | 607FACE91AFB9204008FA782 /* Supporting Files */, 157 | ); 158 | path = Tests; 159 | sourceTree = ""; 160 | }; 161 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | 607FACEA1AFB9204008FA782 /* Info.plist */, 165 | ); 166 | name = "Supporting Files"; 167 | sourceTree = ""; 168 | }; 169 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | 6321140B089A3A9354636AF6 /* VTSwiftySlideMenu.podspec */, 173 | CA6E3243A6A7AF80470D6F18 /* README.md */, 174 | E6F8E53D5622176ACBAE0D61 /* LICENSE */, 175 | ); 176 | name = "Podspec Metadata"; 177 | sourceTree = ""; 178 | }; 179 | A9C6ADB1214F60FB000994C1 /* Menu */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | A9C6ADCB214F7CF8000994C1 /* SizeClassHelper.swift */, 183 | A9C6ADCC214F7CF8000994C1 /* SlideMenuSegue.swift */, 184 | A9C6ADCA214F7CF8000994C1 /* SlideMenuViewController.swift */, 185 | A9C6ADCD214F7CF8000994C1 /* Utilities.swift */, 186 | ); 187 | name = Menu; 188 | sourceTree = ""; 189 | }; 190 | A9C6ADD2214F7E1D000994C1 /* Resources */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | A93726202150F85900082DE4 /* Demo2.gif */, 194 | A937261C2150EBC000082DE4 /* iPhone 1.png */, 195 | A937261D2150EBC000082DE4 /* iPhone 2.png */, 196 | A93726182150EB4C00082DE4 /* iPhone XS Max 1.png */, 197 | A93726192150EB4C00082DE4 /* iPhone XS Max 2.png */, 198 | A9C6ADD3214F7E3D000994C1 /* Demo.gif */, 199 | ); 200 | path = Resources; 201 | sourceTree = ""; 202 | }; 203 | E6DE7BF9EBB1226E8EA5E238 /* Pods */ = { 204 | isa = PBXGroup; 205 | children = ( 206 | 89FA843646DB6B419F948932 /* Pods-VTSwiftySlideMenu_Example.debug.xcconfig */, 207 | B426691BCCA61CCFD98B292E /* Pods-VTSwiftySlideMenu_Example.release.xcconfig */, 208 | A2C787A3FB2AA51BFD064AA3 /* Pods-VTSwiftySlideMenu_Tests.debug.xcconfig */, 209 | 4DD82EB99E47197A548A55E5 /* Pods-VTSwiftySlideMenu_Tests.release.xcconfig */, 210 | ); 211 | name = Pods; 212 | sourceTree = ""; 213 | }; 214 | /* End PBXGroup section */ 215 | 216 | /* Begin PBXNativeTarget section */ 217 | 607FACCF1AFB9204008FA782 /* VTSwiftySlideMenu_Example */ = { 218 | isa = PBXNativeTarget; 219 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "VTSwiftySlideMenu_Example" */; 220 | buildPhases = ( 221 | 971A785A3F531B9D0B0F2AED /* [CP] Check Pods Manifest.lock */, 222 | 607FACCC1AFB9204008FA782 /* Sources */, 223 | 607FACCD1AFB9204008FA782 /* Frameworks */, 224 | 607FACCE1AFB9204008FA782 /* Resources */, 225 | A38AA2655147404BF159020F /* [CP] Embed Pods Frameworks */, 226 | ); 227 | buildRules = ( 228 | ); 229 | dependencies = ( 230 | ); 231 | name = VTSwiftySlideMenu_Example; 232 | productName = VTSwiftySlideMenu; 233 | productReference = 607FACD01AFB9204008FA782 /* VTSwiftySlideMenu_Example.app */; 234 | productType = "com.apple.product-type.application"; 235 | }; 236 | 607FACE41AFB9204008FA782 /* VTSwiftySlideMenu_Tests */ = { 237 | isa = PBXNativeTarget; 238 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "VTSwiftySlideMenu_Tests" */; 239 | buildPhases = ( 240 | 9406F8687C27207DED95D4EF /* [CP] Check Pods Manifest.lock */, 241 | 607FACE11AFB9204008FA782 /* Sources */, 242 | 607FACE21AFB9204008FA782 /* Frameworks */, 243 | 607FACE31AFB9204008FA782 /* Resources */, 244 | ); 245 | buildRules = ( 246 | ); 247 | dependencies = ( 248 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 249 | ); 250 | name = VTSwiftySlideMenu_Tests; 251 | productName = Tests; 252 | productReference = 607FACE51AFB9204008FA782 /* VTSwiftySlideMenu_Tests.xctest */; 253 | productType = "com.apple.product-type.bundle.unit-test"; 254 | }; 255 | /* End PBXNativeTarget section */ 256 | 257 | /* Begin PBXProject section */ 258 | 607FACC81AFB9204008FA782 /* Project object */ = { 259 | isa = PBXProject; 260 | attributes = { 261 | LastSwiftUpdateCheck = 0830; 262 | LastUpgradeCheck = 0830; 263 | ORGANIZATIONNAME = CocoaPods; 264 | TargetAttributes = { 265 | 607FACCF1AFB9204008FA782 = { 266 | CreatedOnToolsVersion = 6.3.1; 267 | LastSwiftMigration = 0900; 268 | }; 269 | 607FACE41AFB9204008FA782 = { 270 | CreatedOnToolsVersion = 6.3.1; 271 | LastSwiftMigration = 0900; 272 | TestTargetID = 607FACCF1AFB9204008FA782; 273 | }; 274 | }; 275 | }; 276 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "VTSwiftySlideMenu" */; 277 | compatibilityVersion = "Xcode 3.2"; 278 | developmentRegion = English; 279 | hasScannedForEncodings = 0; 280 | knownRegions = ( 281 | en, 282 | Base, 283 | ); 284 | mainGroup = 607FACC71AFB9204008FA782; 285 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 286 | projectDirPath = ""; 287 | projectRoot = ""; 288 | targets = ( 289 | 607FACCF1AFB9204008FA782 /* VTSwiftySlideMenu_Example */, 290 | 607FACE41AFB9204008FA782 /* VTSwiftySlideMenu_Tests */, 291 | ); 292 | }; 293 | /* End PBXProject section */ 294 | 295 | /* Begin PBXResourcesBuildPhase section */ 296 | 607FACCE1AFB9204008FA782 /* Resources */ = { 297 | isa = PBXResourcesBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 301 | A937261E2150EBC000082DE4 /* iPhone 1.png in Resources */, 302 | A9C6ADD4214F7E3D000994C1 /* Demo.gif in Resources */, 303 | A937261B2150EB4C00082DE4 /* iPhone XS Max 2.png in Resources */, 304 | A937261F2150EBC000082DE4 /* iPhone 2.png in Resources */, 305 | A93726212150F85900082DE4 /* Demo2.gif in Resources */, 306 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 307 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 308 | A937261A2150EB4C00082DE4 /* iPhone XS Max 1.png in Resources */, 309 | ); 310 | runOnlyForDeploymentPostprocessing = 0; 311 | }; 312 | 607FACE31AFB9204008FA782 /* Resources */ = { 313 | isa = PBXResourcesBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | ); 317 | runOnlyForDeploymentPostprocessing = 0; 318 | }; 319 | /* End PBXResourcesBuildPhase section */ 320 | 321 | /* Begin PBXShellScriptBuildPhase section */ 322 | 9406F8687C27207DED95D4EF /* [CP] Check Pods Manifest.lock */ = { 323 | isa = PBXShellScriptBuildPhase; 324 | buildActionMask = 2147483647; 325 | files = ( 326 | ); 327 | inputPaths = ( 328 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 329 | "${PODS_ROOT}/Manifest.lock", 330 | ); 331 | name = "[CP] Check Pods Manifest.lock"; 332 | outputPaths = ( 333 | "$(DERIVED_FILE_DIR)/Pods-VTSwiftySlideMenu_Tests-checkManifestLockResult.txt", 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | shellPath = /bin/sh; 337 | 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"; 338 | showEnvVarsInLog = 0; 339 | }; 340 | 971A785A3F531B9D0B0F2AED /* [CP] Check Pods Manifest.lock */ = { 341 | isa = PBXShellScriptBuildPhase; 342 | buildActionMask = 2147483647; 343 | files = ( 344 | ); 345 | inputPaths = ( 346 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 347 | "${PODS_ROOT}/Manifest.lock", 348 | ); 349 | name = "[CP] Check Pods Manifest.lock"; 350 | outputPaths = ( 351 | "$(DERIVED_FILE_DIR)/Pods-VTSwiftySlideMenu_Example-checkManifestLockResult.txt", 352 | ); 353 | runOnlyForDeploymentPostprocessing = 0; 354 | shellPath = /bin/sh; 355 | 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"; 356 | showEnvVarsInLog = 0; 357 | }; 358 | A38AA2655147404BF159020F /* [CP] Embed Pods Frameworks */ = { 359 | isa = PBXShellScriptBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | ); 363 | inputPaths = ( 364 | "${SRCROOT}/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example-frameworks.sh", 365 | "${BUILT_PRODUCTS_DIR}/VTSwiftySlideMenu/VTSwiftySlideMenu.framework", 366 | ); 367 | name = "[CP] Embed Pods Frameworks"; 368 | outputPaths = ( 369 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/VTSwiftySlideMenu.framework", 370 | ); 371 | runOnlyForDeploymentPostprocessing = 0; 372 | shellPath = /bin/sh; 373 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-VTSwiftySlideMenu_Example/Pods-VTSwiftySlideMenu_Example-frameworks.sh\"\n"; 374 | showEnvVarsInLog = 0; 375 | }; 376 | /* End PBXShellScriptBuildPhase section */ 377 | 378 | /* Begin PBXSourcesBuildPhase section */ 379 | 607FACCC1AFB9204008FA782 /* Sources */ = { 380 | isa = PBXSourcesBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | A9C6ADD0214F7CF8000994C1 /* SlideMenuSegue.swift in Sources */, 384 | A9C6ADD6214FBA46000994C1 /* OthersViewController.swift in Sources */, 385 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 386 | A9C6ADD1214F7CF8000994C1 /* Utilities.swift in Sources */, 387 | A9C6ADCF214F7CF8000994C1 /* SizeClassHelper.swift in Sources */, 388 | A9C6ADCE214F7CF8000994C1 /* SlideMenuViewController.swift in Sources */, 389 | A9C6ADA8214F5E9A000994C1 /* MenuViewController.swift in Sources */, 390 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 391 | ); 392 | runOnlyForDeploymentPostprocessing = 0; 393 | }; 394 | 607FACE11AFB9204008FA782 /* Sources */ = { 395 | isa = PBXSourcesBuildPhase; 396 | buildActionMask = 2147483647; 397 | files = ( 398 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 399 | ); 400 | runOnlyForDeploymentPostprocessing = 0; 401 | }; 402 | /* End PBXSourcesBuildPhase section */ 403 | 404 | /* Begin PBXTargetDependency section */ 405 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 406 | isa = PBXTargetDependency; 407 | target = 607FACCF1AFB9204008FA782 /* VTSwiftySlideMenu_Example */; 408 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 409 | }; 410 | /* End PBXTargetDependency section */ 411 | 412 | /* Begin PBXVariantGroup section */ 413 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 414 | isa = PBXVariantGroup; 415 | children = ( 416 | 607FACDA1AFB9204008FA782 /* Base */, 417 | ); 418 | name = Main.storyboard; 419 | sourceTree = ""; 420 | }; 421 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 422 | isa = PBXVariantGroup; 423 | children = ( 424 | 607FACDF1AFB9204008FA782 /* Base */, 425 | ); 426 | name = LaunchScreen.xib; 427 | sourceTree = ""; 428 | }; 429 | /* End PBXVariantGroup section */ 430 | 431 | /* Begin XCBuildConfiguration section */ 432 | 607FACED1AFB9204008FA782 /* Debug */ = { 433 | isa = XCBuildConfiguration; 434 | buildSettings = { 435 | ALWAYS_SEARCH_USER_PATHS = NO; 436 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 437 | CLANG_CXX_LIBRARY = "libc++"; 438 | CLANG_ENABLE_MODULES = YES; 439 | CLANG_ENABLE_OBJC_ARC = YES; 440 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 441 | CLANG_WARN_BOOL_CONVERSION = YES; 442 | CLANG_WARN_COMMA = YES; 443 | CLANG_WARN_CONSTANT_CONVERSION = YES; 444 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 445 | CLANG_WARN_EMPTY_BODY = YES; 446 | CLANG_WARN_ENUM_CONVERSION = YES; 447 | CLANG_WARN_INFINITE_RECURSION = YES; 448 | CLANG_WARN_INT_CONVERSION = YES; 449 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 450 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 451 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 452 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 453 | CLANG_WARN_STRICT_PROTOTYPES = YES; 454 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 455 | CLANG_WARN_UNREACHABLE_CODE = YES; 456 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 457 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 458 | COPY_PHASE_STRIP = NO; 459 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 460 | ENABLE_STRICT_OBJC_MSGSEND = YES; 461 | ENABLE_TESTABILITY = YES; 462 | GCC_C_LANGUAGE_STANDARD = gnu99; 463 | GCC_DYNAMIC_NO_PIC = NO; 464 | GCC_NO_COMMON_BLOCKS = YES; 465 | GCC_OPTIMIZATION_LEVEL = 0; 466 | GCC_PREPROCESSOR_DEFINITIONS = ( 467 | "DEBUG=1", 468 | "$(inherited)", 469 | ); 470 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 471 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 472 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 473 | GCC_WARN_UNDECLARED_SELECTOR = YES; 474 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 475 | GCC_WARN_UNUSED_FUNCTION = YES; 476 | GCC_WARN_UNUSED_VARIABLE = YES; 477 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 478 | MTL_ENABLE_DEBUG_INFO = YES; 479 | ONLY_ACTIVE_ARCH = YES; 480 | SDKROOT = iphoneos; 481 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 482 | SWIFT_VERSION = 4.2; 483 | }; 484 | name = Debug; 485 | }; 486 | 607FACEE1AFB9204008FA782 /* Release */ = { 487 | isa = XCBuildConfiguration; 488 | buildSettings = { 489 | ALWAYS_SEARCH_USER_PATHS = NO; 490 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 491 | CLANG_CXX_LIBRARY = "libc++"; 492 | CLANG_ENABLE_MODULES = YES; 493 | CLANG_ENABLE_OBJC_ARC = YES; 494 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 495 | CLANG_WARN_BOOL_CONVERSION = YES; 496 | CLANG_WARN_COMMA = YES; 497 | CLANG_WARN_CONSTANT_CONVERSION = YES; 498 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 499 | CLANG_WARN_EMPTY_BODY = YES; 500 | CLANG_WARN_ENUM_CONVERSION = YES; 501 | CLANG_WARN_INFINITE_RECURSION = YES; 502 | CLANG_WARN_INT_CONVERSION = YES; 503 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 504 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 505 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 506 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 507 | CLANG_WARN_STRICT_PROTOTYPES = YES; 508 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 509 | CLANG_WARN_UNREACHABLE_CODE = YES; 510 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 511 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 512 | COPY_PHASE_STRIP = NO; 513 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 514 | ENABLE_NS_ASSERTIONS = NO; 515 | ENABLE_STRICT_OBJC_MSGSEND = YES; 516 | GCC_C_LANGUAGE_STANDARD = gnu99; 517 | GCC_NO_COMMON_BLOCKS = YES; 518 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 519 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 520 | GCC_WARN_UNDECLARED_SELECTOR = YES; 521 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 522 | GCC_WARN_UNUSED_FUNCTION = YES; 523 | GCC_WARN_UNUSED_VARIABLE = YES; 524 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 525 | MTL_ENABLE_DEBUG_INFO = NO; 526 | SDKROOT = iphoneos; 527 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 528 | SWIFT_VERSION = 4.2; 529 | VALIDATE_PRODUCT = YES; 530 | }; 531 | name = Release; 532 | }; 533 | 607FACF01AFB9204008FA782 /* Debug */ = { 534 | isa = XCBuildConfiguration; 535 | baseConfigurationReference = 89FA843646DB6B419F948932 /* Pods-VTSwiftySlideMenu_Example.debug.xcconfig */; 536 | buildSettings = { 537 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 538 | INFOPLIST_FILE = VTSwiftySlideMenu/Info.plist; 539 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 540 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 541 | MODULE_NAME = ExampleApp; 542 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 543 | PRODUCT_NAME = "$(TARGET_NAME)"; 544 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 545 | SWIFT_VERSION = 4.2; 546 | TARGETED_DEVICE_FAMILY = "1,2"; 547 | }; 548 | name = Debug; 549 | }; 550 | 607FACF11AFB9204008FA782 /* Release */ = { 551 | isa = XCBuildConfiguration; 552 | baseConfigurationReference = B426691BCCA61CCFD98B292E /* Pods-VTSwiftySlideMenu_Example.release.xcconfig */; 553 | buildSettings = { 554 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 555 | INFOPLIST_FILE = VTSwiftySlideMenu/Info.plist; 556 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 557 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 558 | MODULE_NAME = ExampleApp; 559 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 560 | PRODUCT_NAME = "$(TARGET_NAME)"; 561 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 562 | SWIFT_VERSION = 4.2; 563 | TARGETED_DEVICE_FAMILY = "1,2"; 564 | }; 565 | name = Release; 566 | }; 567 | 607FACF31AFB9204008FA782 /* Debug */ = { 568 | isa = XCBuildConfiguration; 569 | baseConfigurationReference = A2C787A3FB2AA51BFD064AA3 /* Pods-VTSwiftySlideMenu_Tests.debug.xcconfig */; 570 | buildSettings = { 571 | FRAMEWORK_SEARCH_PATHS = ( 572 | "$(SDKROOT)/Developer/Library/Frameworks", 573 | "$(inherited)", 574 | ); 575 | GCC_PREPROCESSOR_DEFINITIONS = ( 576 | "DEBUG=1", 577 | "$(inherited)", 578 | ); 579 | INFOPLIST_FILE = Tests/Info.plist; 580 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 581 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 582 | PRODUCT_NAME = "$(TARGET_NAME)"; 583 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 584 | SWIFT_VERSION = 4.2; 585 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/VTSwiftySlideMenu_Example.app/VTSwiftySlideMenu_Example"; 586 | }; 587 | name = Debug; 588 | }; 589 | 607FACF41AFB9204008FA782 /* Release */ = { 590 | isa = XCBuildConfiguration; 591 | baseConfigurationReference = 4DD82EB99E47197A548A55E5 /* Pods-VTSwiftySlideMenu_Tests.release.xcconfig */; 592 | buildSettings = { 593 | FRAMEWORK_SEARCH_PATHS = ( 594 | "$(SDKROOT)/Developer/Library/Frameworks", 595 | "$(inherited)", 596 | ); 597 | INFOPLIST_FILE = Tests/Info.plist; 598 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 599 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 600 | PRODUCT_NAME = "$(TARGET_NAME)"; 601 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 602 | SWIFT_VERSION = 4.2; 603 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/VTSwiftySlideMenu_Example.app/VTSwiftySlideMenu_Example"; 604 | }; 605 | name = Release; 606 | }; 607 | /* End XCBuildConfiguration section */ 608 | 609 | /* Begin XCConfigurationList section */ 610 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "VTSwiftySlideMenu" */ = { 611 | isa = XCConfigurationList; 612 | buildConfigurations = ( 613 | 607FACED1AFB9204008FA782 /* Debug */, 614 | 607FACEE1AFB9204008FA782 /* Release */, 615 | ); 616 | defaultConfigurationIsVisible = 0; 617 | defaultConfigurationName = Release; 618 | }; 619 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "VTSwiftySlideMenu_Example" */ = { 620 | isa = XCConfigurationList; 621 | buildConfigurations = ( 622 | 607FACF01AFB9204008FA782 /* Debug */, 623 | 607FACF11AFB9204008FA782 /* Release */, 624 | ); 625 | defaultConfigurationIsVisible = 0; 626 | defaultConfigurationName = Release; 627 | }; 628 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "VTSwiftySlideMenu_Tests" */ = { 629 | isa = XCConfigurationList; 630 | buildConfigurations = ( 631 | 607FACF31AFB9204008FA782 /* Debug */, 632 | 607FACF41AFB9204008FA782 /* Release */, 633 | ); 634 | defaultConfigurationIsVisible = 0; 635 | defaultConfigurationName = Release; 636 | }; 637 | /* End XCConfigurationList section */ 638 | }; 639 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 640 | } 641 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu.xcodeproj/xcshareddata/xcschemes/VTSwiftySlideMenu-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu.xcworkspace/xcuserdata/vudinhvinh.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/VTSwiftySlideMenu.xcworkspace/xcuserdata/vudinhvinh.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu.xcworkspace/xcuserdata/vudinhvinh.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // VTSwiftySlideMenu 4 | // 5 | // Created by whatsltd4us on 09/14/2018. 6 | // Copyright (c) 2018 whatsltd4us. 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: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Config slide menu programmatically 19 | // let storyboard = UIStoryboard.init(name: "Main", bundle: nil) 20 | // let root = SlideMenuViewController.init() 21 | // let menu = storyboard.instantiateViewController(withIdentifier: "Menu") 22 | // let content = storyboard.instantiateViewController(withIdentifier: "Home") 23 | // root.setLeftMenu(menu) 24 | // root.setContentViewController(UINavigationController.init(rootViewController: content), animated: true) 25 | // window?.rootViewController = root 26 | // window?.makeKeyAndVisible() 27 | return true 28 | } 29 | 30 | func applicationWillResignActive(_ application: UIApplication) { 31 | // 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. 32 | // 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. 33 | } 34 | 35 | func applicationDidEnterBackground(_ application: UIApplication) { 36 | // 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. 37 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 38 | } 39 | 40 | func applicationWillEnterForeground(_ application: UIApplication) { 41 | // 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. 42 | } 43 | 44 | func applicationDidBecomeActive(_ application: UIApplication) { 45 | // 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. 46 | } 47 | 48 | func applicationWillTerminate(_ application: UIApplication) { 49 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 50 | } 51 | 52 | 53 | } 54 | 55 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/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/VTSwiftySlideMenu/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 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/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 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/Images.xcassets/MenuIcon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "MenuIcon.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "MenuIcon@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/Images.xcassets/MenuIcon.imageset/MenuIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/VTSwiftySlideMenu/Images.xcassets/MenuIcon.imageset/MenuIcon.png -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/Images.xcassets/MenuIcon.imageset/MenuIcon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/Example/VTSwiftySlideMenu/Images.xcassets/MenuIcon.imageset/MenuIcon@2x.png -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/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 | 3 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UIRequiresFullScreen 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | UIInterfaceOrientationPortraitUpsideDown 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/MenuViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MenuViewController.swift 3 | // VTSwiftySlideMenu_Example 4 | // 5 | // Created by Vu Dinh Vinh on 9/17/18. 6 | // Copyright © 2018 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class MenuViewController: UITableViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | 24 | 25 | override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { 26 | switch indexPath.row { 27 | case 0: 28 | let home = self.storyboard?.instantiateViewController(withIdentifier: "Home") 29 | self.slideMenuViewController().switchViewController(home!, animated: true) 30 | break 31 | case 1: 32 | let others = self.storyboard?.instantiateViewController(withIdentifier: "Others") 33 | others?.title = "Others" 34 | self.slideMenuViewController().switchViewController(others!, animated: true) 35 | break 36 | default: 37 | break 38 | } 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/OthersViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // OthersViewController.swift 3 | // VTSwiftySlideMenu_Example 4 | // 5 | // Created by Vu Dinh Vinh on 9/17/18. 6 | // Copyright © 2018 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class OthersViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | 16 | // Do any additional setup after loading the view. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | 24 | 25 | /* 26 | // MARK: - Navigation 27 | 28 | // In a storyboard-based application, you will often want to do a little preparation before navigation 29 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 30 | // Get the new view controller using segue.destinationViewController. 31 | // Pass the selected object to the new view controller. 32 | } 33 | */ 34 | 35 | } 36 | -------------------------------------------------------------------------------- /Example/VTSwiftySlideMenu/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // VTSwiftySlideMenu 4 | // 5 | // Created by whatsltd4us on 09/14/2018. 6 | // Copyright (c) 2018 whatsltd4us. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import VTSwiftySlideMenu 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | // Do any additional setup after loading the view, typically from a nib. 17 | 18 | } 19 | 20 | override func didReceiveMemoryWarning() { 21 | super.didReceiveMemoryWarning() 22 | // Dispose of any resources that can be recreated. 23 | } 24 | 25 | override func viewWillLayoutSubviews() { 26 | super.viewWillLayoutSubviews() 27 | update(super.traitCollection) 28 | } 29 | 30 | func update(_ trailCollection: UITraitCollection) { 31 | if (SizeClassHelper.isWideScreen(trailCollection)) 32 | { 33 | self.setupLeftBarButton(false) 34 | } 35 | else 36 | { 37 | self.setupLeftBarButton(true) 38 | } 39 | } 40 | 41 | func setupLeftBarButton(_ showMenu: Bool) { 42 | if (showMenu) 43 | { 44 | self.navigationItem.leftBarButtonItem = UIBarButtonItem.init(image: #imageLiteral(resourceName: "MenuIcon"), style: .done, target: self, action: #selector(showLeftMenu)) 45 | } 46 | else 47 | { 48 | self.navigationItem.leftBarButtonItem = nil 49 | } 50 | } 51 | 52 | @objc func showLeftMenu() { 53 | self.view.endEditing(true) 54 | self.slideMenuViewController().showLeftMenu(true) 55 | } 56 | 57 | } 58 | 59 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 whatsltd4us 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # VTSwiftySlideMenu 2 | 3 | ## Example 4 | 5 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 6 | 7 | ## Requirements 8 | 9 | Xcode 9+ 10 | 11 | iOS 9.3 or later 12 | 13 | ## Screenshot 14 | 15 | ![iPad](https://github.com/whatsltd4us/VTSwiftySlideMenu/blob/master/Example/Resources/Demo2.gif?raw=true) 16 | 17 | ## Installation 18 | 19 | VTSwiftySlideMenu is available through [CocoaPods](https://cocoapods.org). To install 20 | it, simply add the following line to your Podfile: 21 | 22 | ```ruby 23 | pod 'VTSwiftySlideMenu' 24 | ``` 25 | 26 | ## Author 27 | 28 | whatsltd4us, vdvinh.nd@gmail.com 29 | 30 | ## License 31 | 32 | VTSwiftySlideMenu is available under the MIT license. See the LICENSE file for more info. 33 | -------------------------------------------------------------------------------- /VTSwiftySlideMenu.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint VTSwiftySlideMenu.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'VTSwiftySlideMenu' 11 | s.version = '0.1.3' 12 | s.summary = 'An iOS navigation menu, supported Split-View on iPad' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | An iOS navigation menu, supported Split-View on iPad. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/whatsltd4us/VTSwiftySlideMenu' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'whatsltd4us' => 'vdvinh.nd@gmail.com' } 28 | s.source = { :git => 'https://github.com/whatsltd4us/VTSwiftySlideMenu.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '9.3' 32 | 33 | s.source_files = 'VTSwiftySlideMenu/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'VTSwiftySlideMenu' => ['VTSwiftySlideMenu/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | s.swift_version = '4.2' 41 | end 42 | -------------------------------------------------------------------------------- /VTSwiftySlideMenu/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/VTSwiftySlideMenu/Assets/.gitkeep -------------------------------------------------------------------------------- /VTSwiftySlideMenu/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinhnotes/VTSwiftySlideMenu/c9daa87f2ac995c8cdfbfe1b9e4a5a5f9c0cfe29/VTSwiftySlideMenu/Classes/.gitkeep -------------------------------------------------------------------------------- /VTSwiftySlideMenu/Classes/SizeClassHelper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SizeClassHelper.swift 3 | // Pods-VTSwiftySlideMenu_Example 4 | // 5 | // Created by Vu Dinh Vinh on 9/14/18. 6 | // 7 | 8 | import UIKit 9 | 10 | enum SizeClassType 11 | { 12 | case PhoneLandscape; 13 | case PhonePortrait; 14 | case PadLandscape; 15 | case PadPortrait; 16 | case SplitLandscapeWide; 17 | case SplitLandscape; 18 | case SplitPortrait; 19 | case PhoneLandscapeWide; 20 | } 21 | 22 | class SizeClassHelper: NSObject 23 | { 24 | class func trailToString(_ trailCollection: UITraitCollection) -> SizeClassType 25 | { 26 | var classType = SizeClassType.PhonePortrait 27 | let appSise = UIApplication.shared.windows.first?.bounds.size 28 | let screenSize = UIScreen.main.bounds.size 29 | switch trailCollection.userInterfaceIdiom 30 | { 31 | case .phone: 32 | if (screenSize.width > screenSize.height) 33 | { 34 | classType = (screenSize.width >= 896) ? .PhoneLandscapeWide : .PhoneLandscape 35 | } 36 | else 37 | { 38 | classType = .PhonePortrait 39 | } 40 | break 41 | case .pad: 42 | if (screenSize.width > screenSize.height) 43 | { 44 | classType = .PadLandscape 45 | } 46 | else 47 | { 48 | classType = .PadPortrait 49 | } 50 | default: 51 | break 52 | } 53 | if !__CGSizeEqualToSize(appSise!, screenSize) 54 | { 55 | if (screenSize.width > screenSize.height) 56 | { 57 | if !((appSise?.width)! < screenSize.width / 2.0) 58 | { 59 | classType = .SplitLandscapeWide 60 | } 61 | else 62 | { 63 | classType = .SplitLandscape 64 | } 65 | } 66 | else 67 | { 68 | classType = .SplitPortrait 69 | } 70 | } 71 | return classType 72 | } 73 | 74 | class func isWideScreen(_ trailCollection: UITraitCollection) -> Bool { 75 | return (SizeClassHelper.trailToString(trailCollection) != .SplitPortrait 76 | && SizeClassHelper.trailToString(trailCollection) != .SplitLandscape 77 | && SizeClassHelper.trailToString(trailCollection) != .PhoneLandscape 78 | && SizeClassHelper.trailToString(trailCollection) != .PhonePortrait) 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /VTSwiftySlideMenu/Classes/SlideMenuSegue.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SlideMenuSegue.swift 3 | // Pods-VTSwiftySlideMenu_Example 4 | // 5 | // Created by Vu Dinh Vinh on 9/14/18. 6 | // 7 | 8 | import UIKit 9 | 10 | class SlideMenuLeftSegue: UIStoryboardSegue 11 | { 12 | override func perform() 13 | { 14 | let slideMenuViewController = self.source 15 | let leftMenuViewController = self.destination 16 | (slideMenuViewController as! SlideMenuViewController).setLeftMenu(leftMenuViewController) 17 | } 18 | } 19 | 20 | class SlideMenuContentSegue: UIStoryboardSegue 21 | { 22 | override func perform() { 23 | let slideMenuViewController = self.source 24 | let contentViewController = self.destination 25 | (slideMenuViewController as! SlideMenuViewController).setContentViewController(contentViewController, animated: true) 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /VTSwiftySlideMenu/Classes/SlideMenuViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SlideMenuViewController.swift 3 | // Pods-VTSwiftySlideMenu_Example 4 | // 5 | // Created by Vu Dinh Vinh on 9/14/18. 6 | // 7 | 8 | import UIKit 9 | 10 | protocol SlideMenuViewControllerDelegate: class 11 | { 12 | func shouldHandleSlideMenuGesture(viewController: SlideMenuViewController, startPonint: CGPoint, endPoint: CGPoint, isGoingToShowMenuWhenThisGestureSucceeds: Bool) -> Bool 13 | func willShowMenu(viewController: SlideMenuViewController) -> Void 14 | func didShowMenu(viewController: SlideMenuViewController) -> Void 15 | func willHideMenu(viewController: SlideMenuViewController) -> Void 16 | func didHideMenu(viewController: SlideMenuViewController) -> Void 17 | } 18 | 19 | extension UINavigationController 20 | { 21 | func setRootViewController(_ viewController: UIViewController, animated: Bool) { 22 | // reduce the existing viewController stack 23 | self.popToRootViewController(animated: false) 24 | // set a new rootViewController 25 | if (animated) 26 | { 27 | Utilities.animateTransitionController(viewController, duration: 0.6, withType: CATransitionType.reveal.rawValue) 28 | } 29 | self.setViewControllers([viewController], animated: false) 30 | } 31 | } 32 | 33 | extension UIViewController 34 | { 35 | func slideMenuViewController() -> SlideMenuViewController { 36 | var currentViewController = self.parent 37 | while (currentViewController != nil) 38 | { 39 | if (currentViewController?.isKind(of: SlideMenuViewController.classForCoder()))! 40 | { 41 | return currentViewController as! SlideMenuViewController 42 | } 43 | currentViewController = currentViewController?.parent! 44 | } 45 | return currentViewController as! SlideMenuViewController 46 | } 47 | 48 | func canPerformSegue(withIdentifier id: String) -> Bool { 49 | guard let segues = self.value(forKey: "storyboardSegueTemplates") as? [NSObject] else { return false } 50 | return segues.first { $0.value(forKey: "identifier") as? String == id } != nil 51 | } 52 | 53 | func performSegueIfPossible(withIdentifier: String?, sender: AnyObject? = nil) { 54 | guard let id = withIdentifier, canPerformSegue(withIdentifier: id) else { return } 55 | self.performSegue(withIdentifier: id, sender: sender) 56 | } 57 | } 58 | 59 | class SlideMenuViewController: UIViewController 60 | { 61 | let SlideMenuWillShowNotification = "SlideMenuWillShowNotificationInternal" 62 | let SlideMenuDidShowNotification = "SlideMenuDidShowNotificationInternal" 63 | let SlideMenuWillHideNotification = "SlideMenuWillHideNotificationInternal" 64 | let SlideMenuDidHideNotification = "SlideMenuDidHideNotificationInternal" 65 | 66 | let kSlideMenuDefaultAnimationDuration = 0.25 67 | let kSlideMenuDefaultMenuWidth = 280.0 68 | let kSlideMenuDefaultBounceDuration = 0.2 69 | 70 | var isShowShadow: Bool = false 71 | var isOpaque: Bool = false 72 | var _hideTapGestureRecognizer: UITapGestureRecognizer? 73 | var hideTapGestureRecognizer: UITapGestureRecognizer? 74 | { 75 | get { 76 | if _hideTapGestureRecognizer == nil { 77 | _hideTapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(self.closeTapGestureRecognizerFired(_:))) 78 | _hideTapGestureRecognizer?.delegate = (self as! UIGestureRecognizerDelegate) 79 | _hideTapGestureRecognizer?.delaysTouchesBegan = true 80 | _hideTapGestureRecognizer?.delaysTouchesEnded = true 81 | } 82 | return _hideTapGestureRecognizer 83 | } 84 | set { 85 | _hideTapGestureRecognizer = newValue 86 | } 87 | } 88 | var keyboardVisible: Bool = false 89 | var menuViewVisible: Bool = false { 90 | didSet { 91 | if responds(to: #selector(self.setNeedsStatusBarAppearanceUpdate)) { 92 | setNeedsStatusBarAppearanceUpdate() 93 | } 94 | } 95 | } 96 | var contentContainerView: UIView? 97 | var displayMenuSideBySide: Bool = false 98 | var activeMenuViewController: UIViewController? 99 | var leftSeparatorView: UIView? 100 | 101 | var dragGestureRecognizer: UIGestureRecognizer? 102 | var dragContentStartX: CGFloat = 0.0 103 | var dragGestureStartPoint: CGPoint = CGPoint.init(x: 0, y: 0) 104 | @IBOutlet var leftMenuViewController: UIViewController? 105 | var _contentViewController: UIViewController? 106 | @IBOutlet var contentViewController: UIViewController? 107 | var slideDelegate: SlideMenuViewControllerDelegate? 108 | var isSupportSwipeGusture: Bool = false 109 | var tapOnContentViewToHideMenu: Bool = false 110 | var animationDuration: TimeInterval = 0.0 111 | var _menuWidth: CGFloat = 0.0 112 | var menuWidth: CGFloat 113 | { 114 | get { 115 | return _menuWidth 116 | } 117 | set { 118 | _menuWidth = newValue 119 | if (leftMenuViewController != nil) { 120 | var menuFrame: CGRect = leftMenuViewController!.view.frame 121 | menuFrame.size.width = menuAbsoluteWidth() 122 | leftMenuViewController?.view.frame = menuFrame 123 | } 124 | } 125 | } 126 | var boucing: Bool = false 127 | var showLeftMenuLandscape: Bool = false 128 | var _useShadow: Bool = false 129 | var useShadow: Bool 130 | { 131 | get { 132 | return _useShadow 133 | } 134 | set { 135 | _useShadow = newValue 136 | contentContainerView?.clipsToBounds = !useShadow || displayMenuSideBySide 137 | } 138 | } 139 | var shadowView: UIView? 140 | var _separatorColor: UIColor = UIColor.lightGray 141 | var separatorColor: UIColor 142 | { 143 | get { 144 | return _separatorColor 145 | } 146 | set { 147 | _separatorColor = newValue 148 | leftSeparatorView?.backgroundColor = _separatorColor 149 | } 150 | } 151 | 152 | override func viewDidLoad() 153 | { 154 | super.viewDidLoad() 155 | 156 | shadowView = UIView(frame: view.bounds) 157 | shadowView?.backgroundColor = UIColor.black.withAlphaComponent(0.3) 158 | 159 | //Create GestureRecognizers for NavigationView 160 | let panGR = UIPanGestureRecognizer(target: self, action: #selector(self.dragGestureRecognizerDrag(_:))) 161 | panGR.delegate = self as? UIGestureRecognizerDelegate 162 | panGR.minimumNumberOfTouches = 1 163 | panGR.maximumNumberOfTouches = 1 164 | dragGestureRecognizer = panGR 165 | view.addGestureRecognizer(dragGestureRecognizer!) 166 | 167 | let contentContainer = UIView(frame: view.bounds) 168 | contentContainer.autoresizingMask = [.flexibleWidth, .flexibleHeight] 169 | contentContainerView = contentContainer 170 | view.addSubview(contentContainer) 171 | 172 | leftSeparatorView = UIView(frame: CGRect(x: 0.0, y: 0.0, width: 0.5, height: view.bounds.size.height)) 173 | leftSeparatorView?.backgroundColor = separatorColor 174 | leftSeparatorView?.autoresizingMask = [.flexibleHeight, .flexibleRightMargin] 175 | leftSeparatorView?.isHidden = true 176 | contentContainer.addSubview(leftSeparatorView!) 177 | 178 | performSegueIfPossible(withIdentifier: "content", sender: self) 179 | performSegueIfPossible(withIdentifier: "leftMenu", sender: self) 180 | } 181 | 182 | override func viewWillAppear(_ animated: Bool) 183 | { 184 | super.viewWillAppear(animated) 185 | updateShadowPath() 186 | } 187 | 188 | override func didReceiveMemoryWarning() 189 | { 190 | super.didReceiveMemoryWarning() 191 | // Dispose of any resources that can be recreated. 192 | } 193 | 194 | deinit 195 | { 196 | NotificationCenter.default.removeObserver(self, name: UIResponder.keyboardWillShowNotification, object: nil) 197 | NotificationCenter.default.removeObserver(self, name: UIResponder.keyboardDidHideNotification, object: nil) 198 | } 199 | 200 | func commonInit() 201 | { 202 | animationDuration = kSlideMenuDefaultAnimationDuration 203 | menuWidth = CGFloat(kSlideMenuDefaultMenuWidth) 204 | showLeftMenuLandscape = true 205 | keyboardVisible = false 206 | boucing = false 207 | tapOnContentViewToHideMenu = true 208 | useShadow = true 209 | NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillShow), name: UIResponder.keyboardWillShowNotification, object: nil) 210 | NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidHide), name: UIResponder.keyboardDidHideNotification, object: nil) 211 | 212 | self.hideTapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(self.closeTapGestureRecognizerFired(_:))) 213 | self.hideTapGestureRecognizer?.delegate = self as? UIGestureRecognizerDelegate 214 | self.hideTapGestureRecognizer?.delaysTouchesBegan = true 215 | self.hideTapGestureRecognizer?.delaysTouchesEnded = true 216 | } 217 | 218 | init() 219 | { 220 | super.init(nibName: nil, bundle: nil) 221 | self.commonInit() 222 | } 223 | 224 | override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) 225 | { 226 | super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) 227 | self.commonInit() 228 | } 229 | 230 | required init?(coder aDecoder: NSCoder) 231 | { 232 | super.init(coder: aDecoder) 233 | commonInit() 234 | } 235 | 236 | func updateShadowBackground() 237 | { 238 | if !(shadowView != nil) 239 | { 240 | shadowView = UIView(frame: view.bounds) 241 | shadowView?.backgroundColor = UIColor.black.withAlphaComponent(0.3) 242 | } 243 | shadowView?.frame = view.bounds 244 | } 245 | 246 | func updateShadowPath() 247 | { 248 | let currentView: UIView? = leftMenuViewController?.view 249 | currentView?.layer.shadowPath = UIBezierPath(rect: currentView?.bounds ?? CGRect.zero).cgPath 250 | } 251 | 252 | func updateShadowPath(_ trailCollection: UITraitCollection?) 253 | { 254 | let currentView: UIView? = leftMenuViewController?.view 255 | currentView?.layer.shadowPath = UIBezierPath(rect: currentView?.bounds ?? CGRect.zero).cgPath 256 | if SizeClassHelper.isWideScreen(trailCollection!) 257 | { 258 | currentView?.layer.shadowOpacity = 0 259 | } 260 | else 261 | { 262 | currentView?.layer.shadowOpacity = 1 263 | } 264 | } 265 | 266 | override func viewDidLayoutSubviews() 267 | { 268 | super.viewDidLayoutSubviews() 269 | update(super.traitCollection) 270 | updateShadowPath() 271 | updateShadowBackground() 272 | } 273 | 274 | func update(_ trailCollection: UITraitCollection?) { 275 | updateShadowPath(trailCollection) 276 | var displayMenuSideBySide: Bool 277 | if SizeClassHelper.trailToString(trailCollection!) != .SplitPortrait 278 | && SizeClassHelper.trailToString(trailCollection!) != .SplitLandscape 279 | && SizeClassHelper.trailToString(trailCollection!) != .PhonePortrait 280 | && SizeClassHelper.trailToString(trailCollection!) != .PhoneLandscape { 281 | displayMenuSideBySide = true 282 | showShadowView(false, animated: false) 283 | } else { 284 | displayMenuSideBySide = false 285 | } 286 | self.displayMenuSideBySide = displayMenuSideBySide 287 | let offsetLeft: CGFloat = displayMenuSideBySide && self.showLeftMenuLandscape ? self.menuAbsoluteWidth() : 0.0 288 | self.hideLeftMenu() 289 | if displayMenuSideBySide { 290 | self.showLeftMenu() 291 | self.showShadowView(false, animated: true) 292 | } 293 | var frame: CGRect = contentContainerView!.frame 294 | frame.origin.x = offsetLeft 295 | frame.size.width = view.bounds.size.width - offsetLeft 296 | contentContainerView?.frame = frame 297 | leftSeparatorView?.isHidden = !(displayMenuSideBySide && showLeftMenuLandscape) 298 | contentContainerView?.clipsToBounds = displayMenuSideBySide || !useShadow 299 | leftMenuViewController?.view.accessibilityElementsHidden = !displayMenuSideBySide || !showLeftMenuLandscape 300 | } 301 | 302 | // MARK: - Interface rotation 303 | override var shouldAutorotate: Bool { 304 | return Bool((contentViewController != nil) ? getTopContentViewController()!.shouldAutorotate : true) 305 | } 306 | 307 | override var supportedInterfaceOrientations: UIInterfaceOrientationMask { 308 | return (contentViewController != nil) ? getTopContentViewController()!.supportedInterfaceOrientations : .all 309 | } 310 | 311 | override func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) { 312 | UIView.animate(withDuration: duration, animations: { 313 | self.displayMenuSideBySideIfNeeded(toInterfaceOrientation) 314 | }) 315 | } 316 | 317 | override func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) { 318 | updateShadowPath() 319 | } 320 | 321 | func displayMenuSideBySideIfNeeded(_ forOriention: UIInterfaceOrientation) { 322 | 323 | } 324 | 325 | // MARK: - status bar style 326 | override var childForStatusBarStyle: UIViewController? { 327 | return menuViewVisible ? activeMenuViewController : contentViewController 328 | } 329 | 330 | func setMenuViewController(_ menuViewController: UIViewController?) { 331 | setLeftMenu(menuViewController) 332 | } 333 | 334 | func menuViewController() -> UIViewController? { 335 | return leftMenuViewController 336 | } 337 | 338 | func setLeftMenu(_ menuViewController: UIViewController?) { 339 | if (leftMenuViewController != nil) { 340 | leftMenuViewController?.willMove(toParent: nil) 341 | leftMenuViewController?.view.removeFromSuperview() 342 | leftMenuViewController?.removeFromParent() 343 | } 344 | leftMenuViewController = menuViewController 345 | if menuViewController != nil { 346 | let menuView: UIView = (menuViewController?.view)! 347 | menuView.accessibilityElementsHidden = true 348 | var menuFrame: CGRect = view.bounds 349 | menuFrame.size.width = menuAbsoluteWidth() 350 | menuFrame.origin.x = -menuFrame.size.width - 15 351 | menuView.frame = menuFrame 352 | menuView.autoresizingMask = [.flexibleRightMargin, .flexibleHeight] 353 | if let aController = menuViewController { 354 | addChild(aController) 355 | } 356 | view.addSubview(menuView) 357 | addShadow(to: menuView) 358 | menuViewController?.didMove(toParent: self) 359 | } 360 | } 361 | 362 | func setContentViewController(_ contentViewController: UIViewController, animated: Bool) { 363 | if (self.contentViewController != nil) { 364 | self.contentViewController?.willMove(toParent: nil) 365 | self.contentViewController?.view.removeFromSuperview() 366 | self.contentViewController?.removeFromParent() 367 | } 368 | 369 | self.contentViewController = contentViewController 370 | 371 | if (contentViewController is UINavigationController) { 372 | (contentViewController as? UINavigationController)?.delegate = self as? UINavigationControllerDelegate 373 | } 374 | 375 | addChild(contentViewController) 376 | contentViewController.view.frame = (contentContainerView?.bounds)! 377 | contentViewController.view.autoresizingMask = [.flexibleWidth, .flexibleHeight] 378 | 379 | var currentFrame: CGRect = view.bounds 380 | currentFrame.origin.x = currentFrame.size.width 381 | contentContainerView?.frame = currentFrame 382 | contentContainerView?.insertSubview(contentViewController.view, at: 0) 383 | 384 | if menuViewVisible { 385 | currentFrame.origin.x = menuAbsoluteWidth() 386 | } else { 387 | currentFrame.origin.x = 0 388 | } 389 | 390 | let animationBlock: (() -> Void)? = { 391 | self.contentContainerView?.frame = currentFrame 392 | } 393 | let completionBlock: ((Bool) -> Void)? = { finished in 394 | contentViewController.didMove(toParent: self) 395 | } 396 | 397 | if animated { 398 | if let aBlock = animationBlock { 399 | UIView.animate(withDuration: kSlideMenuDefaultAnimationDuration, animations: aBlock, completion: completionBlock) 400 | } 401 | } else { 402 | animationBlock?() 403 | completionBlock?(true) 404 | } 405 | 406 | } 407 | 408 | func dismissContentViewController() { 409 | contentViewController?.willMove(toParent: nil) 410 | contentViewController?.view.removeFromSuperview() 411 | contentViewController?.removeFromParent() 412 | contentViewController = nil 413 | 414 | menuViewVisible = false 415 | } 416 | 417 | func getTopContentViewController() -> UIViewController? { 418 | if (contentViewController is UINavigationController) { 419 | return (contentViewController as? UINavigationController)?.topViewController 420 | } 421 | return contentViewController 422 | } 423 | 424 | // MARK: - Screen setup 425 | func addShadow(to aView: UIView?) { 426 | aView?.clipsToBounds = !useShadow 427 | aView?.layer.shadowPath = UIBezierPath(rect: aView?.bounds ?? CGRect.zero).cgPath 428 | aView?.layer.shadowRadius = 10 429 | aView?.layer.shadowOpacity = 0.75 430 | aView?.layer.shadowOffset = CGSize(width: 0.0, height: 0.0) 431 | aView?.layer.shadowColor = UIColor.black.cgColor 432 | } 433 | 434 | // MARK: - UINavigationControllerDelegate 435 | func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) { 436 | if (navigationController.viewControllers.count < 2) || (navigationController.responds(to: #selector(getter: UINavigationController.supportedInterfaceOrientations)) && (navigationController.supportedInterfaceOrientations == .all)) { 437 | return 438 | } 439 | 440 | //clang diagnostic push 441 | //clang diagnostic ignored "-Wundeclared-selector" 442 | if !responds(to: #selector(getter: self.presentationController)) { 443 | //clang diagnostic pop 444 | present(UIViewController(), animated: false) { 445 | self.dismiss(animated: false) 446 | } 447 | } 448 | } 449 | 450 | func showLeftMenu() { 451 | view.bringSubviewToFront((leftMenuViewController?.view)!) 452 | 453 | leftMenuViewController?.view.accessibilityElementsHidden = false 454 | UIAccessibility.post(notification: UIAccessibility.Notification.screenChanged, argument: leftMenuViewController?.view) 455 | 456 | let showMenuCompletionBlock: ((Bool) -> Void)? = { finished in 457 | self.activeMenuViewController = self.leftMenuViewController 458 | self.menuViewVisible = true 459 | if self.tapOnContentViewToHideMenu { 460 | self.shadowView?.addGestureRecognizer(self.hideTapGestureRecognizer!) 461 | } 462 | if (self.slideDelegate != nil) { 463 | self.slideDelegate?.didShowMenu(viewController: self) 464 | } 465 | self.notifyDidShowMenu() 466 | } 467 | 468 | let showMenuBlock: (() -> Void)? = { 469 | self.showShadowView(true, animated: true) 470 | self.view.bringSubviewToFront((self.leftMenuViewController?.view)!) 471 | var contentFrame: CGRect = self.leftMenuViewController!.view.frame 472 | contentFrame.origin.x = 0 473 | self.leftMenuViewController?.view.frame = contentFrame 474 | } 475 | 476 | if (slideDelegate != nil) { 477 | slideDelegate?.willShowMenu(viewController: self) 478 | } 479 | notifyWillShowMenu() 480 | 481 | showMenuBlock?(); 482 | showMenuCompletionBlock!(true); 483 | } 484 | 485 | func hideLeftMenu() { 486 | if (self.leftMenuViewController == nil) { 487 | return 488 | } 489 | UIAccessibility.post(notification: UIAccessibility.Notification.screenChanged, argument: contentViewController?.view) 490 | leftMenuViewController?.view.accessibilityElementsHidden = true 491 | 492 | let hideMenuCompletionBlock: ((Bool) -> Void)? = { finished in 493 | self.menuViewVisible = false 494 | if self.tapOnContentViewToHideMenu { 495 | self.contentContainerView?.removeGestureRecognizer(self.hideTapGestureRecognizer!) 496 | self.contentViewController?.view.isUserInteractionEnabled = true 497 | } 498 | 499 | if (self.slideDelegate != nil) { 500 | self.slideDelegate?.didHideMenu(viewController: self) 501 | } 502 | self.notifyDidHideMenu() 503 | } 504 | let hideMenuBlock: (() -> Void)? = { 505 | self.showShadowView(false, animated: true) 506 | var contentFrame: CGRect = self.leftMenuViewController!.view.frame 507 | contentFrame.origin.x = -contentFrame.size.width - 15 508 | self.leftMenuViewController?.view.frame = contentFrame 509 | } 510 | 511 | if (slideDelegate != nil) { 512 | slideDelegate?.willHideMenu(viewController: self) 513 | } 514 | notifyWillHideMenu() 515 | 516 | hideMenuBlock?() 517 | hideMenuCompletionBlock!(true) 518 | } 519 | 520 | func hideMenu(_ animated: Bool) { 521 | if self.displayMenuSideBySide { 522 | return 523 | } 524 | 525 | UIAccessibility.post(notification: UIAccessibility.Notification.screenChanged, argument: contentViewController?.view) 526 | leftMenuViewController?.view.accessibilityElementsHidden = true 527 | 528 | let hideMenuCompletionBlock: ((Bool) -> Void)? = { finished in 529 | self.menuViewVisible = false 530 | if self.tapOnContentViewToHideMenu { 531 | self.shadowView?.removeGestureRecognizer(self.hideTapGestureRecognizer!) 532 | } 533 | 534 | if (self.slideDelegate != nil) { 535 | self.slideDelegate?.didHideMenu(viewController: self) 536 | } 537 | self.notifyDidHideMenu() 538 | } 539 | let hideBouncingBlock: (() -> Void)? = { 540 | self.showShadowView(false, animated: true) 541 | var contentFrame: CGRect = self.leftMenuViewController!.view.frame 542 | 543 | contentFrame.origin.x = -contentFrame.size.width - 15 544 | UIView.animate(withDuration: self.kSlideMenuDefaultBounceDuration, delay: 0.0, options: .curveEaseOut, animations: { 545 | self.leftMenuViewController?.view.frame = contentFrame 546 | }) { finished in 547 | UIView.animate(withDuration: self.kSlideMenuDefaultBounceDuration, delay: 0.0, options: .curveEaseInOut, animations: { 548 | self.leftMenuViewController?.view.frame = contentFrame 549 | }, completion: hideMenuCompletionBlock) 550 | } 551 | } 552 | let hideMenuBlock: (() -> Void)? = { 553 | self.showShadowView(false, animated: true) 554 | var contentFrame: CGRect = self.leftMenuViewController!.view.frame 555 | contentFrame.origin.x = -contentFrame.size.width - 15 556 | self.leftMenuViewController?.view.frame = contentFrame 557 | } 558 | 559 | if (slideDelegate != nil) { 560 | slideDelegate?.willHideMenu(viewController: self) 561 | } 562 | notifyWillHideMenu() 563 | 564 | if animated { 565 | if self.boucing { 566 | hideBouncingBlock!() 567 | } else { 568 | if let aBlock = hideMenuBlock { 569 | UIView.animate(withDuration: TimeInterval(animationDuration), animations: aBlock, completion: hideMenuCompletionBlock) 570 | } 571 | } 572 | } else { 573 | hideMenuBlock?() 574 | hideMenuCompletionBlock!(true) 575 | } 576 | } 577 | 578 | func showMenu(_ viewController: UIViewController, animated: Bool) { 579 | if self.displayMenuSideBySide { 580 | return 581 | } 582 | view.bringSubviewToFront((leftMenuViewController?.view)!) 583 | 584 | viewController.view.accessibilityElementsHidden = false 585 | UIAccessibility.post(notification: UIAccessibility.Notification.screenChanged, argument: viewController.view) 586 | 587 | let showMenuCompletionBlock: ((Bool) -> Void)? = { finished in 588 | self.activeMenuViewController = viewController 589 | self.menuViewVisible = true 590 | if self.tapOnContentViewToHideMenu { 591 | self.shadowView?.addGestureRecognizer(self.hideTapGestureRecognizer!) 592 | } 593 | if (self.slideDelegate != nil) { 594 | self.slideDelegate?.didShowMenu(viewController: self) 595 | } 596 | self.notifyDidShowMenu() 597 | } 598 | let showBouncingBlock: (() -> Void)? = { 599 | self.showShadowView(true, animated: true) 600 | var contentFrame: CGRect = self.leftMenuViewController!.view.frame 601 | contentFrame.origin.x = 0 602 | 603 | UIView.animate(withDuration: self.kSlideMenuDefaultBounceDuration, delay: 0.0, options: .curveEaseOut, animations: { 604 | self.leftMenuViewController?.view.frame = contentFrame 605 | }) { finished in 606 | UIView.animate(withDuration: self.kSlideMenuDefaultBounceDuration, delay: 0.0, options: .curveEaseInOut, animations: { 607 | self.leftMenuViewController?.view.frame = contentFrame 608 | }, completion: showMenuCompletionBlock) 609 | } 610 | } 611 | let showMenuBlock: (() -> Void)? = { 612 | self.showShadowView(true, animated: true) 613 | self.view.bringSubviewToFront((self.leftMenuViewController?.view)!) 614 | var contentFrame: CGRect = self.leftMenuViewController!.view.frame 615 | contentFrame.origin.x = 0 616 | self.leftMenuViewController?.view.frame = contentFrame 617 | } 618 | 619 | if (slideDelegate != nil) { 620 | slideDelegate?.willShowMenu(viewController: self) 621 | } 622 | notifyWillShowMenu() 623 | 624 | if animated { 625 | if self.boucing { 626 | showBouncingBlock!() 627 | } else { 628 | if let aBlock = showMenuBlock { 629 | UIView.animate(withDuration: TimeInterval(animationDuration), animations: aBlock, completion: showMenuCompletionBlock) 630 | } 631 | } 632 | } else { 633 | showMenuBlock?() 634 | showMenuCompletionBlock!(true) 635 | } 636 | } 637 | 638 | func showLeftMenu(_ animated: Bool) { 639 | showMenu(self.leftMenuViewController!, animated: animated) 640 | } 641 | 642 | func notifyWillShowMenu() { 643 | NotificationCenter.default.post(name: NSNotification.Name(rawValue: SlideMenuWillShowNotification), object: self) 644 | } 645 | 646 | func notifyDidShowMenu() { 647 | NotificationCenter.default.post(name: NSNotification.Name(rawValue: SlideMenuDidShowNotification), object: self) 648 | } 649 | 650 | func notifyWillHideMenu() { 651 | NotificationCenter.default.post(name: NSNotification.Name(rawValue: SlideMenuWillHideNotification), object: self) 652 | } 653 | 654 | func notifyDidHideMenu() { 655 | NotificationCenter.default.post(name: NSNotification.Name(rawValue: SlideMenuDidHideNotification), object: self) 656 | } 657 | 658 | func menuAbsoluteWidth() -> CGFloat { 659 | return CGFloat((menuWidth >= 0.0 && menuWidth <= 1.0) ? CGFloat(roundf(Float(menuWidth * view.bounds.size.width))) : menuWidth) 660 | } 661 | 662 | func showShadowView(_ isShow: Bool, animated: Bool) { 663 | DispatchQueue.main.async(execute: { 664 | if !isShow { 665 | self.isShowShadow = false 666 | if animated { 667 | UIView.animate(withDuration: self.kSlideMenuDefaultAnimationDuration, animations: { 668 | self.shadowView?.backgroundColor = UIColor.black.withAlphaComponent(0.0) 669 | }) { finished in 670 | self.shadowView?.removeFromSuperview() 671 | } 672 | } else { 673 | self.shadowView?.removeFromSuperview() 674 | } 675 | } else { 676 | if self.isShowShadow || self.displayMenuSideBySide { 677 | return 678 | } 679 | self.isShowShadow = true 680 | if animated { 681 | self.contentContainerView?.addSubview(self.shadowView!) 682 | UIView.animate(withDuration: self.kSlideMenuDefaultAnimationDuration, animations: { 683 | self.shadowView?.backgroundColor = UIColor.black.withAlphaComponent(0.3) 684 | }) 685 | } else { 686 | self.contentContainerView?.addSubview(self.shadowView!) 687 | } 688 | } 689 | }) 690 | } 691 | 692 | func switchLeftMenu(_ animated: Bool) { 693 | if menuViewVisible { 694 | hideMenu(animated) 695 | } else { 696 | showLeftMenu(animated) 697 | } 698 | } 699 | 700 | @objc func keyboardWillShow(_ notification: Notification?) { 701 | keyboardVisible = true 702 | } 703 | 704 | @objc func keyboardDidHide(_ notification: Notification?) { 705 | keyboardVisible = false 706 | } 707 | 708 | // MARK: - UIGestureRecognizerDelegate 709 | @IBAction func closeTapGestureRecognizerFired(_ sender: UIGestureRecognizer) { 710 | hideMenu(true) 711 | } 712 | 713 | func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool { 714 | return true 715 | } 716 | 717 | func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool { 718 | 719 | // prevent recognizing touches on the slider 720 | var view: UIView? = touch.view 721 | while (view != nil) { 722 | if (view is UISlider) || (view is UISwitch) { 723 | return false 724 | } 725 | view = view?.superview 726 | } 727 | return true 728 | } 729 | 730 | func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool { 731 | return (gestureRecognizer != dragGestureRecognizer) || !(otherGestureRecognizer is UIPanGestureRecognizer) 732 | } 733 | 734 | func setSupportSwipeGesture(_ isSupportSwipeGesture: Bool) 735 | { 736 | if isSupportSwipeGesture && !(dragGestureRecognizer != nil) 737 | { 738 | if !(dragGestureRecognizer != nil) 739 | { 740 | let panGR = UIPanGestureRecognizer(target: self, action: #selector(dragGestureRecognizerDrag(_:))) 741 | panGR.delegate = (self as! UIGestureRecognizerDelegate) 742 | panGR.minimumNumberOfTouches = 1 743 | panGR.maximumNumberOfTouches = 1 744 | dragGestureRecognizer = panGR 745 | view.addGestureRecognizer(dragGestureRecognizer!) 746 | } 747 | } 748 | else 749 | { 750 | if (dragGestureRecognizer != nil) 751 | { 752 | view.removeGestureRecognizer(dragGestureRecognizer!) 753 | dragGestureRecognizer = nil 754 | } 755 | } 756 | } 757 | 758 | // MARK: - MenuHandling 759 | func delegateVetosDrag(withStart startPoint: CGPoint, end endPoint: CGPoint, inOrderToShowMenu isGoingToShowMenuWhenThisGestureSucceeds: Bool) -> Bool { 760 | return !slideDelegate!.shouldHandleSlideMenuGesture(viewController: self, startPonint: startPoint, endPoint: endPoint, isGoingToShowMenuWhenThisGestureSucceeds: isGoingToShowMenuWhenThisGestureSucceeds) 761 | } 762 | 763 | @objc func dragGestureRecognizerDrag(_ sender: UIPanGestureRecognizer) { 764 | if keyboardVisible || self.displayMenuSideBySide { 765 | return 766 | } 767 | 768 | let translation: CGPoint = sender.translation(in: leftMenuViewController!.view) 769 | let xTranslation: CGFloat = translation.x 770 | 771 | let state: UIGestureRecognizer.State = sender.state 772 | 773 | switch state { 774 | case .began: 775 | if !isShowShadow { 776 | contentContainerView?.addSubview(shadowView!) 777 | } 778 | dragContentStartX = (leftMenuViewController?.view.frame.origin.x)! 779 | dragGestureStartPoint = sender.location(in: view) 780 | break 781 | case .changed: 782 | let aView: UIView? = leftMenuViewController?.view 783 | var contentFrame: CGRect? = aView?.frame 784 | // Correct position 785 | var newStartX: CGFloat = dragContentStartX 786 | newStartX += xTranslation 787 | let endX = CGFloat((menuWidth >= 0.0 && menuWidth <= 1.0) ? CGFloat(roundf(Float(menuWidth * (contentFrame?.size.width ?? 0.0)))) : menuWidth) 788 | 789 | newStartX = min(newStartX, leftMenuViewController != nil ? endX : 0.0) 790 | if newStartX < 0 { 791 | contentFrame?.origin.x = newStartX 792 | aView?.frame = contentFrame ?? CGRect.zero 793 | } 794 | 795 | if abs(xTranslation) <= abs(endX) && newStartX < 0 && abs(Float(newStartX)) < abs(Float(endX)) { 796 | let alpha: CGFloat = (xTranslation > 0) ? xTranslation : endX + xTranslation 797 | shadowView?.backgroundColor = UIColor.black.withAlphaComponent(0.3 * alpha / endX) 798 | } 799 | break 800 | case .ended: 801 | if self.menuViewVisible { 802 | if abs(xTranslation) > menuWidth / 3 && xTranslation < 0 { 803 | hideMenu(true) 804 | } else { 805 | showLeftMenu(true) 806 | } 807 | } else { 808 | if abs(xTranslation) > menuWidth / 3 && xTranslation > 0 { 809 | showLeftMenu(true) 810 | } else { 811 | hideMenu(true) 812 | } 813 | } 814 | // Reset drag content start x 815 | dragContentStartX = 0.0 816 | dragGestureStartPoint = CGPoint.zero 817 | break 818 | default: 819 | break 820 | } 821 | 822 | } 823 | 824 | // Change content viewcontroller 825 | func switchViewController(_ viewController: UIViewController, animated: Bool) { 826 | let nav = self.contentViewController as! UINavigationController 827 | self.hideMenu(true) 828 | nav.setRootViewController(viewController, animated: animated) 829 | } 830 | 831 | } 832 | -------------------------------------------------------------------------------- /VTSwiftySlideMenu/Classes/Utilities.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Utilities.swift 3 | // Pods-VTSwiftySlideMenu_Example 4 | // 5 | // Created by Vu Dinh Vinh on 9/14/18. 6 | // 7 | 8 | import UIKit 9 | 10 | class Utilities: NSObject 11 | { 12 | // check iPad Pro 13 | class func isIPadPro() -> Bool 14 | { 15 | return (isIPad() 16 | && (UIScreen.main.bounds.size.height == 1366 || UIScreen.main.bounds.size.width == 1366)) 17 | } 18 | 19 | // check iPad 20 | class func isIPad() -> Bool 21 | { 22 | return (UIDevice.current.userInterfaceIdiom == .pad) 23 | } 24 | 25 | class func animateTransitionController(_ controller: UIViewController?, duration: CGFloat, withType type: String?) { 26 | let transition = CATransition() 27 | transition.duration = CFTimeInterval(duration) 28 | transition.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut) 29 | transition.type = CATransitionType(rawValue: type ?? "") 30 | controller?.view.layer.add(transition, forKey: nil) 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------