├── .DS_Store ├── Example ├── .DS_Store ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── YSMContainerView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcuserdata │ │ │ └── duanzengguang.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── Pods-YSMContainerView_Example.xcscheme │ │ │ ├── Pods-YSMContainerView_Tests.xcscheme │ │ │ ├── YSMContainerView.xcscheme │ │ │ └── xcschememanagement.plist │ └── Target Support Files │ │ ├── Pods-YSMContainerView_Example │ │ ├── Info.plist │ │ ├── Pods-YSMContainerView_Example-acknowledgements.markdown │ │ ├── Pods-YSMContainerView_Example-acknowledgements.plist │ │ ├── Pods-YSMContainerView_Example-dummy.m │ │ ├── Pods-YSMContainerView_Example-frameworks.sh │ │ ├── Pods-YSMContainerView_Example-resources.sh │ │ ├── Pods-YSMContainerView_Example-umbrella.h │ │ ├── Pods-YSMContainerView_Example.debug.xcconfig │ │ ├── Pods-YSMContainerView_Example.modulemap │ │ └── Pods-YSMContainerView_Example.release.xcconfig │ │ ├── Pods-YSMContainerView_Tests │ │ ├── Info.plist │ │ ├── Pods-YSMContainerView_Tests-acknowledgements.markdown │ │ ├── Pods-YSMContainerView_Tests-acknowledgements.plist │ │ ├── Pods-YSMContainerView_Tests-dummy.m │ │ ├── Pods-YSMContainerView_Tests-frameworks.sh │ │ ├── Pods-YSMContainerView_Tests-resources.sh │ │ ├── Pods-YSMContainerView_Tests-umbrella.h │ │ ├── Pods-YSMContainerView_Tests.debug.xcconfig │ │ ├── Pods-YSMContainerView_Tests.modulemap │ │ └── Pods-YSMContainerView_Tests.release.xcconfig │ │ └── YSMContainerView │ │ ├── Info.plist │ │ ├── YSMContainerView-dummy.m │ │ ├── YSMContainerView-prefix.pch │ │ ├── YSMContainerView-umbrella.h │ │ ├── YSMContainerView.modulemap │ │ └── YSMContainerView.xcconfig ├── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ │ └── InfoPlist.strings ├── YSMContainerView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── YSMContainerView-Example.xcscheme ├── YSMContainerView.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings │ └── xcuserdata │ │ └── duanzengguang.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ ├── WorkspaceSettings.xcsettings │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist └── YSMContainerView │ ├── .DS_Store │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ └── headerImage.imageset │ │ ├── 33837047C382755CEE6DAE94FDE053D9.png │ │ └── Contents.json │ ├── YSMAppDelegate.h │ ├── YSMAppDelegate.m │ ├── YSMCollectionViewController.h │ ├── YSMCollectionViewController.m │ ├── YSMContainerView-Info.plist │ ├── YSMContainerView-Prefix.pch │ ├── YSMMenusViewController.h │ ├── YSMMenusViewController.m │ ├── YSMTableViewController.h │ ├── YSMTableViewController.m │ ├── YSMTableViewController1.h │ ├── YSMTableViewController1.m │ ├── YSMViewController.h │ ├── YSMViewController.m │ ├── en.lproj │ └── InfoPlist.strings │ └── main.m ├── LICENSE ├── Pod ├── .DS_Store ├── Assets │ └── .gitkeep └── Classes │ ├── .DS_Store │ ├── .gitkeep │ ├── UIView+YSMCategory.h │ ├── UIView+YSMCategory.m │ ├── YSMContainerView.h │ ├── YSMContainerView.m │ ├── YSMHeaderView.h │ └── YSMHeaderView.m ├── README.md ├── YSMContainerView.podspec ├── _Pods.xcodeproj └── containerView.gif /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/.DS_Store -------------------------------------------------------------------------------- /Example/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/Example/.DS_Store -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'YSMContainerView_Example' do 4 | pod 'YSMContainerView', :path => '../' 5 | 6 | target 'YSMContainerView_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - YSMContainerView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - YSMContainerView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | YSMContainerView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | YSMContainerView: 41749f00c826a566a2aa4977fef034f8b2503ceb 13 | 14 | PODFILE CHECKSUM: cc269a6956a4a3fde358792b84c2a775f479d039 15 | 16 | COCOAPODS: 1.5.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/YSMContainerView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "YSMContainerView", 3 | "version": "0.1.0", 4 | "summary": "A short description of YSMContainerView.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/yisimeng/YSMContainerView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "yisimeng": "465386131@qq.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/yisimeng/YSMContainerView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "Pod/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - YSMContainerView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - YSMContainerView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | YSMContainerView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | YSMContainerView: 41749f00c826a566a2aa4977fef034f8b2503ceb 13 | 14 | PODFILE CHECKSUM: cc269a6956a4a3fde358792b84c2a775f479d039 15 | 16 | COCOAPODS: 1.5.0 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 | 01CD99A2DF54F42F8714148FFE519716 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 11 | 23E5583713121D3DC3E04722514F133A /* YSMContainerView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C3FDEB4676E07636892A869F221EE9DA /* YSMContainerView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 242F2DB24A8835DAB1C63F11F1A36CA8 /* YSMContainerView.h in Headers */ = {isa = PBXBuildFile; fileRef = A0BAA6819C032A7E62D0E768E74A5341 /* YSMContainerView.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 27331FB07754D9729FADE0B7629B6A42 /* Pods-YSMContainerView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 521E6EEF5CC573417F5D4B3A99E0F7F3 /* Pods-YSMContainerView_Tests-dummy.m */; }; 14 | 2F596033A3395D5F775855CE393C2BA8 /* Pods-YSMContainerView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 04E39BE028E96C52C497BF73831B982F /* Pods-YSMContainerView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 3FEABE323BC34C5BC37F3C14FF03EB37 /* UIView+YSMCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = 2034B867B855DF39BAD5FB97892EB276 /* UIView+YSMCategory.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 6918D9A51B1F02E7E16FB15268CB58FD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | 8FC70E7521A2ADC0009EC1B5 /* YSMHeaderView.h in Headers */ = {isa = PBXBuildFile; fileRef = 8FC70E7321A2ADC0009EC1B5 /* YSMHeaderView.h */; }; 18 | 8FC70E7621A2ADC0009EC1B5 /* YSMHeaderView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8FC70E7421A2ADC0009EC1B5 /* YSMHeaderView.m */; }; 19 | 92AC3C73A3659D7F98E8006DDC269DC8 /* YSMContainerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 38647DB36A4E19E9CE7FC00AEC0A6A20 /* YSMContainerView.m */; }; 20 | BFB9889CB7CF0AFBD9F76EF92057FF9A /* Pods-YSMContainerView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 898A5B4FA9D8E14F6B9F228C16310166 /* Pods-YSMContainerView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 21 | C185ADC6AA1EA6C3DB4DE4CA0EDA97F5 /* Pods-YSMContainerView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EBCF8796B59CF525B6A7BE2D31C58915 /* Pods-YSMContainerView_Example-dummy.m */; }; 22 | F0DAD26AEDEB3F399B6E6E20AE5E00F5 /* UIView+YSMCategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 1B8E93F5519DFDB37E009ADB140132FF /* UIView+YSMCategory.m */; }; 23 | F0DED76616B1C0A4490B9DCEB3C24B9D /* YSMContainerView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 994129F6435BD728A2194FCB966FFA88 /* YSMContainerView-dummy.m */; }; 24 | F23DAE2A477FE195B240E31D5167F981 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 25 | /* End PBXBuildFile section */ 26 | 27 | /* Begin PBXContainerItemProxy section */ 28 | A0D98BFDFDDA5409543E28E840419A8B /* PBXContainerItemProxy */ = { 29 | isa = PBXContainerItemProxy; 30 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 31 | proxyType = 1; 32 | remoteGlobalIDString = 7AF7A4B5A7A9492B98124DC7C5E3131A; 33 | remoteInfo = "Pods-YSMContainerView_Example"; 34 | }; 35 | FEC64828C84742B625B63F820CD5F672 /* PBXContainerItemProxy */ = { 36 | isa = PBXContainerItemProxy; 37 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 38 | proxyType = 1; 39 | remoteGlobalIDString = 7479894BF308517487D05DA7F0689A51; 40 | remoteInfo = YSMContainerView; 41 | }; 42 | /* End PBXContainerItemProxy section */ 43 | 44 | /* Begin PBXFileReference section */ 45 | 04E39BE028E96C52C497BF73831B982F /* Pods-YSMContainerView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-YSMContainerView_Tests-umbrella.h"; sourceTree = ""; }; 46 | 0BA2EEFBAA5451F42EBAB8A07BFDBAD6 /* Pods-YSMContainerView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-YSMContainerView_Example.debug.xcconfig"; sourceTree = ""; }; 47 | 0DDE42F23BB15BB2ABDDCC48AE3BE8D0 /* Pods_YSMContainerView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_YSMContainerView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 0F5602DB94ED28AAEF807723466B08F4 /* Pods-YSMContainerView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-YSMContainerView_Example.release.xcconfig"; sourceTree = ""; }; 49 | 1794DFB2660FE01FF3F031FE234B0CA5 /* Pods-YSMContainerView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-YSMContainerView_Tests.debug.xcconfig"; sourceTree = ""; }; 50 | 1B8E93F5519DFDB37E009ADB140132FF /* UIView+YSMCategory.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+YSMCategory.m"; path = "Pod/Classes/UIView+YSMCategory.m"; sourceTree = ""; }; 51 | 2034B867B855DF39BAD5FB97892EB276 /* UIView+YSMCategory.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+YSMCategory.h"; path = "Pod/Classes/UIView+YSMCategory.h"; sourceTree = ""; }; 52 | 38647DB36A4E19E9CE7FC00AEC0A6A20 /* YSMContainerView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YSMContainerView.m; path = Pod/Classes/YSMContainerView.m; sourceTree = ""; }; 53 | 3BBCF7F64A6E33856E3305079291E299 /* Pods-YSMContainerView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-YSMContainerView_Tests-resources.sh"; sourceTree = ""; }; 54 | 5027785CC407BFF4960336D6AD768E1D /* YSMContainerView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "YSMContainerView-prefix.pch"; sourceTree = ""; }; 55 | 521E6EEF5CC573417F5D4B3A99E0F7F3 /* Pods-YSMContainerView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-YSMContainerView_Tests-dummy.m"; sourceTree = ""; }; 56 | 5474E61F2989E0B74C72FE4AA48D2695 /* Pods-YSMContainerView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-YSMContainerView_Example.modulemap"; sourceTree = ""; }; 57 | 564128C74066B3747C6574B2AE5821C8 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 58 | 64B7CF0192F6585C09460AD2A0865464 /* Pods-YSMContainerView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-YSMContainerView_Example-acknowledgements.markdown"; sourceTree = ""; }; 59 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 60 | 6A386289A79AA33E60E6C8FDB0A90E35 /* YSMContainerView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = YSMContainerView.xcconfig; sourceTree = ""; }; 61 | 79349B1039E581683B13848C70AFAAA1 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 62 | 7E934A29458D6AB5814393627D619EE6 /* Pods_YSMContainerView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_YSMContainerView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 85A675840152C2E854FBE5600D796263 /* YSMContainerView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = YSMContainerView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | 860929F7DF64033BC5764E6421855DFD /* YSMContainerView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = YSMContainerView.modulemap; sourceTree = ""; }; 65 | 898A5B4FA9D8E14F6B9F228C16310166 /* Pods-YSMContainerView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-YSMContainerView_Example-umbrella.h"; sourceTree = ""; }; 66 | 8F524A2FAE94C54270F0B7792F43E757 /* Pods-YSMContainerView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-YSMContainerView_Tests-acknowledgements.plist"; sourceTree = ""; }; 67 | 8FC70E7321A2ADC0009EC1B5 /* YSMHeaderView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = YSMHeaderView.h; path = Pod/Classes/YSMHeaderView.h; sourceTree = ""; }; 68 | 8FC70E7421A2ADC0009EC1B5 /* YSMHeaderView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = YSMHeaderView.m; path = Pod/Classes/YSMHeaderView.m; sourceTree = ""; }; 69 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 70 | 994129F6435BD728A2194FCB966FFA88 /* YSMContainerView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "YSMContainerView-dummy.m"; sourceTree = ""; }; 71 | A0BAA6819C032A7E62D0E768E74A5341 /* YSMContainerView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YSMContainerView.h; path = Pod/Classes/YSMContainerView.h; sourceTree = ""; }; 72 | A324764F836DE54BAF5B1A4A0697CD2E /* Pods-YSMContainerView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-YSMContainerView_Tests.release.xcconfig"; sourceTree = ""; }; 73 | AA1A5355051EC61912FDE61715FB98B0 /* Pods-YSMContainerView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-YSMContainerView_Tests-frameworks.sh"; sourceTree = ""; }; 74 | B28971FAD59B5F08AAD068C3312F3DA3 /* YSMContainerView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = YSMContainerView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 75 | B3D6B3C99AC2DEC5EF8E3BBFA3A48A1D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 76 | C3FDEB4676E07636892A869F221EE9DA /* YSMContainerView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "YSMContainerView-umbrella.h"; sourceTree = ""; }; 77 | C93C199BF62DB7B76722DB211AAFB744 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 78 | CBFC542EE166E8466124A146FBA39290 /* Pods-YSMContainerView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-YSMContainerView_Example-acknowledgements.plist"; sourceTree = ""; }; 79 | D4F91FF738A11F806EBCDEDD4D3F5BC4 /* Pods-YSMContainerView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-YSMContainerView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 80 | D5E07ECD0E9B65099880C9218FA53F29 /* Pods-YSMContainerView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-YSMContainerView_Example-resources.sh"; sourceTree = ""; }; 81 | D8AAF15BD081F12279EA0079BA046380 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 82 | DFC3834333286A2BE6B962767D5952C4 /* Pods-YSMContainerView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-YSMContainerView_Tests.modulemap"; sourceTree = ""; }; 83 | E4C8F28CB5CA68ED3DB85A67B3A659D7 /* Pods-YSMContainerView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-YSMContainerView_Example-frameworks.sh"; sourceTree = ""; }; 84 | EBCF8796B59CF525B6A7BE2D31C58915 /* Pods-YSMContainerView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-YSMContainerView_Example-dummy.m"; sourceTree = ""; }; 85 | /* End PBXFileReference section */ 86 | 87 | /* Begin PBXFrameworksBuildPhase section */ 88 | 1A1564225D70213F7FBF7076A5DFBD52 /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | 01CD99A2DF54F42F8714148FFE519716 /* Foundation.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | 2C31937B61B8AD8D0164578F4B4EDAA6 /* Frameworks */ = { 97 | isa = PBXFrameworksBuildPhase; 98 | buildActionMask = 2147483647; 99 | files = ( 100 | F23DAE2A477FE195B240E31D5167F981 /* Foundation.framework in Frameworks */, 101 | ); 102 | runOnlyForDeploymentPostprocessing = 0; 103 | }; 104 | 3E822403A72D762A328DB6AAEB150457 /* Frameworks */ = { 105 | isa = PBXFrameworksBuildPhase; 106 | buildActionMask = 2147483647; 107 | files = ( 108 | 6918D9A51B1F02E7E16FB15268CB58FD /* Foundation.framework in Frameworks */, 109 | ); 110 | runOnlyForDeploymentPostprocessing = 0; 111 | }; 112 | /* End PBXFrameworksBuildPhase section */ 113 | 114 | /* Begin PBXGroup section */ 115 | 1AB0A04F7680C638554A1FF24D119F52 /* Products */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 7E934A29458D6AB5814393627D619EE6 /* Pods_YSMContainerView_Example.framework */, 119 | 0DDE42F23BB15BB2ABDDCC48AE3BE8D0 /* Pods_YSMContainerView_Tests.framework */, 120 | 85A675840152C2E854FBE5600D796263 /* YSMContainerView.framework */, 121 | ); 122 | name = Products; 123 | sourceTree = ""; 124 | }; 125 | 2E06C9D6FB55C54A5B24A712CF9666AE /* Development Pods */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | C5749187928FBD9F5BFB4EDD21DEF135 /* YSMContainerView */, 129 | ); 130 | name = "Development Pods"; 131 | sourceTree = ""; 132 | }; 133 | 38364F8FB0A0D7D3B3D6FC0D2019A4ED /* Targets Support Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 92C78779EB7FFDCFD07A8E00E5943297 /* Pods-YSMContainerView_Example */, 137 | 5B2E286DA034255683F7D5FC4364BBA0 /* Pods-YSMContainerView_Tests */, 138 | ); 139 | name = "Targets Support Files"; 140 | sourceTree = ""; 141 | }; 142 | 5321A2D6C92E777B770073B4F9163603 /* Pod */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | C93C199BF62DB7B76722DB211AAFB744 /* LICENSE */, 146 | 564128C74066B3747C6574B2AE5821C8 /* README.md */, 147 | B28971FAD59B5F08AAD068C3312F3DA3 /* YSMContainerView.podspec */, 148 | ); 149 | name = Pod; 150 | sourceTree = ""; 151 | }; 152 | 5B2E286DA034255683F7D5FC4364BBA0 /* Pods-YSMContainerView_Tests */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 79349B1039E581683B13848C70AFAAA1 /* Info.plist */, 156 | DFC3834333286A2BE6B962767D5952C4 /* Pods-YSMContainerView_Tests.modulemap */, 157 | D4F91FF738A11F806EBCDEDD4D3F5BC4 /* Pods-YSMContainerView_Tests-acknowledgements.markdown */, 158 | 8F524A2FAE94C54270F0B7792F43E757 /* Pods-YSMContainerView_Tests-acknowledgements.plist */, 159 | 521E6EEF5CC573417F5D4B3A99E0F7F3 /* Pods-YSMContainerView_Tests-dummy.m */, 160 | AA1A5355051EC61912FDE61715FB98B0 /* Pods-YSMContainerView_Tests-frameworks.sh */, 161 | 3BBCF7F64A6E33856E3305079291E299 /* Pods-YSMContainerView_Tests-resources.sh */, 162 | 04E39BE028E96C52C497BF73831B982F /* Pods-YSMContainerView_Tests-umbrella.h */, 163 | 1794DFB2660FE01FF3F031FE234B0CA5 /* Pods-YSMContainerView_Tests.debug.xcconfig */, 164 | A324764F836DE54BAF5B1A4A0697CD2E /* Pods-YSMContainerView_Tests.release.xcconfig */, 165 | ); 166 | name = "Pods-YSMContainerView_Tests"; 167 | path = "Target Support Files/Pods-YSMContainerView_Tests"; 168 | sourceTree = ""; 169 | }; 170 | 7DB346D0F39D3F0E887471402A8071AB = { 171 | isa = PBXGroup; 172 | children = ( 173 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 174 | 2E06C9D6FB55C54A5B24A712CF9666AE /* Development Pods */, 175 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 176 | 1AB0A04F7680C638554A1FF24D119F52 /* Products */, 177 | 38364F8FB0A0D7D3B3D6FC0D2019A4ED /* Targets Support Files */, 178 | ); 179 | sourceTree = ""; 180 | }; 181 | 92C78779EB7FFDCFD07A8E00E5943297 /* Pods-YSMContainerView_Example */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | D8AAF15BD081F12279EA0079BA046380 /* Info.plist */, 185 | 5474E61F2989E0B74C72FE4AA48D2695 /* Pods-YSMContainerView_Example.modulemap */, 186 | 64B7CF0192F6585C09460AD2A0865464 /* Pods-YSMContainerView_Example-acknowledgements.markdown */, 187 | CBFC542EE166E8466124A146FBA39290 /* Pods-YSMContainerView_Example-acknowledgements.plist */, 188 | EBCF8796B59CF525B6A7BE2D31C58915 /* Pods-YSMContainerView_Example-dummy.m */, 189 | E4C8F28CB5CA68ED3DB85A67B3A659D7 /* Pods-YSMContainerView_Example-frameworks.sh */, 190 | D5E07ECD0E9B65099880C9218FA53F29 /* Pods-YSMContainerView_Example-resources.sh */, 191 | 898A5B4FA9D8E14F6B9F228C16310166 /* Pods-YSMContainerView_Example-umbrella.h */, 192 | 0BA2EEFBAA5451F42EBAB8A07BFDBAD6 /* Pods-YSMContainerView_Example.debug.xcconfig */, 193 | 0F5602DB94ED28AAEF807723466B08F4 /* Pods-YSMContainerView_Example.release.xcconfig */, 194 | ); 195 | name = "Pods-YSMContainerView_Example"; 196 | path = "Target Support Files/Pods-YSMContainerView_Example"; 197 | sourceTree = ""; 198 | }; 199 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 200 | isa = PBXGroup; 201 | children = ( 202 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 203 | ); 204 | name = Frameworks; 205 | sourceTree = ""; 206 | }; 207 | BDA649534832DA8EC810CDDB88BD98D4 /* Support Files */ = { 208 | isa = PBXGroup; 209 | children = ( 210 | B3D6B3C99AC2DEC5EF8E3BBFA3A48A1D /* Info.plist */, 211 | 860929F7DF64033BC5764E6421855DFD /* YSMContainerView.modulemap */, 212 | 6A386289A79AA33E60E6C8FDB0A90E35 /* YSMContainerView.xcconfig */, 213 | 994129F6435BD728A2194FCB966FFA88 /* YSMContainerView-dummy.m */, 214 | 5027785CC407BFF4960336D6AD768E1D /* YSMContainerView-prefix.pch */, 215 | C3FDEB4676E07636892A869F221EE9DA /* YSMContainerView-umbrella.h */, 216 | ); 217 | name = "Support Files"; 218 | path = "Example/Pods/Target Support Files/YSMContainerView"; 219 | sourceTree = ""; 220 | }; 221 | C5749187928FBD9F5BFB4EDD21DEF135 /* YSMContainerView */ = { 222 | isa = PBXGroup; 223 | children = ( 224 | A0BAA6819C032A7E62D0E768E74A5341 /* YSMContainerView.h */, 225 | 38647DB36A4E19E9CE7FC00AEC0A6A20 /* YSMContainerView.m */, 226 | 8FC70E7321A2ADC0009EC1B5 /* YSMHeaderView.h */, 227 | 8FC70E7421A2ADC0009EC1B5 /* YSMHeaderView.m */, 228 | 2034B867B855DF39BAD5FB97892EB276 /* UIView+YSMCategory.h */, 229 | 1B8E93F5519DFDB37E009ADB140132FF /* UIView+YSMCategory.m */, 230 | 5321A2D6C92E777B770073B4F9163603 /* Pod */, 231 | BDA649534832DA8EC810CDDB88BD98D4 /* Support Files */, 232 | ); 233 | name = YSMContainerView; 234 | path = ../..; 235 | sourceTree = ""; 236 | }; 237 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 238 | isa = PBXGroup; 239 | children = ( 240 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 241 | ); 242 | name = iOS; 243 | sourceTree = ""; 244 | }; 245 | /* End PBXGroup section */ 246 | 247 | /* Begin PBXHeadersBuildPhase section */ 248 | 0B14615C33F6B7B1F91F4E096AF5BE10 /* Headers */ = { 249 | isa = PBXHeadersBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | 3FEABE323BC34C5BC37F3C14FF03EB37 /* UIView+YSMCategory.h in Headers */, 253 | 23E5583713121D3DC3E04722514F133A /* YSMContainerView-umbrella.h in Headers */, 254 | 8FC70E7521A2ADC0009EC1B5 /* YSMHeaderView.h in Headers */, 255 | 242F2DB24A8835DAB1C63F11F1A36CA8 /* YSMContainerView.h in Headers */, 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | 9961E8940E14ADA6118ACDD7DAA99100 /* Headers */ = { 260 | isa = PBXHeadersBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | 2F596033A3395D5F775855CE393C2BA8 /* Pods-YSMContainerView_Tests-umbrella.h in Headers */, 264 | ); 265 | runOnlyForDeploymentPostprocessing = 0; 266 | }; 267 | E406E0DBD09A121340409B87352D8EB7 /* Headers */ = { 268 | isa = PBXHeadersBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | BFB9889CB7CF0AFBD9F76EF92057FF9A /* Pods-YSMContainerView_Example-umbrella.h in Headers */, 272 | ); 273 | runOnlyForDeploymentPostprocessing = 0; 274 | }; 275 | /* End PBXHeadersBuildPhase section */ 276 | 277 | /* Begin PBXNativeTarget section */ 278 | 7479894BF308517487D05DA7F0689A51 /* YSMContainerView */ = { 279 | isa = PBXNativeTarget; 280 | buildConfigurationList = 3D9F6B2E5619A3D7A3DC5C880EFEA6E5 /* Build configuration list for PBXNativeTarget "YSMContainerView" */; 281 | buildPhases = ( 282 | F48B03A41D3014016E5CFDFE5612CEDD /* Sources */, 283 | 2C31937B61B8AD8D0164578F4B4EDAA6 /* Frameworks */, 284 | 0B14615C33F6B7B1F91F4E096AF5BE10 /* Headers */, 285 | ); 286 | buildRules = ( 287 | ); 288 | dependencies = ( 289 | ); 290 | name = YSMContainerView; 291 | productName = YSMContainerView; 292 | productReference = 85A675840152C2E854FBE5600D796263 /* YSMContainerView.framework */; 293 | productType = "com.apple.product-type.framework"; 294 | }; 295 | 7AF7A4B5A7A9492B98124DC7C5E3131A /* Pods-YSMContainerView_Example */ = { 296 | isa = PBXNativeTarget; 297 | buildConfigurationList = F150D0F13893EF80C90FDC6F9AE6F046 /* Build configuration list for PBXNativeTarget "Pods-YSMContainerView_Example" */; 298 | buildPhases = ( 299 | B70E67E27D8E49D5BF63D5FE53F15EC9 /* Sources */, 300 | 3E822403A72D762A328DB6AAEB150457 /* Frameworks */, 301 | E406E0DBD09A121340409B87352D8EB7 /* Headers */, 302 | ); 303 | buildRules = ( 304 | ); 305 | dependencies = ( 306 | 0C0ABE868642B5CD036A1A4DD9EA28CC /* PBXTargetDependency */, 307 | ); 308 | name = "Pods-YSMContainerView_Example"; 309 | productName = "Pods-YSMContainerView_Example"; 310 | productReference = 7E934A29458D6AB5814393627D619EE6 /* Pods_YSMContainerView_Example.framework */; 311 | productType = "com.apple.product-type.framework"; 312 | }; 313 | F36EE6A725668D15C2FE08DF12A36C76 /* Pods-YSMContainerView_Tests */ = { 314 | isa = PBXNativeTarget; 315 | buildConfigurationList = 01AB7A5B0D69222ED2B407FE1D8DFEA8 /* Build configuration list for PBXNativeTarget "Pods-YSMContainerView_Tests" */; 316 | buildPhases = ( 317 | 1F6F1C86EA9FDDAC9ACF6ED0EF2C6B5A /* Sources */, 318 | 1A1564225D70213F7FBF7076A5DFBD52 /* Frameworks */, 319 | 9961E8940E14ADA6118ACDD7DAA99100 /* Headers */, 320 | ); 321 | buildRules = ( 322 | ); 323 | dependencies = ( 324 | F5B0CABE5D5640E3FC4DAFDEFB589068 /* PBXTargetDependency */, 325 | ); 326 | name = "Pods-YSMContainerView_Tests"; 327 | productName = "Pods-YSMContainerView_Tests"; 328 | productReference = 0DDE42F23BB15BB2ABDDCC48AE3BE8D0 /* Pods_YSMContainerView_Tests.framework */; 329 | productType = "com.apple.product-type.framework"; 330 | }; 331 | /* End PBXNativeTarget section */ 332 | 333 | /* Begin PBXProject section */ 334 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 335 | isa = PBXProject; 336 | attributes = { 337 | LastSwiftUpdateCheck = 0930; 338 | LastUpgradeCheck = 0930; 339 | }; 340 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 341 | compatibilityVersion = "Xcode 3.2"; 342 | developmentRegion = English; 343 | hasScannedForEncodings = 0; 344 | knownRegions = ( 345 | en, 346 | ); 347 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 348 | productRefGroup = 1AB0A04F7680C638554A1FF24D119F52 /* Products */; 349 | projectDirPath = ""; 350 | projectRoot = ""; 351 | targets = ( 352 | 7AF7A4B5A7A9492B98124DC7C5E3131A /* Pods-YSMContainerView_Example */, 353 | F36EE6A725668D15C2FE08DF12A36C76 /* Pods-YSMContainerView_Tests */, 354 | 7479894BF308517487D05DA7F0689A51 /* YSMContainerView */, 355 | ); 356 | }; 357 | /* End PBXProject section */ 358 | 359 | /* Begin PBXSourcesBuildPhase section */ 360 | 1F6F1C86EA9FDDAC9ACF6ED0EF2C6B5A /* Sources */ = { 361 | isa = PBXSourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | 27331FB07754D9729FADE0B7629B6A42 /* Pods-YSMContainerView_Tests-dummy.m in Sources */, 365 | ); 366 | runOnlyForDeploymentPostprocessing = 0; 367 | }; 368 | B70E67E27D8E49D5BF63D5FE53F15EC9 /* Sources */ = { 369 | isa = PBXSourcesBuildPhase; 370 | buildActionMask = 2147483647; 371 | files = ( 372 | C185ADC6AA1EA6C3DB4DE4CA0EDA97F5 /* Pods-YSMContainerView_Example-dummy.m in Sources */, 373 | ); 374 | runOnlyForDeploymentPostprocessing = 0; 375 | }; 376 | F48B03A41D3014016E5CFDFE5612CEDD /* Sources */ = { 377 | isa = PBXSourcesBuildPhase; 378 | buildActionMask = 2147483647; 379 | files = ( 380 | F0DAD26AEDEB3F399B6E6E20AE5E00F5 /* UIView+YSMCategory.m in Sources */, 381 | F0DED76616B1C0A4490B9DCEB3C24B9D /* YSMContainerView-dummy.m in Sources */, 382 | 92AC3C73A3659D7F98E8006DDC269DC8 /* YSMContainerView.m in Sources */, 383 | 8FC70E7621A2ADC0009EC1B5 /* YSMHeaderView.m in Sources */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | /* End PBXSourcesBuildPhase section */ 388 | 389 | /* Begin PBXTargetDependency section */ 390 | 0C0ABE868642B5CD036A1A4DD9EA28CC /* PBXTargetDependency */ = { 391 | isa = PBXTargetDependency; 392 | name = YSMContainerView; 393 | target = 7479894BF308517487D05DA7F0689A51 /* YSMContainerView */; 394 | targetProxy = FEC64828C84742B625B63F820CD5F672 /* PBXContainerItemProxy */; 395 | }; 396 | F5B0CABE5D5640E3FC4DAFDEFB589068 /* PBXTargetDependency */ = { 397 | isa = PBXTargetDependency; 398 | name = "Pods-YSMContainerView_Example"; 399 | target = 7AF7A4B5A7A9492B98124DC7C5E3131A /* Pods-YSMContainerView_Example */; 400 | targetProxy = A0D98BFDFDDA5409543E28E840419A8B /* PBXContainerItemProxy */; 401 | }; 402 | /* End PBXTargetDependency section */ 403 | 404 | /* Begin XCBuildConfiguration section */ 405 | 6EF12D2D3E861130769AFE1F52400195 /* Release */ = { 406 | isa = XCBuildConfiguration; 407 | baseConfigurationReference = A324764F836DE54BAF5B1A4A0697CD2E /* Pods-YSMContainerView_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-YSMContainerView_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-YSMContainerView_Tests/Pods-YSMContainerView_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 | 70DCECB3C76CFCB5FC02F82F1238ECC0 /* Debug */ = { 440 | isa = XCBuildConfiguration; 441 | baseConfigurationReference = 0BA2EEFBAA5451F42EBAB8A07BFDBAD6 /* Pods-YSMContainerView_Example.debug.xcconfig */; 442 | buildSettings = { 443 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 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 | INFOPLIST_FILE = "Target Support Files/Pods-YSMContainerView_Example/Info.plist"; 454 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 455 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 456 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 457 | MACH_O_TYPE = staticlib; 458 | MODULEMAP_FILE = "Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example.modulemap"; 459 | OTHER_LDFLAGS = ""; 460 | OTHER_LIBTOOLFLAGS = ""; 461 | PODS_ROOT = "$(SRCROOT)"; 462 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 463 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 464 | SDKROOT = iphoneos; 465 | SKIP_INSTALL = YES; 466 | TARGETED_DEVICE_FAMILY = "1,2"; 467 | VERSIONING_SYSTEM = "apple-generic"; 468 | VERSION_INFO_PREFIX = ""; 469 | }; 470 | name = Debug; 471 | }; 472 | 8B33C5230DE4A9DFA6D8F46505DD7AF7 /* Debug */ = { 473 | isa = XCBuildConfiguration; 474 | buildSettings = { 475 | ALWAYS_SEARCH_USER_PATHS = NO; 476 | CLANG_ANALYZER_NONNULL = YES; 477 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 478 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 479 | CLANG_CXX_LIBRARY = "libc++"; 480 | CLANG_ENABLE_MODULES = YES; 481 | CLANG_ENABLE_OBJC_ARC = YES; 482 | CLANG_ENABLE_OBJC_WEAK = YES; 483 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 484 | CLANG_WARN_BOOL_CONVERSION = YES; 485 | CLANG_WARN_COMMA = YES; 486 | CLANG_WARN_CONSTANT_CONVERSION = YES; 487 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 488 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 489 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 490 | CLANG_WARN_EMPTY_BODY = YES; 491 | CLANG_WARN_ENUM_CONVERSION = YES; 492 | CLANG_WARN_INFINITE_RECURSION = YES; 493 | CLANG_WARN_INT_CONVERSION = YES; 494 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 495 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 496 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 497 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 498 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 499 | CLANG_WARN_STRICT_PROTOTYPES = YES; 500 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 501 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 502 | CLANG_WARN_UNREACHABLE_CODE = YES; 503 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 504 | CODE_SIGNING_ALLOWED = NO; 505 | CODE_SIGNING_REQUIRED = NO; 506 | COPY_PHASE_STRIP = NO; 507 | DEBUG_INFORMATION_FORMAT = dwarf; 508 | ENABLE_STRICT_OBJC_MSGSEND = YES; 509 | ENABLE_TESTABILITY = YES; 510 | GCC_C_LANGUAGE_STANDARD = gnu11; 511 | GCC_DYNAMIC_NO_PIC = NO; 512 | GCC_NO_COMMON_BLOCKS = YES; 513 | GCC_OPTIMIZATION_LEVEL = 0; 514 | GCC_PREPROCESSOR_DEFINITIONS = ( 515 | "POD_CONFIGURATION_DEBUG=1", 516 | "DEBUG=1", 517 | "$(inherited)", 518 | ); 519 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 520 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 521 | GCC_WARN_UNDECLARED_SELECTOR = YES; 522 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 523 | GCC_WARN_UNUSED_FUNCTION = YES; 524 | GCC_WARN_UNUSED_VARIABLE = YES; 525 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 526 | MTL_ENABLE_DEBUG_INFO = YES; 527 | ONLY_ACTIVE_ARCH = YES; 528 | PRODUCT_NAME = "$(TARGET_NAME)"; 529 | STRIP_INSTALLED_PRODUCT = NO; 530 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 531 | SYMROOT = "${SRCROOT}/../build"; 532 | }; 533 | name = Debug; 534 | }; 535 | AD31BDCFE906BB5298D0B15CB8EB1088 /* Debug */ = { 536 | isa = XCBuildConfiguration; 537 | baseConfigurationReference = 1794DFB2660FE01FF3F031FE234B0CA5 /* Pods-YSMContainerView_Tests.debug.xcconfig */; 538 | buildSettings = { 539 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 540 | CODE_SIGN_IDENTITY = ""; 541 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 542 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 543 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 544 | CURRENT_PROJECT_VERSION = 1; 545 | DEFINES_MODULE = YES; 546 | DYLIB_COMPATIBILITY_VERSION = 1; 547 | DYLIB_CURRENT_VERSION = 1; 548 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 549 | INFOPLIST_FILE = "Target Support Files/Pods-YSMContainerView_Tests/Info.plist"; 550 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 551 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 552 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 553 | MACH_O_TYPE = staticlib; 554 | MODULEMAP_FILE = "Target Support Files/Pods-YSMContainerView_Tests/Pods-YSMContainerView_Tests.modulemap"; 555 | OTHER_LDFLAGS = ""; 556 | OTHER_LIBTOOLFLAGS = ""; 557 | PODS_ROOT = "$(SRCROOT)"; 558 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 559 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 560 | SDKROOT = iphoneos; 561 | SKIP_INSTALL = YES; 562 | TARGETED_DEVICE_FAMILY = "1,2"; 563 | VERSIONING_SYSTEM = "apple-generic"; 564 | VERSION_INFO_PREFIX = ""; 565 | }; 566 | name = Debug; 567 | }; 568 | AD6E2D310400490C0A8B5FE4EB9EC98B /* Release */ = { 569 | isa = XCBuildConfiguration; 570 | baseConfigurationReference = 0F5602DB94ED28AAEF807723466B08F4 /* Pods-YSMContainerView_Example.release.xcconfig */; 571 | buildSettings = { 572 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 573 | CODE_SIGN_IDENTITY = ""; 574 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 575 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 576 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 577 | CURRENT_PROJECT_VERSION = 1; 578 | DEFINES_MODULE = YES; 579 | DYLIB_COMPATIBILITY_VERSION = 1; 580 | DYLIB_CURRENT_VERSION = 1; 581 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 582 | INFOPLIST_FILE = "Target Support Files/Pods-YSMContainerView_Example/Info.plist"; 583 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 584 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 585 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 586 | MACH_O_TYPE = staticlib; 587 | MODULEMAP_FILE = "Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example.modulemap"; 588 | OTHER_LDFLAGS = ""; 589 | OTHER_LIBTOOLFLAGS = ""; 590 | PODS_ROOT = "$(SRCROOT)"; 591 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 592 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 593 | SDKROOT = iphoneos; 594 | SKIP_INSTALL = YES; 595 | TARGETED_DEVICE_FAMILY = "1,2"; 596 | VALIDATE_PRODUCT = YES; 597 | VERSIONING_SYSTEM = "apple-generic"; 598 | VERSION_INFO_PREFIX = ""; 599 | }; 600 | name = Release; 601 | }; 602 | B42B54097A876E8A982CBF5DAA91B1AB /* Release */ = { 603 | isa = XCBuildConfiguration; 604 | buildSettings = { 605 | ALWAYS_SEARCH_USER_PATHS = NO; 606 | CLANG_ANALYZER_NONNULL = YES; 607 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 608 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 609 | CLANG_CXX_LIBRARY = "libc++"; 610 | CLANG_ENABLE_MODULES = YES; 611 | CLANG_ENABLE_OBJC_ARC = YES; 612 | CLANG_ENABLE_OBJC_WEAK = YES; 613 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 614 | CLANG_WARN_BOOL_CONVERSION = YES; 615 | CLANG_WARN_COMMA = YES; 616 | CLANG_WARN_CONSTANT_CONVERSION = YES; 617 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 618 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 619 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 620 | CLANG_WARN_EMPTY_BODY = YES; 621 | CLANG_WARN_ENUM_CONVERSION = YES; 622 | CLANG_WARN_INFINITE_RECURSION = YES; 623 | CLANG_WARN_INT_CONVERSION = YES; 624 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 625 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 626 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 627 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 628 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 629 | CLANG_WARN_STRICT_PROTOTYPES = YES; 630 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 631 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 632 | CLANG_WARN_UNREACHABLE_CODE = YES; 633 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 634 | CODE_SIGNING_ALLOWED = NO; 635 | CODE_SIGNING_REQUIRED = NO; 636 | COPY_PHASE_STRIP = NO; 637 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 638 | ENABLE_NS_ASSERTIONS = NO; 639 | ENABLE_STRICT_OBJC_MSGSEND = YES; 640 | GCC_C_LANGUAGE_STANDARD = gnu11; 641 | GCC_NO_COMMON_BLOCKS = YES; 642 | GCC_PREPROCESSOR_DEFINITIONS = ( 643 | "POD_CONFIGURATION_RELEASE=1", 644 | "$(inherited)", 645 | ); 646 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 647 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 648 | GCC_WARN_UNDECLARED_SELECTOR = YES; 649 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 650 | GCC_WARN_UNUSED_FUNCTION = YES; 651 | GCC_WARN_UNUSED_VARIABLE = YES; 652 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 653 | MTL_ENABLE_DEBUG_INFO = NO; 654 | PRODUCT_NAME = "$(TARGET_NAME)"; 655 | STRIP_INSTALLED_PRODUCT = NO; 656 | SYMROOT = "${SRCROOT}/../build"; 657 | }; 658 | name = Release; 659 | }; 660 | BA9A94FDC2B833D46C44AEF678D41975 /* Release */ = { 661 | isa = XCBuildConfiguration; 662 | baseConfigurationReference = 6A386289A79AA33E60E6C8FDB0A90E35 /* YSMContainerView.xcconfig */; 663 | buildSettings = { 664 | CODE_SIGN_IDENTITY = ""; 665 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 666 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 667 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 668 | CURRENT_PROJECT_VERSION = 1; 669 | DEFINES_MODULE = YES; 670 | DYLIB_COMPATIBILITY_VERSION = 1; 671 | DYLIB_CURRENT_VERSION = 1; 672 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 673 | GCC_PREFIX_HEADER = "Target Support Files/YSMContainerView/YSMContainerView-prefix.pch"; 674 | INFOPLIST_FILE = "Target Support Files/YSMContainerView/Info.plist"; 675 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 676 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 677 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 678 | MODULEMAP_FILE = "Target Support Files/YSMContainerView/YSMContainerView.modulemap"; 679 | PRODUCT_MODULE_NAME = YSMContainerView; 680 | PRODUCT_NAME = YSMContainerView; 681 | SDKROOT = iphoneos; 682 | SKIP_INSTALL = YES; 683 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 684 | TARGETED_DEVICE_FAMILY = "1,2"; 685 | VALIDATE_PRODUCT = YES; 686 | VERSIONING_SYSTEM = "apple-generic"; 687 | VERSION_INFO_PREFIX = ""; 688 | }; 689 | name = Release; 690 | }; 691 | D261B75975E399A0BEA466ECE781FEA9 /* Debug */ = { 692 | isa = XCBuildConfiguration; 693 | baseConfigurationReference = 6A386289A79AA33E60E6C8FDB0A90E35 /* YSMContainerView.xcconfig */; 694 | buildSettings = { 695 | CODE_SIGN_IDENTITY = ""; 696 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 697 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 698 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 699 | CURRENT_PROJECT_VERSION = 1; 700 | DEFINES_MODULE = YES; 701 | DYLIB_COMPATIBILITY_VERSION = 1; 702 | DYLIB_CURRENT_VERSION = 1; 703 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 704 | GCC_PREFIX_HEADER = "Target Support Files/YSMContainerView/YSMContainerView-prefix.pch"; 705 | INFOPLIST_FILE = "Target Support Files/YSMContainerView/Info.plist"; 706 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 707 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 708 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 709 | MODULEMAP_FILE = "Target Support Files/YSMContainerView/YSMContainerView.modulemap"; 710 | PRODUCT_MODULE_NAME = YSMContainerView; 711 | PRODUCT_NAME = YSMContainerView; 712 | SDKROOT = iphoneos; 713 | SKIP_INSTALL = YES; 714 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 715 | TARGETED_DEVICE_FAMILY = "1,2"; 716 | VERSIONING_SYSTEM = "apple-generic"; 717 | VERSION_INFO_PREFIX = ""; 718 | }; 719 | name = Debug; 720 | }; 721 | /* End XCBuildConfiguration section */ 722 | 723 | /* Begin XCConfigurationList section */ 724 | 01AB7A5B0D69222ED2B407FE1D8DFEA8 /* Build configuration list for PBXNativeTarget "Pods-YSMContainerView_Tests" */ = { 725 | isa = XCConfigurationList; 726 | buildConfigurations = ( 727 | AD31BDCFE906BB5298D0B15CB8EB1088 /* Debug */, 728 | 6EF12D2D3E861130769AFE1F52400195 /* Release */, 729 | ); 730 | defaultConfigurationIsVisible = 0; 731 | defaultConfigurationName = Release; 732 | }; 733 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 734 | isa = XCConfigurationList; 735 | buildConfigurations = ( 736 | 8B33C5230DE4A9DFA6D8F46505DD7AF7 /* Debug */, 737 | B42B54097A876E8A982CBF5DAA91B1AB /* Release */, 738 | ); 739 | defaultConfigurationIsVisible = 0; 740 | defaultConfigurationName = Release; 741 | }; 742 | 3D9F6B2E5619A3D7A3DC5C880EFEA6E5 /* Build configuration list for PBXNativeTarget "YSMContainerView" */ = { 743 | isa = XCConfigurationList; 744 | buildConfigurations = ( 745 | D261B75975E399A0BEA466ECE781FEA9 /* Debug */, 746 | BA9A94FDC2B833D46C44AEF678D41975 /* Release */, 747 | ); 748 | defaultConfigurationIsVisible = 0; 749 | defaultConfigurationName = Release; 750 | }; 751 | F150D0F13893EF80C90FDC6F9AE6F046 /* Build configuration list for PBXNativeTarget "Pods-YSMContainerView_Example" */ = { 752 | isa = XCConfigurationList; 753 | buildConfigurations = ( 754 | 70DCECB3C76CFCB5FC02F82F1238ECC0 /* Debug */, 755 | AD6E2D310400490C0A8B5FE4EB9EC98B /* Release */, 756 | ); 757 | defaultConfigurationIsVisible = 0; 758 | defaultConfigurationName = Release; 759 | }; 760 | /* End XCConfigurationList section */ 761 | }; 762 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 763 | } 764 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/duanzengguang.xcuserdatad/xcschemes/Pods-YSMContainerView_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/duanzengguang.xcuserdatad/xcschemes/Pods-YSMContainerView_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/duanzengguang.xcuserdatad/xcschemes/YSMContainerView.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/duanzengguang.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-YSMContainerView_Example.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-YSMContainerView_Tests.xcscheme 13 | 14 | isShown 15 | 16 | 17 | YSMContainerView.xcscheme 18 | 19 | isShown 20 | 21 | 22 | 23 | SuppressBuildableAutocreation 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_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-YSMContainerView_Example/Pods-YSMContainerView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## YSMContainerView 5 | 6 | Copyright (c) 2018 yisimeng <465386131@qq.com> 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-YSMContainerView_Example/Pods-YSMContainerView_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 yisimeng <465386131@qq.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | YSMContainerView 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-YSMContainerView_Example/Pods-YSMContainerView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_YSMContainerView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_YSMContainerView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_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}/YSMContainerView/YSMContainerView.framework" 147 | fi 148 | if [[ "$CONFIGURATION" == "Release" ]]; then 149 | install_framework "${BUILT_PRODUCTS_DIR}/YSMContainerView/YSMContainerView.framework" 150 | fi 151 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 152 | wait 153 | fi 154 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_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_BUILD_DIR}/assetcatalog_generated_info.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_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_YSMContainerView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_YSMContainerView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/YSMContainerView" 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}/YSMContainerView/YSMContainerView.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "YSMContainerView" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_YSMContainerView_Example { 2 | umbrella header "Pods-YSMContainerView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/YSMContainerView" 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}/YSMContainerView/YSMContainerView.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "YSMContainerView" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_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-YSMContainerView_Tests/Pods-YSMContainerView_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-YSMContainerView_Tests/Pods-YSMContainerView_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-YSMContainerView_Tests/Pods-YSMContainerView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_YSMContainerView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_YSMContainerView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Tests/Pods-YSMContainerView_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-YSMContainerView_Tests/Pods-YSMContainerView_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_BUILD_DIR}/assetcatalog_generated_info.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Tests/Pods-YSMContainerView_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_YSMContainerView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_YSMContainerView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Tests/Pods-YSMContainerView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/YSMContainerView" 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}/YSMContainerView/YSMContainerView.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-YSMContainerView_Tests/Pods-YSMContainerView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_YSMContainerView_Tests { 2 | umbrella header "Pods-YSMContainerView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-YSMContainerView_Tests/Pods-YSMContainerView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/YSMContainerView" 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}/YSMContainerView/YSMContainerView.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/YSMContainerView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/YSMContainerView/YSMContainerView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_YSMContainerView : NSObject 3 | @end 4 | @implementation PodsDummy_YSMContainerView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/YSMContainerView/YSMContainerView-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/YSMContainerView/YSMContainerView-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 | #import "UIView+YSMCategory.h" 14 | #import "YSMContainerView.h" 15 | 16 | FOUNDATION_EXPORT double YSMContainerViewVersionNumber; 17 | FOUNDATION_EXPORT const unsigned char YSMContainerViewVersionString[]; 18 | 19 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/YSMContainerView/YSMContainerView.modulemap: -------------------------------------------------------------------------------- 1 | framework module YSMContainerView { 2 | umbrella header "YSMContainerView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/YSMContainerView/YSMContainerView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/YSMContainerView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | PODS_BUILD_DIR = ${BUILD_DIR} 4 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 5 | PODS_ROOT = ${SRCROOT} 6 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 7 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 8 | SKIP_INSTALL = YES 9 | -------------------------------------------------------------------------------- /Example/Tests/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 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMContainerViewTests.m 3 | // YSMContainerViewTests 4 | // 5 | // Created by yisimeng on 11/14/2018. 6 | // Copyright (c) 2018 yisimeng. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/YSMContainerView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 048B0BF819366630D12B219C /* Pods_YSMContainerView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A660C2BC12D86BD2AEE75EE /* Pods_YSMContainerView_Example.framework */; }; 11 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 12 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 13 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 14 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 15 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 16 | 6003F59E195388D20070C39A /* YSMAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* YSMAppDelegate.m */; }; 17 | 6003F5A7195388D20070C39A /* YSMViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* YSMViewController.m */; }; 18 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 19 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 20 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 21 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 22 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 23 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 24 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 25 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 26 | 8F4E64F6219C36D300AEDE49 /* YSMTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F4E64F5219C36D300AEDE49 /* YSMTableViewController.m */; }; 27 | 8F4E64F9219D5E6C00AEDE49 /* YSMTableViewController1.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F4E64F8219D5E6C00AEDE49 /* YSMTableViewController1.m */; }; 28 | 8F4E64FC219D708300AEDE49 /* YSMCollectionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F4E64FB219D708300AEDE49 /* YSMCollectionViewController.m */; }; 29 | 8F55E8A924209C1F00184963 /* YSMMenusViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F55E8A824209C1F00184963 /* YSMMenusViewController.m */; }; 30 | A87FB4CEA5E0B528FAA83555 /* Pods_YSMContainerView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2554547A206913D46B7C7184 /* Pods_YSMContainerView_Tests.framework */; }; 31 | /* End PBXBuildFile section */ 32 | 33 | /* Begin PBXContainerItemProxy section */ 34 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 35 | isa = PBXContainerItemProxy; 36 | containerPortal = 6003F582195388D10070C39A /* Project object */; 37 | proxyType = 1; 38 | remoteGlobalIDString = 6003F589195388D20070C39A; 39 | remoteInfo = YSMContainerView; 40 | }; 41 | /* End PBXContainerItemProxy section */ 42 | 43 | /* Begin PBXFileReference section */ 44 | 1026D6985D1F3FDFF544AF58 /* YSMContainerView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = YSMContainerView.podspec; path = ../YSMContainerView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 45 | 2554547A206913D46B7C7184 /* Pods_YSMContainerView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_YSMContainerView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 2CA318142C96F3306DCAAD61 /* Pods-YSMContainerView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YSMContainerView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-YSMContainerView_Tests/Pods-YSMContainerView_Tests.release.xcconfig"; sourceTree = ""; }; 47 | 3BC1A08C9149076515D49421 /* Pods-YSMContainerView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YSMContainerView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-YSMContainerView_Tests/Pods-YSMContainerView_Tests.debug.xcconfig"; sourceTree = ""; }; 48 | 5A660C2BC12D86BD2AEE75EE /* Pods_YSMContainerView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_YSMContainerView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 6003F58A195388D20070C39A /* YSMContainerView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YSMContainerView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 51 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 52 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 53 | 6003F595195388D20070C39A /* YSMContainerView-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "YSMContainerView-Info.plist"; sourceTree = ""; }; 54 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 55 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 56 | 6003F59B195388D20070C39A /* YSMContainerView-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "YSMContainerView-Prefix.pch"; sourceTree = ""; }; 57 | 6003F59C195388D20070C39A /* YSMAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YSMAppDelegate.h; sourceTree = ""; }; 58 | 6003F59D195388D20070C39A /* YSMAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YSMAppDelegate.m; sourceTree = ""; }; 59 | 6003F5A5195388D20070C39A /* YSMViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YSMViewController.h; sourceTree = ""; }; 60 | 6003F5A6195388D20070C39A /* YSMViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YSMViewController.m; sourceTree = ""; }; 61 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 62 | 6003F5AE195388D20070C39A /* YSMContainerView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YSMContainerView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 64 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 65 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 66 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 67 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 68 | 6EAF1788845CF1A2F84804B7 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 69 | 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 70 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 71 | 8F4E64F4219C36D300AEDE49 /* YSMTableViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YSMTableViewController.h; sourceTree = ""; }; 72 | 8F4E64F5219C36D300AEDE49 /* YSMTableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YSMTableViewController.m; sourceTree = ""; }; 73 | 8F4E64F7219D5E6C00AEDE49 /* YSMTableViewController1.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YSMTableViewController1.h; sourceTree = ""; }; 74 | 8F4E64F8219D5E6C00AEDE49 /* YSMTableViewController1.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YSMTableViewController1.m; sourceTree = ""; }; 75 | 8F4E64FA219D708300AEDE49 /* YSMCollectionViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YSMCollectionViewController.h; sourceTree = ""; }; 76 | 8F4E64FB219D708300AEDE49 /* YSMCollectionViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YSMCollectionViewController.m; sourceTree = ""; }; 77 | 8F55E8A724209C1F00184963 /* YSMMenusViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YSMMenusViewController.h; sourceTree = ""; }; 78 | 8F55E8A824209C1F00184963 /* YSMMenusViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YSMMenusViewController.m; sourceTree = ""; }; 79 | B62491597C8760D1249B2953 /* Pods-YSMContainerView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YSMContainerView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example.release.xcconfig"; sourceTree = ""; }; 80 | F5EA809BD0266A8714F813F6 /* Pods-YSMContainerView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YSMContainerView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example.debug.xcconfig"; sourceTree = ""; }; 81 | FE492D609E73403F93466F38 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 82 | /* End PBXFileReference section */ 83 | 84 | /* Begin PBXFrameworksBuildPhase section */ 85 | 6003F587195388D20070C39A /* Frameworks */ = { 86 | isa = PBXFrameworksBuildPhase; 87 | buildActionMask = 2147483647; 88 | files = ( 89 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 90 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 91 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 92 | 048B0BF819366630D12B219C /* Pods_YSMContainerView_Example.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | 6003F5AB195388D20070C39A /* Frameworks */ = { 97 | isa = PBXFrameworksBuildPhase; 98 | buildActionMask = 2147483647; 99 | files = ( 100 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 101 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 102 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 103 | A87FB4CEA5E0B528FAA83555 /* Pods_YSMContainerView_Tests.framework in Frameworks */, 104 | ); 105 | runOnlyForDeploymentPostprocessing = 0; 106 | }; 107 | /* End PBXFrameworksBuildPhase section */ 108 | 109 | /* Begin PBXGroup section */ 110 | 1A6FED1ECD3F6F7EAF124506 /* Pods */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | F5EA809BD0266A8714F813F6 /* Pods-YSMContainerView_Example.debug.xcconfig */, 114 | B62491597C8760D1249B2953 /* Pods-YSMContainerView_Example.release.xcconfig */, 115 | 3BC1A08C9149076515D49421 /* Pods-YSMContainerView_Tests.debug.xcconfig */, 116 | 2CA318142C96F3306DCAAD61 /* Pods-YSMContainerView_Tests.release.xcconfig */, 117 | ); 118 | name = Pods; 119 | sourceTree = ""; 120 | }; 121 | 6003F581195388D10070C39A = { 122 | isa = PBXGroup; 123 | children = ( 124 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 125 | 6003F593195388D20070C39A /* Example for YSMContainerView */, 126 | 6003F5B5195388D20070C39A /* Tests */, 127 | 6003F58C195388D20070C39A /* Frameworks */, 128 | 6003F58B195388D20070C39A /* Products */, 129 | 1A6FED1ECD3F6F7EAF124506 /* Pods */, 130 | ); 131 | sourceTree = ""; 132 | }; 133 | 6003F58B195388D20070C39A /* Products */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 6003F58A195388D20070C39A /* YSMContainerView_Example.app */, 137 | 6003F5AE195388D20070C39A /* YSMContainerView_Tests.xctest */, 138 | ); 139 | name = Products; 140 | sourceTree = ""; 141 | }; 142 | 6003F58C195388D20070C39A /* Frameworks */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 6003F58D195388D20070C39A /* Foundation.framework */, 146 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 147 | 6003F591195388D20070C39A /* UIKit.framework */, 148 | 6003F5AF195388D20070C39A /* XCTest.framework */, 149 | 5A660C2BC12D86BD2AEE75EE /* Pods_YSMContainerView_Example.framework */, 150 | 2554547A206913D46B7C7184 /* Pods_YSMContainerView_Tests.framework */, 151 | ); 152 | name = Frameworks; 153 | sourceTree = ""; 154 | }; 155 | 6003F593195388D20070C39A /* Example for YSMContainerView */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | 6003F59C195388D20070C39A /* YSMAppDelegate.h */, 159 | 6003F59D195388D20070C39A /* YSMAppDelegate.m */, 160 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 161 | 6003F5A5195388D20070C39A /* YSMViewController.h */, 162 | 6003F5A6195388D20070C39A /* YSMViewController.m */, 163 | 8F4E64F4219C36D300AEDE49 /* YSMTableViewController.h */, 164 | 8F4E64F5219C36D300AEDE49 /* YSMTableViewController.m */, 165 | 8F55E8A724209C1F00184963 /* YSMMenusViewController.h */, 166 | 8F55E8A824209C1F00184963 /* YSMMenusViewController.m */, 167 | 8F4E64F7219D5E6C00AEDE49 /* YSMTableViewController1.h */, 168 | 8F4E64F8219D5E6C00AEDE49 /* YSMTableViewController1.m */, 169 | 8F4E64FA219D708300AEDE49 /* YSMCollectionViewController.h */, 170 | 8F4E64FB219D708300AEDE49 /* YSMCollectionViewController.m */, 171 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, 172 | 6003F5A8195388D20070C39A /* Images.xcassets */, 173 | 6003F594195388D20070C39A /* Supporting Files */, 174 | ); 175 | name = "Example for YSMContainerView"; 176 | path = YSMContainerView; 177 | sourceTree = ""; 178 | }; 179 | 6003F594195388D20070C39A /* Supporting Files */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 6003F595195388D20070C39A /* YSMContainerView-Info.plist */, 183 | 6003F596195388D20070C39A /* InfoPlist.strings */, 184 | 6003F599195388D20070C39A /* main.m */, 185 | 6003F59B195388D20070C39A /* YSMContainerView-Prefix.pch */, 186 | ); 187 | name = "Supporting Files"; 188 | sourceTree = ""; 189 | }; 190 | 6003F5B5195388D20070C39A /* Tests */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | 6003F5BB195388D20070C39A /* Tests.m */, 194 | 6003F5B6195388D20070C39A /* Supporting Files */, 195 | ); 196 | path = Tests; 197 | sourceTree = ""; 198 | }; 199 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 200 | isa = PBXGroup; 201 | children = ( 202 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 203 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 204 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 205 | ); 206 | name = "Supporting Files"; 207 | sourceTree = ""; 208 | }; 209 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 210 | isa = PBXGroup; 211 | children = ( 212 | 1026D6985D1F3FDFF544AF58 /* YSMContainerView.podspec */, 213 | 6EAF1788845CF1A2F84804B7 /* README.md */, 214 | FE492D609E73403F93466F38 /* LICENSE */, 215 | ); 216 | name = "Podspec Metadata"; 217 | sourceTree = ""; 218 | }; 219 | /* End PBXGroup section */ 220 | 221 | /* Begin PBXNativeTarget section */ 222 | 6003F589195388D20070C39A /* YSMContainerView_Example */ = { 223 | isa = PBXNativeTarget; 224 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "YSMContainerView_Example" */; 225 | buildPhases = ( 226 | FAB7CB8D634A25BBF81D91D7 /* [CP] Check Pods Manifest.lock */, 227 | 6003F586195388D20070C39A /* Sources */, 228 | 6003F587195388D20070C39A /* Frameworks */, 229 | 6003F588195388D20070C39A /* Resources */, 230 | FD11973C193662572E974223 /* [CP] Embed Pods Frameworks */, 231 | ); 232 | buildRules = ( 233 | ); 234 | dependencies = ( 235 | ); 236 | name = YSMContainerView_Example; 237 | productName = YSMContainerView; 238 | productReference = 6003F58A195388D20070C39A /* YSMContainerView_Example.app */; 239 | productType = "com.apple.product-type.application"; 240 | }; 241 | 6003F5AD195388D20070C39A /* YSMContainerView_Tests */ = { 242 | isa = PBXNativeTarget; 243 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "YSMContainerView_Tests" */; 244 | buildPhases = ( 245 | 50A48FA6AB538270F0EFDB6F /* [CP] Check Pods Manifest.lock */, 246 | 6003F5AA195388D20070C39A /* Sources */, 247 | 6003F5AB195388D20070C39A /* Frameworks */, 248 | 6003F5AC195388D20070C39A /* Resources */, 249 | ); 250 | buildRules = ( 251 | ); 252 | dependencies = ( 253 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 254 | ); 255 | name = YSMContainerView_Tests; 256 | productName = YSMContainerViewTests; 257 | productReference = 6003F5AE195388D20070C39A /* YSMContainerView_Tests.xctest */; 258 | productType = "com.apple.product-type.bundle.unit-test"; 259 | }; 260 | /* End PBXNativeTarget section */ 261 | 262 | /* Begin PBXProject section */ 263 | 6003F582195388D10070C39A /* Project object */ = { 264 | isa = PBXProject; 265 | attributes = { 266 | CLASSPREFIX = YSM; 267 | LastUpgradeCheck = 0720; 268 | ORGANIZATIONNAME = yisimeng; 269 | TargetAttributes = { 270 | 6003F5AD195388D20070C39A = { 271 | TestTargetID = 6003F589195388D20070C39A; 272 | }; 273 | }; 274 | }; 275 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "YSMContainerView" */; 276 | compatibilityVersion = "Xcode 3.2"; 277 | developmentRegion = English; 278 | hasScannedForEncodings = 0; 279 | knownRegions = ( 280 | English, 281 | en, 282 | Base, 283 | ); 284 | mainGroup = 6003F581195388D10070C39A; 285 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 286 | projectDirPath = ""; 287 | projectRoot = ""; 288 | targets = ( 289 | 6003F589195388D20070C39A /* YSMContainerView_Example */, 290 | 6003F5AD195388D20070C39A /* YSMContainerView_Tests */, 291 | ); 292 | }; 293 | /* End PBXProject section */ 294 | 295 | /* Begin PBXResourcesBuildPhase section */ 296 | 6003F588195388D20070C39A /* Resources */ = { 297 | isa = PBXResourcesBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 301 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, 302 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 303 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | }; 307 | 6003F5AC195388D20070C39A /* Resources */ = { 308 | isa = PBXResourcesBuildPhase; 309 | buildActionMask = 2147483647; 310 | files = ( 311 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 312 | ); 313 | runOnlyForDeploymentPostprocessing = 0; 314 | }; 315 | /* End PBXResourcesBuildPhase section */ 316 | 317 | /* Begin PBXShellScriptBuildPhase section */ 318 | 50A48FA6AB538270F0EFDB6F /* [CP] Check Pods Manifest.lock */ = { 319 | isa = PBXShellScriptBuildPhase; 320 | buildActionMask = 2147483647; 321 | files = ( 322 | ); 323 | inputPaths = ( 324 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 325 | "${PODS_ROOT}/Manifest.lock", 326 | ); 327 | name = "[CP] Check Pods Manifest.lock"; 328 | outputPaths = ( 329 | "$(DERIVED_FILE_DIR)/Pods-YSMContainerView_Tests-checkManifestLockResult.txt", 330 | ); 331 | runOnlyForDeploymentPostprocessing = 0; 332 | shellPath = /bin/sh; 333 | 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"; 334 | showEnvVarsInLog = 0; 335 | }; 336 | FAB7CB8D634A25BBF81D91D7 /* [CP] Check Pods Manifest.lock */ = { 337 | isa = PBXShellScriptBuildPhase; 338 | buildActionMask = 2147483647; 339 | files = ( 340 | ); 341 | inputPaths = ( 342 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 343 | "${PODS_ROOT}/Manifest.lock", 344 | ); 345 | name = "[CP] Check Pods Manifest.lock"; 346 | outputPaths = ( 347 | "$(DERIVED_FILE_DIR)/Pods-YSMContainerView_Example-checkManifestLockResult.txt", 348 | ); 349 | runOnlyForDeploymentPostprocessing = 0; 350 | shellPath = /bin/sh; 351 | 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"; 352 | showEnvVarsInLog = 0; 353 | }; 354 | FD11973C193662572E974223 /* [CP] Embed Pods Frameworks */ = { 355 | isa = PBXShellScriptBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | ); 359 | inputPaths = ( 360 | "${SRCROOT}/Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example-frameworks.sh", 361 | "${BUILT_PRODUCTS_DIR}/YSMContainerView/YSMContainerView.framework", 362 | ); 363 | name = "[CP] Embed Pods Frameworks"; 364 | outputPaths = ( 365 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YSMContainerView.framework", 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | shellPath = /bin/sh; 369 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YSMContainerView_Example/Pods-YSMContainerView_Example-frameworks.sh\"\n"; 370 | showEnvVarsInLog = 0; 371 | }; 372 | /* End PBXShellScriptBuildPhase section */ 373 | 374 | /* Begin PBXSourcesBuildPhase section */ 375 | 6003F586195388D20070C39A /* Sources */ = { 376 | isa = PBXSourcesBuildPhase; 377 | buildActionMask = 2147483647; 378 | files = ( 379 | 8F4E64FC219D708300AEDE49 /* YSMCollectionViewController.m in Sources */, 380 | 6003F59E195388D20070C39A /* YSMAppDelegate.m in Sources */, 381 | 8F4E64F9219D5E6C00AEDE49 /* YSMTableViewController1.m in Sources */, 382 | 6003F5A7195388D20070C39A /* YSMViewController.m in Sources */, 383 | 8F55E8A924209C1F00184963 /* YSMMenusViewController.m in Sources */, 384 | 6003F59A195388D20070C39A /* main.m in Sources */, 385 | 8F4E64F6219C36D300AEDE49 /* YSMTableViewController.m in Sources */, 386 | ); 387 | runOnlyForDeploymentPostprocessing = 0; 388 | }; 389 | 6003F5AA195388D20070C39A /* Sources */ = { 390 | isa = PBXSourcesBuildPhase; 391 | buildActionMask = 2147483647; 392 | files = ( 393 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 394 | ); 395 | runOnlyForDeploymentPostprocessing = 0; 396 | }; 397 | /* End PBXSourcesBuildPhase section */ 398 | 399 | /* Begin PBXTargetDependency section */ 400 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 401 | isa = PBXTargetDependency; 402 | target = 6003F589195388D20070C39A /* YSMContainerView_Example */; 403 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 404 | }; 405 | /* End PBXTargetDependency section */ 406 | 407 | /* Begin PBXVariantGroup section */ 408 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 409 | isa = PBXVariantGroup; 410 | children = ( 411 | 6003F597195388D20070C39A /* en */, 412 | ); 413 | name = InfoPlist.strings; 414 | sourceTree = ""; 415 | }; 416 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 417 | isa = PBXVariantGroup; 418 | children = ( 419 | 6003F5B9195388D20070C39A /* en */, 420 | ); 421 | name = InfoPlist.strings; 422 | sourceTree = ""; 423 | }; 424 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { 425 | isa = PBXVariantGroup; 426 | children = ( 427 | 71719F9E1E33DC2100824A3D /* Base */, 428 | ); 429 | name = LaunchScreen.storyboard; 430 | sourceTree = ""; 431 | }; 432 | /* End PBXVariantGroup section */ 433 | 434 | /* Begin XCBuildConfiguration section */ 435 | 6003F5BD195388D20070C39A /* Debug */ = { 436 | isa = XCBuildConfiguration; 437 | buildSettings = { 438 | ALWAYS_SEARCH_USER_PATHS = NO; 439 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 440 | CLANG_CXX_LIBRARY = "libc++"; 441 | CLANG_ENABLE_MODULES = YES; 442 | CLANG_ENABLE_OBJC_ARC = YES; 443 | CLANG_WARN_BOOL_CONVERSION = YES; 444 | CLANG_WARN_CONSTANT_CONVERSION = YES; 445 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 446 | CLANG_WARN_EMPTY_BODY = YES; 447 | CLANG_WARN_ENUM_CONVERSION = YES; 448 | CLANG_WARN_INT_CONVERSION = YES; 449 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 450 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 451 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 452 | COPY_PHASE_STRIP = NO; 453 | ENABLE_TESTABILITY = YES; 454 | GCC_C_LANGUAGE_STANDARD = gnu99; 455 | GCC_DYNAMIC_NO_PIC = NO; 456 | GCC_OPTIMIZATION_LEVEL = 0; 457 | GCC_PREPROCESSOR_DEFINITIONS = ( 458 | "DEBUG=1", 459 | "$(inherited)", 460 | ); 461 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 462 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 463 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 464 | GCC_WARN_UNDECLARED_SELECTOR = YES; 465 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 466 | GCC_WARN_UNUSED_FUNCTION = YES; 467 | GCC_WARN_UNUSED_VARIABLE = YES; 468 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 469 | ONLY_ACTIVE_ARCH = YES; 470 | SDKROOT = iphoneos; 471 | TARGETED_DEVICE_FAMILY = "1,2"; 472 | }; 473 | name = Debug; 474 | }; 475 | 6003F5BE195388D20070C39A /* Release */ = { 476 | isa = XCBuildConfiguration; 477 | buildSettings = { 478 | ALWAYS_SEARCH_USER_PATHS = NO; 479 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 480 | CLANG_CXX_LIBRARY = "libc++"; 481 | CLANG_ENABLE_MODULES = YES; 482 | CLANG_ENABLE_OBJC_ARC = YES; 483 | CLANG_WARN_BOOL_CONVERSION = YES; 484 | CLANG_WARN_CONSTANT_CONVERSION = YES; 485 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 486 | CLANG_WARN_EMPTY_BODY = YES; 487 | CLANG_WARN_ENUM_CONVERSION = YES; 488 | CLANG_WARN_INT_CONVERSION = YES; 489 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 490 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 491 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 492 | COPY_PHASE_STRIP = YES; 493 | ENABLE_NS_ASSERTIONS = NO; 494 | GCC_C_LANGUAGE_STANDARD = gnu99; 495 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 496 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 497 | GCC_WARN_UNDECLARED_SELECTOR = YES; 498 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 499 | GCC_WARN_UNUSED_FUNCTION = YES; 500 | GCC_WARN_UNUSED_VARIABLE = YES; 501 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 502 | SDKROOT = iphoneos; 503 | TARGETED_DEVICE_FAMILY = "1,2"; 504 | VALIDATE_PRODUCT = YES; 505 | }; 506 | name = Release; 507 | }; 508 | 6003F5C0195388D20070C39A /* Debug */ = { 509 | isa = XCBuildConfiguration; 510 | baseConfigurationReference = F5EA809BD0266A8714F813F6 /* Pods-YSMContainerView_Example.debug.xcconfig */; 511 | buildSettings = { 512 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 513 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 514 | GCC_PREFIX_HEADER = "YSMContainerView/YSMContainerView-Prefix.pch"; 515 | INFOPLIST_FILE = "YSMContainerView/YSMContainerView-Info.plist"; 516 | MODULE_NAME = ExampleApp; 517 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 518 | PRODUCT_NAME = "$(TARGET_NAME)"; 519 | WRAPPER_EXTENSION = app; 520 | }; 521 | name = Debug; 522 | }; 523 | 6003F5C1195388D20070C39A /* Release */ = { 524 | isa = XCBuildConfiguration; 525 | baseConfigurationReference = B62491597C8760D1249B2953 /* Pods-YSMContainerView_Example.release.xcconfig */; 526 | buildSettings = { 527 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 528 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 529 | GCC_PREFIX_HEADER = "YSMContainerView/YSMContainerView-Prefix.pch"; 530 | INFOPLIST_FILE = "YSMContainerView/YSMContainerView-Info.plist"; 531 | MODULE_NAME = ExampleApp; 532 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 533 | PRODUCT_NAME = "$(TARGET_NAME)"; 534 | WRAPPER_EXTENSION = app; 535 | }; 536 | name = Release; 537 | }; 538 | 6003F5C3195388D20070C39A /* Debug */ = { 539 | isa = XCBuildConfiguration; 540 | baseConfigurationReference = 3BC1A08C9149076515D49421 /* Pods-YSMContainerView_Tests.debug.xcconfig */; 541 | buildSettings = { 542 | BUNDLE_LOADER = "$(TEST_HOST)"; 543 | FRAMEWORK_SEARCH_PATHS = ( 544 | "$(SDKROOT)/Developer/Library/Frameworks", 545 | "$(inherited)", 546 | "$(DEVELOPER_FRAMEWORKS_DIR)", 547 | ); 548 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 549 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 550 | GCC_PREPROCESSOR_DEFINITIONS = ( 551 | "DEBUG=1", 552 | "$(inherited)", 553 | ); 554 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 555 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 556 | PRODUCT_NAME = "$(TARGET_NAME)"; 557 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YSMContainerView_Example.app/YSMContainerView_Example"; 558 | WRAPPER_EXTENSION = xctest; 559 | }; 560 | name = Debug; 561 | }; 562 | 6003F5C4195388D20070C39A /* Release */ = { 563 | isa = XCBuildConfiguration; 564 | baseConfigurationReference = 2CA318142C96F3306DCAAD61 /* Pods-YSMContainerView_Tests.release.xcconfig */; 565 | buildSettings = { 566 | BUNDLE_LOADER = "$(TEST_HOST)"; 567 | FRAMEWORK_SEARCH_PATHS = ( 568 | "$(SDKROOT)/Developer/Library/Frameworks", 569 | "$(inherited)", 570 | "$(DEVELOPER_FRAMEWORKS_DIR)", 571 | ); 572 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 573 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 574 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 575 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 576 | PRODUCT_NAME = "$(TARGET_NAME)"; 577 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YSMContainerView_Example.app/YSMContainerView_Example"; 578 | WRAPPER_EXTENSION = xctest; 579 | }; 580 | name = Release; 581 | }; 582 | /* End XCBuildConfiguration section */ 583 | 584 | /* Begin XCConfigurationList section */ 585 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "YSMContainerView" */ = { 586 | isa = XCConfigurationList; 587 | buildConfigurations = ( 588 | 6003F5BD195388D20070C39A /* Debug */, 589 | 6003F5BE195388D20070C39A /* Release */, 590 | ); 591 | defaultConfigurationIsVisible = 0; 592 | defaultConfigurationName = Release; 593 | }; 594 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "YSMContainerView_Example" */ = { 595 | isa = XCConfigurationList; 596 | buildConfigurations = ( 597 | 6003F5C0195388D20070C39A /* Debug */, 598 | 6003F5C1195388D20070C39A /* Release */, 599 | ); 600 | defaultConfigurationIsVisible = 0; 601 | defaultConfigurationName = Release; 602 | }; 603 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "YSMContainerView_Tests" */ = { 604 | isa = XCConfigurationList; 605 | buildConfigurations = ( 606 | 6003F5C3195388D20070C39A /* Debug */, 607 | 6003F5C4195388D20070C39A /* Release */, 608 | ); 609 | defaultConfigurationIsVisible = 0; 610 | defaultConfigurationName = Release; 611 | }; 612 | /* End XCConfigurationList section */ 613 | }; 614 | rootObject = 6003F582195388D10070C39A /* Project object */; 615 | } 616 | -------------------------------------------------------------------------------- /Example/YSMContainerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/YSMContainerView.xcodeproj/xcshareddata/xcschemes/YSMContainerView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Example/YSMContainerView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/YSMContainerView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/YSMContainerView.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildSystemType 6 | Original 7 | PreviewsEnabled 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/YSMContainerView.xcworkspace/xcuserdata/duanzengguang.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/Example/YSMContainerView.xcworkspace/xcuserdata/duanzengguang.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/YSMContainerView.xcworkspace/xcuserdata/duanzengguang.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseAppPreferences 7 | CustomBuildLocationType 8 | RelativeToDerivedData 9 | DerivedDataLocationStyle 10 | Default 11 | IssueFilterStyle 12 | ShowActiveSchemeOnly 13 | LiveSourceIssuesEnabled 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Example/YSMContainerView.xcworkspace/xcuserdata/duanzengguang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 9 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Example/YSMContainerView/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/Example/YSMContainerView/.DS_Store -------------------------------------------------------------------------------- /Example/YSMContainerView/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/YSMContainerView/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 | -------------------------------------------------------------------------------- /Example/YSMContainerView/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" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Example/YSMContainerView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/YSMContainerView/Images.xcassets/headerImage.imageset/33837047C382755CEE6DAE94FDE053D9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/Example/YSMContainerView/Images.xcassets/headerImage.imageset/33837047C382755CEE6DAE94FDE053D9.png -------------------------------------------------------------------------------- /Example/YSMContainerView/Images.xcassets/headerImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "filename" : "33837047C382755CEE6DAE94FDE053D9.png", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // YSMAppDelegate.h 3 | // YSMContainerView 4 | // 5 | // Created by yisimeng on 11/14/2018. 6 | // Copyright (c) 2018 yisimeng. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface YSMAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMAppDelegate.m 3 | // YSMContainerView 4 | // 5 | // Created by yisimeng on 11/14/2018. 6 | // Copyright (c) 2018 yisimeng. All rights reserved. 7 | // 8 | 9 | #import "YSMAppDelegate.h" 10 | 11 | @implementation YSMAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // 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. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // 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. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMCollectionViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // YSMCollectionViewController.h 3 | // YSMContainerView_Example 4 | // 5 | // Created by duanzengguang on 2018/11/15. 6 | // Copyright © 2018年 yisimeng. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface YSMCollectionViewController : UICollectionViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMCollectionViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMCollectionViewController.m 3 | // YSMContainerView_Example 4 | // 5 | // Created by duanzengguang on 2018/11/15. 6 | // Copyright © 2018年 yisimeng. All rights reserved. 7 | // 8 | 9 | #import "YSMCollectionViewController.h" 10 | 11 | @interface YSMCollectionViewController () 12 | 13 | @end 14 | 15 | @implementation YSMCollectionViewController 16 | 17 | static NSString * const reuseIdentifier = @"Cell"; 18 | 19 | - (void)viewDidLoad { 20 | [super viewDidLoad]; 21 | 22 | self.collectionView.backgroundColor = [UIColor whiteColor]; 23 | [self.collectionView registerClass:[UICollectionViewCell class] forCellWithReuseIdentifier:reuseIdentifier]; 24 | 25 | } 26 | 27 | #pragma mark 28 | 29 | - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section { 30 | return 20; 31 | } 32 | 33 | - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { 34 | UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:reuseIdentifier forIndexPath:indexPath]; 35 | cell.contentView.backgroundColor = [UIColor redColor]; 36 | return cell; 37 | } 38 | 39 | #pragma mark - YSMContainrerChildControllerDelegate 40 | - (UIScrollView *)childScrollView{ 41 | return self.collectionView; 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMContainerView-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMContainerView-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMMenusViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // YSMMenusViewController.h 3 | // YSMContainerView_Example 4 | // 5 | // Created by duanzengguang on 2020/3/17. 6 | // Copyright © 2020 yisimeng. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface YSMMenusViewController : UIViewController 15 | 16 | @end 17 | 18 | NS_ASSUME_NONNULL_END 19 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMMenusViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMMenusViewController.m 3 | // YSMContainerView_Example 4 | // 5 | // Created by duanzengguang on 2020/3/17. 6 | // Copyright © 2020 yisimeng. All rights reserved. 7 | // 8 | 9 | #import "YSMMenusViewController.h" 10 | 11 | static NSString * const kMenusCategoryCellId = @"kMenusCategoryCellId"; 12 | static NSString * const kMenusDetailCellId = @"kMenusDetailCellId"; 13 | 14 | @interface YSMMenusViewController () 15 | 16 | @property (nonatomic, strong) UITableView * categoryTableView; 17 | @property (nonatomic, strong) UITableView * detailTableView; 18 | 19 | @end 20 | 21 | @implementation YSMMenusViewController 22 | 23 | - (void)viewDidLoad { 24 | [super viewDidLoad]; 25 | [self.view addSubview:self.categoryTableView]; 26 | [self.view addSubview:self.detailTableView]; 27 | } 28 | 29 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{ 30 | if ([tableView isEqual:self.categoryTableView]) { 31 | return 10; 32 | } 33 | return 30; 34 | } 35 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ 36 | if ([tableView isEqual:self.categoryTableView]) { 37 | UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:kMenusCategoryCellId forIndexPath:indexPath]; 38 | cell.textLabel.text = [NSString stringWithFormat:@"分类 %ld", indexPath.row]; 39 | return cell; 40 | }else { 41 | UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:kMenusDetailCellId forIndexPath:indexPath]; 42 | cell.textLabel.text = [NSString stringWithFormat:@"详情 %ld", indexPath.row]; 43 | return cell; 44 | } 45 | } 46 | 47 | - (UITableView *)categoryTableView{ 48 | if (_categoryTableView == nil) { 49 | CGRect frame = CGRectMake(0, 0, 100, self.view.frame.size.height); 50 | _categoryTableView = [[UITableView alloc] initWithFrame:frame style:UITableViewStylePlain]; 51 | _categoryTableView.dataSource = self; 52 | _categoryTableView.rowHeight = 50; 53 | [_categoryTableView registerClass:[UITableViewCell class] forCellReuseIdentifier:kMenusCategoryCellId]; 54 | } 55 | return _categoryTableView; 56 | } 57 | - (UITableView *)detailTableView{ 58 | if (_detailTableView == nil) { 59 | CGRect frame = CGRectMake(100, 0, self.view.frame.size.width-100, self.view.frame.size.height); 60 | _detailTableView = [[UITableView alloc] initWithFrame:frame style:UITableViewStylePlain]; 61 | _detailTableView.dataSource = self; 62 | _detailTableView.rowHeight = 100; 63 | [_detailTableView registerClass:[UITableViewCell class] forCellReuseIdentifier:kMenusDetailCellId]; 64 | } 65 | return _detailTableView; 66 | } 67 | 68 | #pragma mark - YSMContainrerChildControllerDelegate 69 | - (UIScrollView *)childScrollView{ 70 | return self.detailTableView; 71 | } 72 | 73 | @end 74 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMTableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // YSMTableViewController.h 3 | // YSMKit_Example 4 | // 5 | // Created by duanzengguang on 2018/11/13. 6 | // Copyright © 2018年 yisimeng. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface YSMTableViewController : UITableViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMTableViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMTableViewController.m 3 | // YSMKit_Example 4 | // 5 | // Created by duanzengguang on 2018/11/13. 6 | // Copyright © 2018年 yisimeng. All rights reserved. 7 | // 8 | 9 | #import "YSMTableViewController.h" 10 | 11 | @interface YSMTableViewController () 12 | 13 | @end 14 | 15 | static NSString * const kTableViewControllerCellId = @"kTableViewControllerCellId"; 16 | 17 | @implementation YSMTableViewController 18 | 19 | - (void)viewDidLoad { 20 | [super viewDidLoad]; 21 | self.tableView.rowHeight = 80; 22 | [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:kTableViewControllerCellId]; 23 | } 24 | 25 | - (void)viewWillAppear:(BOOL)animated{ 26 | [super viewWillAppear:animated]; 27 | NSLog(@"1 viewWillAppear"); 28 | } 29 | - (void)viewDidAppear:(BOOL)animated{ 30 | [super viewDidAppear:animated]; 31 | NSLog(@"1 viewDidAppear"); 32 | } 33 | - (void)viewWillDisappear:(BOOL)animated{ 34 | [super viewWillDisappear:animated]; 35 | NSLog(@"1 viewWillDisappear"); 36 | } 37 | - (void)viewDidDisappear:(BOOL)animated{ 38 | [super viewDidDisappear:animated]; 39 | NSLog(@"1 viewDidDisappear"); 40 | } 41 | 42 | #pragma mark - Table view data source 43 | 44 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { 45 | return 15; 46 | } 47 | 48 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { 49 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kTableViewControllerCellId forIndexPath:indexPath]; 50 | cell.textLabel.text = [NSString stringWithFormat:@"TableView Controller 第%ld行", indexPath.row]; 51 | return cell; 52 | } 53 | 54 | #pragma mark - YSMContainrerChildControllerDelegate 55 | 56 | - (UIScrollView *)childScrollView{ 57 | return self.tableView; 58 | } 59 | 60 | @end 61 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMTableViewController1.h: -------------------------------------------------------------------------------- 1 | // 2 | // YSMCustomViewController.h 3 | // YSMContainerView_Example 4 | // 5 | // Created by duanzengguang on 2018/11/15. 6 | // Copyright © 2018年 yisimeng. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface YSMTableViewController1 : UIViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMTableViewController1.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMCustomViewController.m 3 | // YSMContainerView_Example 4 | // 5 | // Created by duanzengguang on 2018/11/15. 6 | // Copyright © 2018年 yisimeng. All rights reserved. 7 | // 8 | 9 | #import "YSMTableViewController1.h" 10 | 11 | static NSString * const kTableViewController1CellId = @"kTableViewController1CellId"; 12 | 13 | @interface YSMTableViewController1 () 14 | 15 | @property (nonatomic, strong) UITableView * tableView; 16 | 17 | @end 18 | 19 | @implementation YSMTableViewController1 20 | 21 | - (void)viewDidLoad { 22 | [super viewDidLoad]; 23 | [self.view addSubview:self.tableView]; 24 | } 25 | 26 | - (void)viewDidAppear:(BOOL)animated{ 27 | [super viewDidAppear:animated]; 28 | self.tableView.contentOffset = CGPointMake(0, -244); 29 | } 30 | 31 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{ 32 | return 20; 33 | } 34 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ 35 | UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:kTableViewController1CellId forIndexPath:indexPath]; 36 | cell.textLabel.text = [NSString stringWithFormat:@"View Controller 第%ld行", indexPath.row]; 37 | return cell; 38 | } 39 | 40 | 41 | - (UITableView *)tableView{ 42 | if (_tableView == nil) { 43 | _tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain]; 44 | _tableView.dataSource = self; 45 | _tableView.rowHeight = 80; 46 | [_tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:kTableViewController1CellId]; 47 | } 48 | return _tableView; 49 | } 50 | 51 | #pragma mark - YSMContainrerChildControllerDelegate 52 | - (UIScrollView *)childScrollView{ 53 | return self.tableView; 54 | } 55 | 56 | @end 57 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // YSMViewController.h 3 | // YSMContainerView 4 | // 5 | // Created by yisimeng on 11/14/2018. 6 | // Copyright (c) 2018 yisimeng. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface YSMViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/YSMContainerView/YSMViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMViewController.m 3 | // YSMContainerView 4 | // 5 | // Created by yisimeng on 11/14/2018. 6 | // Copyright (c) 2018 yisimeng. All rights reserved. 7 | // 8 | 9 | #import "YSMViewController.h" 10 | #import 11 | #import "YSMTableViewController.h" 12 | #import "YSMTableViewController1.h" 13 | #import "YSMCollectionViewController.h" 14 | #import "YSMMenusViewController.h" 15 | @interface YSMViewController () 16 | 17 | @property (nonatomic, strong) YSMContainerView * containerView; 18 | @property (nonatomic, strong) NSArray * viewControllers; 19 | 20 | @end 21 | 22 | @implementation YSMViewController 23 | 24 | - (void)viewDidLoad{ 25 | [super viewDidLoad]; 26 | 27 | self.containerView = [[YSMContainerView alloc] initWithFrame:self.view.bounds]; 28 | self.containerView.dataSource = self; 29 | self.containerView.delegate = self; 30 | self.containerView.headerHangingHeight = 64; 31 | [self.view addSubview:self.containerView]; 32 | 33 | UICollectionViewFlowLayout * layout = [[UICollectionViewFlowLayout alloc] init]; 34 | layout.itemSize = CGSizeMake(100, 150); 35 | layout.minimumLineSpacing = 10; 36 | layout.minimumInteritemSpacing = 10; 37 | layout.sectionInset = UIEdgeInsetsMake(10, 10, 10, 10); 38 | 39 | YSMMenusViewController *menus = [[YSMMenusViewController alloc] init]; 40 | YSMTableViewController * child1 = [[YSMTableViewController alloc] initWithStyle:UITableViewStylePlain]; 41 | YSMTableViewController1 * child2 = [[YSMTableViewController1 alloc] init]; 42 | YSMCollectionViewController * child3 = [[YSMCollectionViewController alloc] initWithCollectionViewLayout:layout]; 43 | 44 | self.viewControllers = @[menus,child1,child2,child3]; 45 | } 46 | 47 | - (NSArray *)titlesForContainerView:(YSMContainerView *)containerView{ 48 | return @[@"菜单",@"第一个",@"第二个",@"第三"]; 49 | } 50 | 51 | - (void)containerView:(YSMContainerView *)containerView didScrollContentOffset:(CGPoint)contentOffset{ 52 | } 53 | 54 | - (NSInteger)numberOfViewControllersInContainerView:(YSMContainerView *)containerView { 55 | return self.viewControllers.count; 56 | } 57 | - (UIViewController *)containerView:(YSMContainerView *)containerView viewControllerAtIndex:(NSInteger)index { 58 | UIViewController * childController = self.viewControllers[index]; 59 | return childController; 60 | } 61 | 62 | 63 | - (UIView *)headerViewForContainerView:(YSMContainerView *)containerView{ 64 | UIView * headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 200)]; 65 | headerView.backgroundColor = [[UIColor redColor] colorWithAlphaComponent:0.3]; 66 | UIImageView * imageView = [[UIImageView alloc] initWithFrame:headerView.bounds]; 67 | imageView.image = [UIImage imageNamed:@"headerImage"]; 68 | imageView.contentMode = UIViewContentModeScaleAspectFill; 69 | imageView.autoresizingMask = UIViewAutoresizingFlexibleHeight; 70 | [headerView addSubview:imageView]; 71 | return headerView; 72 | } 73 | 74 | 75 | @end 76 | -------------------------------------------------------------------------------- /Example/YSMContainerView/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/YSMContainerView/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // YSMContainerView 4 | // 5 | // Created by yisimeng on 11/14/2018. 6 | // Copyright (c) 2018 yisimeng. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "YSMAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([YSMAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 yisimeng <465386131@qq.com> 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 | -------------------------------------------------------------------------------- /Pod/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/Pod/.DS_Store -------------------------------------------------------------------------------- /Pod/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/Pod/Assets/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/Pod/Classes/.DS_Store -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/UIView+YSMCategory.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+YSMCategory.h 3 | // YSMContainerView 4 | // 5 | // Created by duanzengguang on 2018/11/14. 6 | // 7 | 8 | #import 9 | 10 | @interface UIView (YSMCategory) 11 | 12 | - (void)ysm_removeAllSubviews; 13 | 14 | - (UIViewController * _Nonnull )ysm_viewController; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pod/Classes/UIView+YSMCategory.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+YSMCategory.m 3 | // YSMContainerView 4 | // 5 | // Created by duanzengguang on 2018/11/14. 6 | // 7 | 8 | #import "UIView+YSMCategory.h" 9 | 10 | @implementation UIView (YSMCategory) 11 | 12 | - (void)ysm_removeAllSubviews{ 13 | [self.subviews enumerateObjectsUsingBlock:^(__kindof UIView * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { 14 | [obj removeFromSuperview]; 15 | }]; 16 | } 17 | 18 | - (UIViewController * _Nonnull )ysm_viewController{ 19 | for (UIView* next = [self superview];next; next = next.superview) { 20 | UIResponder* nextResponder = [next nextResponder]; 21 | if ([nextResponder isKindOfClass:[UIViewController class]]) { 22 | return (UIViewController*)nextResponder; 23 | } 24 | } 25 | return nil; 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pod/Classes/YSMContainerView.h: -------------------------------------------------------------------------------- 1 | // 2 | // YSMContainerView.h 3 | // YSMKit_Example 4 | // 5 | // Created by duanzengguang on 2018/11/14. 6 | // Copyright © 2018年 yisimeng. All rights reserved. 7 | // 8 | 9 | #import 10 | /** 11 | Child View Controller delegate 12 | */ 13 | @protocol YSMContainrerChildControllerDelegate 14 | @required 15 | /** 16 | child controller scroll view 17 | 18 | @return scroll view 19 | */ 20 | - (UIScrollView *)childScrollView; 21 | @end 22 | 23 | @class YSMContainerView; 24 | 25 | @protocol YSMContainerViewDelegate 26 | @optional 27 | #pragma mark - Horizontal Scroll 28 | /** 29 | Horizontal will scroll to controller index 30 | 31 | @param containerView containerView 32 | @param index index 33 | */ 34 | - (void)containerView:(YSMContainerView *)containerView willScrollToChildControllerIndex:(NSInteger)index; 35 | /** 36 | Horizontal did scroll to controller index 37 | 38 | @param containerView containerView 39 | @param index index 40 | */ 41 | - (void)containerView:(YSMContainerView *)containerView didScrollToChildControllerIndex:(NSInteger)index; 42 | 43 | #pragma mark - Vertical Scroll 44 | /** 45 | Vertical did scroll contentOffset 46 | 47 | @param containerView containerView 48 | @param contentOffset contentOffset 49 | */ 50 | - (void)containerView:(YSMContainerView *)containerView didScrollContentOffset:(CGPoint)contentOffset; 51 | @end 52 | 53 | @protocol YSMContainerViewDataSource 54 | 55 | @required 56 | /** 57 | Child View Controller count 58 | 59 | @param containerView containerView 60 | @return number 61 | */ 62 | - (NSInteger)numberOfViewControllersInContainerView:(YSMContainerView *)containerView; 63 | /** 64 | Child View Controller 65 | 66 | @param containerView containerView 67 | @param index index 68 | @return ViewController 69 | */ 70 | - (UIViewController *)containerView:(YSMContainerView *)containerView viewControllerAtIndex:(NSInteger)index; 71 | 72 | @optional 73 | /** 74 | Header View 75 | 76 | @param containerView containerView 77 | @return header View 78 | */ 79 | - (UIView *)headerViewForContainerView:(YSMContainerView *)containerView; 80 | /** 81 | titles 82 | 83 | @param containerView containerView 84 | @return titles 85 | */ 86 | - (NSArray *)titlesForContainerView:(YSMContainerView *)containerView; 87 | @end 88 | 89 | @interface YSMContainerView : UIView 90 | 91 | @property (readonly) NSMutableArray * viewControllers; 92 | /** 93 | header hanging height。default 0 94 | */ 95 | @property (nonatomic, assign) CGFloat headerHangingHeight; 96 | 97 | @property (nonatomic, assign) CGFloat childTitleBarHeight; 98 | 99 | @property (nonatomic, weak, nullable) id delegate; 100 | 101 | @property (nonatomic, weak, nullable) id dataSource; 102 | 103 | - (BOOL)removeChildControllerAtIndex:(NSInteger)index; 104 | 105 | - (BOOL)removeChildController:(UIViewController *)viewController; 106 | 107 | @end 108 | -------------------------------------------------------------------------------- /Pod/Classes/YSMContainerView.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMContainerView.m 3 | // YSMKit_Example 4 | // 5 | // Created by duanzengguang on 2018/11/14. 6 | // Copyright © 2018年 yisimeng. All rights reserved. 7 | // 8 | 9 | #import "YSMContainerView.h" 10 | #import "UIView+YSMCategory.h" 11 | #import "YSMHeaderView.h" 12 | static NSString * const kContainerViewCellReuseId = @"kContainerViewCellReuseId"; 13 | 14 | @interface YSMContainerView () 15 | 16 | @property (nonatomic, strong) UICollectionView * collectionView; 17 | @property (nonatomic, strong) YSMHeaderView * headerView; 18 | 19 | @property (nonatomic, strong) NSMutableArray *> * viewControllers; 20 | 21 | @end 22 | 23 | @implementation YSMContainerView{ 24 | CGFloat _headerViewHeight; 25 | } 26 | 27 | #pragma mark - Initialization 28 | 29 | - (instancetype)initWithFrame:(CGRect)frame{ 30 | if (self = [super initWithFrame:frame]) { 31 | [self initialization]; 32 | } 33 | return self; 34 | } 35 | 36 | - (instancetype)initWithCoder:(NSCoder *)aDecoder{ 37 | if (self = [super initWithCoder:aDecoder]) { 38 | [self initialization]; 39 | } 40 | return self; 41 | } 42 | 43 | - (void)initialization{ 44 | self.headerHangingHeight = 0; 45 | self.headerView = [[YSMHeaderView alloc] init]; 46 | self.headerView.delegate = self; 47 | self.headerView.clipsToBounds = YES; 48 | 49 | [self addSubview:self.collectionView]; 50 | [self addSubview:self.headerView]; 51 | } 52 | 53 | - (void)didMoveToSuperview{ 54 | [super didMoveToSuperview]; 55 | if (self.dataSource && [self.dataSource respondsToSelector:@selector(headerViewForContainerView:)]) { 56 | UIView * header = [self.dataSource headerViewForContainerView:self]; 57 | header.frame = header.bounds; 58 | [self.headerView insertSubview:header atIndex:0]; 59 | self.headerView.frame = CGRectMake(0, 0, CGRectGetWidth(self.frame), CGRectGetHeight(header.frame)+44); 60 | header.autoresizingMask = UIViewAutoresizingFlexibleHeight; 61 | 62 | _headerViewHeight = CGRectGetHeight(self.headerView.frame); 63 | } 64 | if (self.dataSource && [self.dataSource respondsToSelector:@selector(titlesForContainerView:)]) { 65 | self.headerView.titles = (NSMutableArray *)[self.dataSource titlesForContainerView:self]; 66 | } 67 | } 68 | 69 | - (void)dealloc{ 70 | [self _removeAllObserver]; 71 | } 72 | 73 | #pragma mark - public 74 | 75 | // 移除控制器 76 | - (BOOL)removeChildController:(UIViewController *)viewController{ 77 | return NO; 78 | } 79 | - (BOOL)removeChildControllerAtIndex:(NSInteger)index{ 80 | return NO; 81 | } 82 | 83 | #pragma mark - private 84 | 85 | - (void)_removeAllObserver{ 86 | [self.viewControllers enumerateObjectsUsingBlock:^(UIViewController * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { 87 | [obj.childScrollView removeObserver:self forKeyPath:@"contentOffset"]; 88 | }]; 89 | } 90 | 91 | #pragma mark - UICollectionViewDataSource 92 | 93 | - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{ 94 | NSInteger count = 0; 95 | if (self.dataSource && [self.dataSource respondsToSelector:@selector(numberOfViewControllersInContainerView:)]) { 96 | count = [self.dataSource numberOfViewControllersInContainerView:self]; 97 | } 98 | self.viewControllers = [NSMutableArray arrayWithCapacity:count]; 99 | return count; 100 | } 101 | 102 | - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{ 103 | UICollectionViewCell * cell = [collectionView dequeueReusableCellWithReuseIdentifier:kContainerViewCellReuseId forIndexPath:indexPath]; 104 | 105 | UIViewController * childViewController = [self.dataSource containerView:self viewControllerAtIndex:indexPath.row]; 106 | UIScrollView * childScrollView = childViewController.childScrollView; 107 | // 添加到数组,addChildViewController, 添加观察者 108 | if (![self.viewControllers containsObject:childViewController]) { 109 | [self.ysm_viewController addChildViewController:childViewController]; 110 | [self.viewControllers addObject:childViewController]; 111 | 112 | if (@available(iOS 11.0, *)) { 113 | childScrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; 114 | } else { 115 | childViewController.automaticallyAdjustsScrollViewInsets = NO; 116 | } 117 | childScrollView.frame = self.bounds; 118 | 119 | UIEdgeInsets contentInset = UIEdgeInsetsMake(_headerViewHeight, 0, 0, 0); 120 | childScrollView.contentInset = contentInset; 121 | childScrollView.scrollIndicatorInsets = contentInset; 122 | 123 | [childScrollView addObserver:self forKeyPath:@"contentOffset" options:NSKeyValueObservingOptionNew context:nil]; 124 | } 125 | return cell; 126 | } 127 | 128 | - (void)collectionView:(UICollectionView *)collectionView willDisplayCell:(UICollectionViewCell *)cell forItemAtIndexPath:(NSIndexPath *)indexPath{ 129 | // 滑动时控制将要显示的scrollView的偏移量与当前一致 130 | UIViewController * childViewController = [self.dataSource containerView:self viewControllerAtIndex:indexPath.row]; 131 | UIScrollView * childScrollView = childViewController.childScrollView; 132 | CGRect headerFrame = self.headerView.frame; 133 | CGPoint contentOffset = CGPointMake(0, -(headerFrame.origin.y - (-_headerViewHeight))); 134 | 135 | // 为使child controller 的生命周期正常,所以没在cellforItem里使用 136 | if (self.delegate && [self.delegate respondsToSelector:@selector(containerView:willScrollToChildControllerIndex:)]) { 137 | [self.delegate containerView:self willScrollToChildControllerIndex:indexPath.row]; 138 | } 139 | [cell.contentView addSubview:childScrollView]; 140 | childScrollView.contentOffset = contentOffset; 141 | } 142 | 143 | - (void)collectionView:(UICollectionView *)collectionView didEndDisplayingCell:(UICollectionViewCell *)cell forItemAtIndexPath:(NSIndexPath *)indexPath{ 144 | // 为使child controller 的生命周期正常,所以没在cellforItem里使用 145 | [cell.contentView ysm_removeAllSubviews]; 146 | } 147 | 148 | 149 | #pragma mark - Horizontal Scroll: UIScrollViewDelegate 150 | - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView{ 151 | } 152 | 153 | - (void)scrollViewDidScroll:(UIScrollView *)scrollView{ 154 | // 水平移动时 155 | /** 156 | headerView 是添加到self上的,所以水平移动时不需要移动headerview 157 | 158 | // CGRect headerFrame = self.headerView.frame; 159 | // headerFrame.origin.x = scrollView.contentOffset.x; 160 | // self.headerView.frame = headerFrame; 161 | */ 162 | } 163 | 164 | - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{ 165 | NSInteger currentIndex = scrollView.contentOffset.x / scrollView.bounds.size.width; 166 | if (self.delegate && [self.delegate respondsToSelector:@selector(containerView:didScrollToChildControllerIndex:)]) { 167 | [self.delegate containerView:self didScrollToChildControllerIndex:currentIndex]; 168 | } 169 | [self.headerView didSelectTitleIndex:currentIndex]; 170 | } 171 | 172 | #pragma mark - Vertical Scroll 173 | - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context{ 174 | if (![keyPath isEqualToString:@"contentOffset"]) { 175 | return [super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; 176 | } 177 | CGPoint contentOffset = [[change valueForKey:NSKeyValueChangeNewKey] CGPointValue]; 178 | 179 | CGRect headerFrame = self.headerView.frame; 180 | // TODO: 可以设置header悬停位置 181 | if (contentOffset.y < -_headerViewHeight) { 182 | // header 完全显示后,下拉 183 | headerFrame.origin.y = 0; 184 | CGFloat height = (-_headerViewHeight) - contentOffset.y; 185 | headerFrame.size.height = height + _headerViewHeight; 186 | }else if (contentOffset.y <= -self.headerHangingHeight){ 187 | // header 初始位置到悬停位置之间 188 | headerFrame.origin.y = -(_headerViewHeight + contentOffset.y); 189 | headerFrame.size.height = _headerViewHeight; 190 | }else{ 191 | headerFrame.origin.y = self.headerHangingHeight -_headerViewHeight; 192 | } 193 | self.headerView.frame = headerFrame; 194 | 195 | if (self.delegate && [self.delegate respondsToSelector:@selector(containerView:didScrollContentOffset:)]) { 196 | contentOffset.y = contentOffset.y + _headerViewHeight; 197 | [self.delegate containerView:self didScrollContentOffset:contentOffset]; 198 | } 199 | } 200 | 201 | #pragma mark - YSMHeaderDelegate 202 | - (void)headerView:(YSMHeaderView *)headerView didSelectTitleAtIndex:(NSInteger)index{ 203 | CGPoint contentOffset = CGPointMake(index*self.collectionView.bounds.size.width, 0); 204 | [self.collectionView setContentOffset:contentOffset animated:YES]; 205 | } 206 | 207 | #pragma mark - Getter & Setter 208 | 209 | - (UICollectionView *)collectionView{ 210 | if (_collectionView == nil) { 211 | UICollectionViewFlowLayout * flowLayout = [[UICollectionViewFlowLayout alloc] init]; 212 | flowLayout.scrollDirection = UICollectionViewScrollDirectionHorizontal; 213 | flowLayout.itemSize = self.bounds.size; 214 | flowLayout.minimumLineSpacing = 0; 215 | flowLayout.minimumInteritemSpacing = 0; 216 | 217 | _collectionView = [[UICollectionView alloc] initWithFrame:self.bounds collectionViewLayout:flowLayout]; 218 | _collectionView.dataSource = self; 219 | _collectionView.delegate = self; 220 | _collectionView.pagingEnabled = YES; 221 | _collectionView.bounces = NO; 222 | _collectionView.backgroundColor = [UIColor whiteColor]; 223 | _collectionView.showsHorizontalScrollIndicator = NO; 224 | [_collectionView registerClass:[UICollectionViewCell class] forCellWithReuseIdentifier:kContainerViewCellReuseId]; 225 | } 226 | return _collectionView; 227 | } 228 | 229 | @end 230 | -------------------------------------------------------------------------------- /Pod/Classes/YSMHeaderView.h: -------------------------------------------------------------------------------- 1 | // 2 | // YSMHeaderView.h 3 | // YSMContainerView 4 | // 5 | // Created by duanzengguang on 2018/11/19. 6 | // 7 | 8 | #import 9 | 10 | @class YSMHeaderView; 11 | @protocol YSMHeaderDelegate 12 | 13 | - (void)headerView:(YSMHeaderView *)headerView didSelectTitleAtIndex:(NSInteger)index; 14 | 15 | @end 16 | 17 | @interface YSMHeaderView : UIView 18 | 19 | @property (nonatomic, weak) iddelegate; 20 | 21 | @property (nonatomic, copy) NSMutableArray * titles; 22 | 23 | - (void)didSelectTitleIndex:(NSInteger)index; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Pod/Classes/YSMHeaderView.m: -------------------------------------------------------------------------------- 1 | // 2 | // YSMHeaderView.m 3 | // YSMContainerView 4 | // 5 | // Created by duanzengguang on 2018/11/19. 6 | // 7 | 8 | #import "YSMHeaderView.h" 9 | 10 | @interface YSMHeaderView () 11 | 12 | @property (nonatomic, strong) UIView * titleView; 13 | @property (nonatomic, strong) NSMutableArray* titleLabels; 14 | 15 | @end 16 | 17 | @implementation YSMHeaderView{ 18 | NSInteger _currentIndex; 19 | } 20 | 21 | - (instancetype)initWithFrame:(CGRect)frame{ 22 | if (self = [super initWithFrame:frame]) { 23 | [self initialization]; 24 | } 25 | return self; 26 | } 27 | 28 | - (instancetype)initWithCoder:(NSCoder *)aDecoder{ 29 | if (self = [super initWithCoder:aDecoder]) { 30 | [self initialization]; 31 | } 32 | return self; 33 | } 34 | 35 | - (void)initialization{ 36 | [self addSubview:self.titleView]; 37 | } 38 | 39 | - (void)setTitles:(NSMutableArray *)titles{ 40 | _titles = titles; 41 | self.titleLabels = [NSMutableArray arrayWithCapacity:titles.count]; 42 | [self setupSubViews]; 43 | } 44 | 45 | - (void)setupSubViews{ 46 | CGFloat titleWidth = self.frame.size.width/self.titles.count; 47 | CGSize titleSize = CGSizeMake(titleWidth, self.titleView.frame.size.height); 48 | [self.titles enumerateObjectsUsingBlock:^(NSString * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { 49 | CGRect frame = {CGPointMake(idx*titleWidth, 0),titleSize}; 50 | UILabel * label = [[UILabel alloc] initWithFrame:frame]; 51 | label.text = obj; 52 | label.userInteractionEnabled = YES; 53 | label.textAlignment = NSTextAlignmentCenter; 54 | label.font = [UIFont systemFontOfSize:12]; 55 | label.tag = idx; 56 | [self.titleLabels addObject:label]; 57 | [self.titleView addSubview:label]; 58 | 59 | UITapGestureRecognizer * tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(titleLabelDidTap:)]; 60 | [label addGestureRecognizer:tap]; 61 | if (idx == 0) { 62 | self->_currentIndex = 0; 63 | label.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.3, 1.3); 64 | } 65 | }]; 66 | } 67 | 68 | 69 | - (void)titleLabelDidTap:(UITapGestureRecognizer *)tap{ 70 | NSInteger selectIndex = tap.view.tag; 71 | if (self.delegate && [self.delegate respondsToSelector:@selector(headerView:didSelectTitleAtIndex:)]) { 72 | [self.delegate headerView:self didSelectTitleAtIndex:selectIndex]; 73 | } 74 | [self didSelectTitleIndex:selectIndex]; 75 | } 76 | 77 | - (void)didSelectTitleIndex:(NSInteger)selectIndex{ 78 | UILabel *currentLabel = self.titleLabels[_currentIndex]; 79 | currentLabel.transform = CGAffineTransformIdentity; 80 | 81 | UILabel * selectLabel = self.titleLabels[selectIndex]; 82 | selectLabel.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.3, 1.3); 83 | _currentIndex = selectIndex; 84 | } 85 | 86 | - (UIView *)titleView{ 87 | if (_titleView == nil) { 88 | _titleView = [[UIView alloc] initWithFrame:CGRectMake(0, CGRectGetHeight(self.frame)-44, CGRectGetWidth(self.frame), 44)]; 89 | _titleView.backgroundColor = [UIColor lightGrayColor]; 90 | _titleView.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleBottomMargin; 91 | } 92 | return _titleView; 93 | } 94 | 95 | @end 96 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # YSMContainerView 2 | 3 | [![CI Status](https://img.shields.io/travis/yisimeng/YSMContainerView.svg?style=flat)](https://travis-ci.org/yisimeng/YSMContainerView) 4 | [![Version](https://img.shields.io/cocoapods/v/YSMContainerView.svg?style=flat)](https://cocoapods.org/pods/YSMContainerView) 5 | [![License](https://img.shields.io/cocoapods/l/YSMContainerView.svg?style=flat)](https://cocoapods.org/pods/YSMContainerView) 6 | [![Platform](https://img.shields.io/cocoapods/p/YSMContainerView.svg?style=flat)](https://cocoapods.org/pods/YSMContainerView) 7 | 8 | ![微博个人页](containerView.gif) 9 | 10 | 仿微博个人页,之前用Swift写了一个,但是只是效果实现了,但是扩展性不太好,所以从新优化了一下,重新写了一个。 11 | 12 | [详细介绍及实现思路](https://github.com/yisimeng/Pieces/blob/master/mind/YSMContainerView.md) 13 | 14 | ## Installation 15 | 16 | YSMContainerView is available through [CocoaPods](https://cocoapods.org). To install 17 | it, simply add the following line to your Podfile: 18 | 19 | ```ruby 20 | pod 'YSMContainerView' 21 | ``` 22 | ## TODO 23 | 24 | * 进一步封装,子视图添加 tab,点击切换子视图,tab随子视图滚动切换。定位移除控制器。 25 | * 指定移除子视图控制器。 26 | 27 | ## Author 28 | 29 | yisimeng, 465386131@qq.com 30 | 31 | ## License 32 | 33 | YSMContainerView is available under the MIT license. See the LICENSE file for more info. 34 | -------------------------------------------------------------------------------- /YSMContainerView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint YSMContainerView.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 = 'YSMContainerView' 11 | s.version = '0.1.0' 12 | s.summary = 'YSMContainerView' 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 | TODO: Add long description of the pod here. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/yisimeng/YSMContainerView' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'yisimeng' => '465386131@qq.com' } 28 | s.source = { :git => 'https://github.com/yisimeng/YSMContainerView.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '8.0' 32 | 33 | s.source_files = 'Pod/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'YSMContainerView' => ['YSMContainerView/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | # s.dependency 'AFNetworking', '~> 2.3' 42 | end 43 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /containerView.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yisimeng/YSMContainerView/f48dd028a46107dfc2f0f798177fb6df4669a42e/containerView.gif --------------------------------------------------------------------------------