├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── PopupContainer.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-PopupContainerExample │ │ ├── Info.plist │ │ ├── Pods-PopupContainerExample-acknowledgements.markdown │ │ ├── Pods-PopupContainerExample-acknowledgements.plist │ │ ├── Pods-PopupContainerExample-dummy.m │ │ ├── Pods-PopupContainerExample-frameworks.sh │ │ ├── Pods-PopupContainerExample-resources.sh │ │ ├── Pods-PopupContainerExample-umbrella.h │ │ ├── Pods-PopupContainerExample.debug.xcconfig │ │ ├── Pods-PopupContainerExample.modulemap │ │ └── Pods-PopupContainerExample.release.xcconfig │ │ └── PopupContainer │ │ ├── Info.plist │ │ ├── PopupContainer-dummy.m │ │ ├── PopupContainer-prefix.pch │ │ ├── PopupContainer-umbrella.h │ │ ├── PopupContainer.modulemap │ │ ├── PopupContainer.xcconfig │ │ └── ResourceBundle-PopupContainer-Info.plist ├── PopupContainerExample.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ ├── Lucas.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ │ │ └── medialis.net.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ ├── Lucas.xcuserdatad │ │ └── xcschemes │ │ │ ├── PopupContainerExample.xcscheme │ │ │ └── xcschememanagement.plist │ │ └── medialis.net.xcuserdatad │ │ └── xcschemes │ │ ├── PopupContainerExample.xcscheme │ │ └── xcschememanagement.plist ├── PopupContainerExample.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── medialis.net.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── PopupContainerExample │ ├── AppDelegate.swift │ ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard │ ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Info.plist │ ├── ViewController.swift │ └── XibPopup │ ├── XibPopup.swift │ └── XibPopup.xib ├── LICENSE ├── Pod ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── PopupContainer.swift ├── PopupContainer.podspec ├── README.md └── Screenshots ├── 1.jpg ├── 2.jpg ├── 3.jpg └── 4.jpg /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | swift_version = '4.0' 3 | use_frameworks! 4 | 5 | target 'PopupContainerExample' do 6 | pod 'PopupContainer', :path => '../' 7 | end 8 | 9 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - PopupContainer (0.0.5) 3 | 4 | DEPENDENCIES: 5 | - PopupContainer (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | PopupContainer: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | PopupContainer: b5f670688de1e6070ba63da0217315b734920737 13 | 14 | PODFILE CHECKSUM: 32e6171af4723452a0fecb856922006e9c2e181d 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/PopupContainer.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PopupContainer", 3 | "version": "0.0.5", 4 | "summary": "A Popup container that shows any UIView as a UIAlertView, taking care of animations and positioning.", 5 | "homepage": "https://github.com/lucaslt89/PopupContainer", 6 | "license": "MIT", 7 | "authors": { 8 | "Lucas Diez de Medina @ Technopix": "lucas.diez@technopix.com.ar" 9 | }, 10 | "source": { 11 | "git": "https://github.com/lucaslt89/PopupContainer.git", 12 | "tag": "0.0.5" 13 | }, 14 | "platforms": { 15 | "ios": "8.0" 16 | }, 17 | "requires_arc": true, 18 | "source_files": "Pod/Classes/*.swift", 19 | "resource_bundles": { 20 | "PopupContainer": [ 21 | "Pod/Assets/*.png" 22 | ] 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - PopupContainer (0.0.5) 3 | 4 | DEPENDENCIES: 5 | - PopupContainer (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | PopupContainer: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | PopupContainer: b5f670688de1e6070ba63da0217315b734920737 13 | 14 | PODFILE CHECKSUM: 32e6171af4723452a0fecb856922006e9c2e181d 15 | 16 | COCOAPODS: 1.2.1 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 | 1899B34F8B890E64ED4FCAAB59AE5517 /* PopupContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE1CC2B3854939E2AF37E676FF73D8F8 /* PopupContainer.swift */; }; 11 | 4D8D48CB09BDFC63B7C74300C9EB4100 /* Pods-PopupContainerExample-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BEFFA4CDCE58E92DC3A8283B322CA648 /* Pods-PopupContainerExample-dummy.m */; }; 12 | 6CDBB93F545A2BE312C6BF0FAC10E051 /* PopupContainer.bundle in Resources */ = {isa = PBXBuildFile; fileRef = D75C4A891D9ED6A4A677BF31DE1FB95B /* PopupContainer.bundle */; }; 13 | A98596AEBFB8A8002A21FB502F4753EE /* PopupContainer-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F58FA9D07AF303FA8571DB38F01D4D0B /* PopupContainer-dummy.m */; }; 14 | BC282E1ACE63FB1E925AC1FC2D5F4A1E /* Pods-PopupContainerExample-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FCBE38B8F3B12FD6F3981106BE4EF55D /* Pods-PopupContainerExample-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | CC19A236EA5C3E2715496C5A7C4E6CE1 /* PopupContainer-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7EE5DC3169CCB6996058C8DFDBCBC993 /* PopupContainer-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | D2EC09D1E1B9F957211AD13F765579DE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | D6062EC4D6D2F53EAA7890A980960616 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 6920B3237C6898C9D5EDB81B458F6E9E /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = DEBEE914FDB1C8028382DFDD6828A2AD; 26 | remoteInfo = "PopupContainer-PopupContainer"; 27 | }; 28 | 69F96C26D3C802554661D308EDA58A56 /* PBXContainerItemProxy */ = { 29 | isa = PBXContainerItemProxy; 30 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 31 | proxyType = 1; 32 | remoteGlobalIDString = 24563F46ABC2D4234D45C9270F779D8E; 33 | remoteInfo = PopupContainer; 34 | }; 35 | /* End PBXContainerItemProxy section */ 36 | 37 | /* Begin PBXFileReference section */ 38 | 1A9CC5970C5BE6F975B4F7CFDC516871 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 3137C4210F1587B2231011C0DD06710D /* Pods-PopupContainerExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PopupContainerExample.debug.xcconfig"; sourceTree = ""; }; 40 | 33193DB7E29E5731CB01B449C585561E /* Pods_PopupContainerExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PopupContainerExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 38B078FB2B4D4299FF73A9B34EFCCDD0 /* PopupContainer-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PopupContainer-prefix.pch"; sourceTree = ""; }; 42 | 3B1BBEE6F74C1DD5737AE7BF4FFD4125 /* Pods-PopupContainerExample-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PopupContainerExample-acknowledgements.markdown"; sourceTree = ""; }; 43 | 4AC2697B922A78F8475445753A8CEB90 /* ResourceBundle-PopupContainer-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-PopupContainer-Info.plist"; sourceTree = ""; }; 44 | 5D6D77F098DAC0D0E6DCAC63ED627C5B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 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; }; 46 | 7EE5DC3169CCB6996058C8DFDBCBC993 /* PopupContainer-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PopupContainer-umbrella.h"; sourceTree = ""; }; 47 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 48 | 987CA63C0F73096E502E59F10C47A064 /* Pods-PopupContainerExample.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-PopupContainerExample.modulemap"; sourceTree = ""; }; 49 | A7A436EE9D83D7F72B4C54CD30466A0E /* Pods-PopupContainerExample-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PopupContainerExample-resources.sh"; sourceTree = ""; }; 50 | A7B6EAECAA0B04EFC9FA54DDFC73E5D9 /* PopupContainer.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = PopupContainer.modulemap; sourceTree = ""; }; 51 | BEFFA4CDCE58E92DC3A8283B322CA648 /* Pods-PopupContainerExample-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PopupContainerExample-dummy.m"; sourceTree = ""; }; 52 | C90C15B9EF85115D5112E6053ECD3452 /* Pods-PopupContainerExample-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PopupContainerExample-frameworks.sh"; sourceTree = ""; }; 53 | CC6547431F50DAAE9A599C5346F8C006 /* Pods-PopupContainerExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PopupContainerExample.release.xcconfig"; sourceTree = ""; }; 54 | CE1CC2B3854939E2AF37E676FF73D8F8 /* PopupContainer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = PopupContainer.swift; sourceTree = ""; }; 55 | D75C4A891D9ED6A4A677BF31DE1FB95B /* PopupContainer.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PopupContainer.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | EE431ADA434A15E18DAC14D45F83721F /* PopupContainer.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PopupContainer.xcconfig; sourceTree = ""; }; 57 | EE9E845940B734B6CFCC458253E7B712 /* PopupContainer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PopupContainer.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | F58FA9D07AF303FA8571DB38F01D4D0B /* PopupContainer-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PopupContainer-dummy.m"; sourceTree = ""; }; 59 | F691F0468F44BE95D060448A48614F14 /* Pods-PopupContainerExample-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PopupContainerExample-acknowledgements.plist"; sourceTree = ""; }; 60 | FCBE38B8F3B12FD6F3981106BE4EF55D /* Pods-PopupContainerExample-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PopupContainerExample-umbrella.h"; sourceTree = ""; }; 61 | /* End PBXFileReference section */ 62 | 63 | /* Begin PBXFrameworksBuildPhase section */ 64 | 47374EB91582CEACE28A006F92B043E8 /* Frameworks */ = { 65 | isa = PBXFrameworksBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | ); 69 | runOnlyForDeploymentPostprocessing = 0; 70 | }; 71 | DFFBEB6740C04E1CD9E06FF7C59DC23C /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | D6062EC4D6D2F53EAA7890A980960616 /* Foundation.framework in Frameworks */, 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | ECAFB0046BE52A4A4FE4A384A81753FB /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | D2EC09D1E1B9F957211AD13F765579DE /* Foundation.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | /* End PBXFrameworksBuildPhase section */ 88 | 89 | /* Begin PBXGroup section */ 90 | 116772962F96B2BC605CC9FC545BA7CE /* Targets Support Files */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 2DE7F5F3BD88237C6ABA4265D4AB3FAA /* Pods-PopupContainerExample */, 94 | ); 95 | name = "Targets Support Files"; 96 | sourceTree = ""; 97 | }; 98 | 2A11AAD324C074C4ECB31BCD5D1D0A02 /* Pod */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | B68FB376AC382F54FCA25AB0916A10D2 /* Classes */, 102 | ); 103 | path = Pod; 104 | sourceTree = ""; 105 | }; 106 | 2DE7F5F3BD88237C6ABA4265D4AB3FAA /* Pods-PopupContainerExample */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 1A9CC5970C5BE6F975B4F7CFDC516871 /* Info.plist */, 110 | 987CA63C0F73096E502E59F10C47A064 /* Pods-PopupContainerExample.modulemap */, 111 | 3B1BBEE6F74C1DD5737AE7BF4FFD4125 /* Pods-PopupContainerExample-acknowledgements.markdown */, 112 | F691F0468F44BE95D060448A48614F14 /* Pods-PopupContainerExample-acknowledgements.plist */, 113 | BEFFA4CDCE58E92DC3A8283B322CA648 /* Pods-PopupContainerExample-dummy.m */, 114 | C90C15B9EF85115D5112E6053ECD3452 /* Pods-PopupContainerExample-frameworks.sh */, 115 | A7A436EE9D83D7F72B4C54CD30466A0E /* Pods-PopupContainerExample-resources.sh */, 116 | FCBE38B8F3B12FD6F3981106BE4EF55D /* Pods-PopupContainerExample-umbrella.h */, 117 | 3137C4210F1587B2231011C0DD06710D /* Pods-PopupContainerExample.debug.xcconfig */, 118 | CC6547431F50DAAE9A599C5346F8C006 /* Pods-PopupContainerExample.release.xcconfig */, 119 | ); 120 | name = "Pods-PopupContainerExample"; 121 | path = "Target Support Files/Pods-PopupContainerExample"; 122 | sourceTree = ""; 123 | }; 124 | 5018FF4917F6270635CEC39092EE50EF /* PopupContainer */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 2A11AAD324C074C4ECB31BCD5D1D0A02 /* Pod */, 128 | 86830A3617A45ADEA8182507D67B7834 /* Support Files */, 129 | ); 130 | name = PopupContainer; 131 | path = ../..; 132 | sourceTree = ""; 133 | }; 134 | 57F75C92AE64BB7EDD6DF4D575A761B3 /* Products */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 33193DB7E29E5731CB01B449C585561E /* Pods_PopupContainerExample.framework */, 138 | D75C4A891D9ED6A4A677BF31DE1FB95B /* PopupContainer.bundle */, 139 | EE9E845940B734B6CFCC458253E7B712 /* PopupContainer.framework */, 140 | ); 141 | name = Products; 142 | sourceTree = ""; 143 | }; 144 | 7DB346D0F39D3F0E887471402A8071AB = { 145 | isa = PBXGroup; 146 | children = ( 147 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 148 | A4E46F6E1E7F6531EDD5F7F1788C9F08 /* Development Pods */, 149 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 150 | 57F75C92AE64BB7EDD6DF4D575A761B3 /* Products */, 151 | 116772962F96B2BC605CC9FC545BA7CE /* Targets Support Files */, 152 | ); 153 | sourceTree = ""; 154 | }; 155 | 86830A3617A45ADEA8182507D67B7834 /* Support Files */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | 5D6D77F098DAC0D0E6DCAC63ED627C5B /* Info.plist */, 159 | A7B6EAECAA0B04EFC9FA54DDFC73E5D9 /* PopupContainer.modulemap */, 160 | EE431ADA434A15E18DAC14D45F83721F /* PopupContainer.xcconfig */, 161 | F58FA9D07AF303FA8571DB38F01D4D0B /* PopupContainer-dummy.m */, 162 | 38B078FB2B4D4299FF73A9B34EFCCDD0 /* PopupContainer-prefix.pch */, 163 | 7EE5DC3169CCB6996058C8DFDBCBC993 /* PopupContainer-umbrella.h */, 164 | 4AC2697B922A78F8475445753A8CEB90 /* ResourceBundle-PopupContainer-Info.plist */, 165 | ); 166 | name = "Support Files"; 167 | path = "Example/Pods/Target Support Files/PopupContainer"; 168 | sourceTree = ""; 169 | }; 170 | A4E46F6E1E7F6531EDD5F7F1788C9F08 /* Development Pods */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | 5018FF4917F6270635CEC39092EE50EF /* PopupContainer */, 174 | ); 175 | name = "Development Pods"; 176 | sourceTree = ""; 177 | }; 178 | B68FB376AC382F54FCA25AB0916A10D2 /* Classes */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | CE1CC2B3854939E2AF37E676FF73D8F8 /* PopupContainer.swift */, 182 | ); 183 | path = Classes; 184 | sourceTree = ""; 185 | }; 186 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 187 | isa = PBXGroup; 188 | children = ( 189 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 190 | ); 191 | name = Frameworks; 192 | sourceTree = ""; 193 | }; 194 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 195 | isa = PBXGroup; 196 | children = ( 197 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 198 | ); 199 | name = iOS; 200 | sourceTree = ""; 201 | }; 202 | /* End PBXGroup section */ 203 | 204 | /* Begin PBXHeadersBuildPhase section */ 205 | 561E6DF15C42202FCCA9ED4491A0D75C /* Headers */ = { 206 | isa = PBXHeadersBuildPhase; 207 | buildActionMask = 2147483647; 208 | files = ( 209 | CC19A236EA5C3E2715496C5A7C4E6CE1 /* PopupContainer-umbrella.h in Headers */, 210 | ); 211 | runOnlyForDeploymentPostprocessing = 0; 212 | }; 213 | 9EFE57A7B13A4E1D5DEB79A9A4620591 /* Headers */ = { 214 | isa = PBXHeadersBuildPhase; 215 | buildActionMask = 2147483647; 216 | files = ( 217 | BC282E1ACE63FB1E925AC1FC2D5F4A1E /* Pods-PopupContainerExample-umbrella.h in Headers */, 218 | ); 219 | runOnlyForDeploymentPostprocessing = 0; 220 | }; 221 | /* End PBXHeadersBuildPhase section */ 222 | 223 | /* Begin PBXNativeTarget section */ 224 | 24563F46ABC2D4234D45C9270F779D8E /* PopupContainer */ = { 225 | isa = PBXNativeTarget; 226 | buildConfigurationList = 6C682F2A46011420A262880A1EE8D4C0 /* Build configuration list for PBXNativeTarget "PopupContainer" */; 227 | buildPhases = ( 228 | C8E0E733D5F3DA4041926411817F1C6B /* Sources */, 229 | DFFBEB6740C04E1CD9E06FF7C59DC23C /* Frameworks */, 230 | 3AF5B284AD58526A704A73B2B20E47B9 /* Resources */, 231 | 561E6DF15C42202FCCA9ED4491A0D75C /* Headers */, 232 | ); 233 | buildRules = ( 234 | ); 235 | dependencies = ( 236 | 996F913B620F55F1EF11D4B53C369542 /* PBXTargetDependency */, 237 | ); 238 | name = PopupContainer; 239 | productName = PopupContainer; 240 | productReference = EE9E845940B734B6CFCC458253E7B712 /* PopupContainer.framework */; 241 | productType = "com.apple.product-type.framework"; 242 | }; 243 | DEBEE914FDB1C8028382DFDD6828A2AD /* PopupContainer-PopupContainer */ = { 244 | isa = PBXNativeTarget; 245 | buildConfigurationList = 8F7D523FA5222F91E369726DA2F00F48 /* Build configuration list for PBXNativeTarget "PopupContainer-PopupContainer" */; 246 | buildPhases = ( 247 | 093DD5B31DCC35BF4D90164A679E059A /* Sources */, 248 | 47374EB91582CEACE28A006F92B043E8 /* Frameworks */, 249 | 56D50A4B6F847364E5040515151CC5CA /* Resources */, 250 | ); 251 | buildRules = ( 252 | ); 253 | dependencies = ( 254 | ); 255 | name = "PopupContainer-PopupContainer"; 256 | productName = "PopupContainer-PopupContainer"; 257 | productReference = D75C4A891D9ED6A4A677BF31DE1FB95B /* PopupContainer.bundle */; 258 | productType = "com.apple.product-type.bundle"; 259 | }; 260 | E03A1FABD0C76E255850C1D2BB92C8CD /* Pods-PopupContainerExample */ = { 261 | isa = PBXNativeTarget; 262 | buildConfigurationList = 3D9F6A8CBE27757FF8667AF7AA2B00A8 /* Build configuration list for PBXNativeTarget "Pods-PopupContainerExample" */; 263 | buildPhases = ( 264 | AD2D5026AF400D82889C4F41259D58A8 /* Sources */, 265 | ECAFB0046BE52A4A4FE4A384A81753FB /* Frameworks */, 266 | 9EFE57A7B13A4E1D5DEB79A9A4620591 /* Headers */, 267 | ); 268 | buildRules = ( 269 | ); 270 | dependencies = ( 271 | 47EAD3ABDBDB3B7B6A5A40E6E2FDE31A /* PBXTargetDependency */, 272 | ); 273 | name = "Pods-PopupContainerExample"; 274 | productName = "Pods-PopupContainerExample"; 275 | productReference = 33193DB7E29E5731CB01B449C585561E /* Pods_PopupContainerExample.framework */; 276 | productType = "com.apple.product-type.framework"; 277 | }; 278 | /* End PBXNativeTarget section */ 279 | 280 | /* Begin PBXProject section */ 281 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 282 | isa = PBXProject; 283 | attributes = { 284 | LastSwiftUpdateCheck = 0830; 285 | LastUpgradeCheck = 0900; 286 | }; 287 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 288 | compatibilityVersion = "Xcode 3.2"; 289 | developmentRegion = English; 290 | hasScannedForEncodings = 0; 291 | knownRegions = ( 292 | en, 293 | ); 294 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 295 | productRefGroup = 57F75C92AE64BB7EDD6DF4D575A761B3 /* Products */; 296 | projectDirPath = ""; 297 | projectRoot = ""; 298 | targets = ( 299 | E03A1FABD0C76E255850C1D2BB92C8CD /* Pods-PopupContainerExample */, 300 | 24563F46ABC2D4234D45C9270F779D8E /* PopupContainer */, 301 | DEBEE914FDB1C8028382DFDD6828A2AD /* PopupContainer-PopupContainer */, 302 | ); 303 | }; 304 | /* End PBXProject section */ 305 | 306 | /* Begin PBXResourcesBuildPhase section */ 307 | 3AF5B284AD58526A704A73B2B20E47B9 /* Resources */ = { 308 | isa = PBXResourcesBuildPhase; 309 | buildActionMask = 2147483647; 310 | files = ( 311 | 6CDBB93F545A2BE312C6BF0FAC10E051 /* PopupContainer.bundle in Resources */, 312 | ); 313 | runOnlyForDeploymentPostprocessing = 0; 314 | }; 315 | 56D50A4B6F847364E5040515151CC5CA /* Resources */ = { 316 | isa = PBXResourcesBuildPhase; 317 | buildActionMask = 2147483647; 318 | files = ( 319 | ); 320 | runOnlyForDeploymentPostprocessing = 0; 321 | }; 322 | /* End PBXResourcesBuildPhase section */ 323 | 324 | /* Begin PBXSourcesBuildPhase section */ 325 | 093DD5B31DCC35BF4D90164A679E059A /* Sources */ = { 326 | isa = PBXSourcesBuildPhase; 327 | buildActionMask = 2147483647; 328 | files = ( 329 | ); 330 | runOnlyForDeploymentPostprocessing = 0; 331 | }; 332 | AD2D5026AF400D82889C4F41259D58A8 /* Sources */ = { 333 | isa = PBXSourcesBuildPhase; 334 | buildActionMask = 2147483647; 335 | files = ( 336 | 4D8D48CB09BDFC63B7C74300C9EB4100 /* Pods-PopupContainerExample-dummy.m in Sources */, 337 | ); 338 | runOnlyForDeploymentPostprocessing = 0; 339 | }; 340 | C8E0E733D5F3DA4041926411817F1C6B /* Sources */ = { 341 | isa = PBXSourcesBuildPhase; 342 | buildActionMask = 2147483647; 343 | files = ( 344 | A98596AEBFB8A8002A21FB502F4753EE /* PopupContainer-dummy.m in Sources */, 345 | 1899B34F8B890E64ED4FCAAB59AE5517 /* PopupContainer.swift in Sources */, 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | }; 349 | /* End PBXSourcesBuildPhase section */ 350 | 351 | /* Begin PBXTargetDependency section */ 352 | 47EAD3ABDBDB3B7B6A5A40E6E2FDE31A /* PBXTargetDependency */ = { 353 | isa = PBXTargetDependency; 354 | name = PopupContainer; 355 | target = 24563F46ABC2D4234D45C9270F779D8E /* PopupContainer */; 356 | targetProxy = 69F96C26D3C802554661D308EDA58A56 /* PBXContainerItemProxy */; 357 | }; 358 | 996F913B620F55F1EF11D4B53C369542 /* PBXTargetDependency */ = { 359 | isa = PBXTargetDependency; 360 | name = "PopupContainer-PopupContainer"; 361 | target = DEBEE914FDB1C8028382DFDD6828A2AD /* PopupContainer-PopupContainer */; 362 | targetProxy = 6920B3237C6898C9D5EDB81B458F6E9E /* PBXContainerItemProxy */; 363 | }; 364 | /* End PBXTargetDependency section */ 365 | 366 | /* Begin XCBuildConfiguration section */ 367 | 12FDD47FF97AE069FDB0BBB408CD3359 /* Debug */ = { 368 | isa = XCBuildConfiguration; 369 | baseConfigurationReference = 3137C4210F1587B2231011C0DD06710D /* Pods-PopupContainerExample.debug.xcconfig */; 370 | buildSettings = { 371 | CODE_SIGN_IDENTITY = ""; 372 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 373 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 374 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 375 | CURRENT_PROJECT_VERSION = 1; 376 | DEBUG_INFORMATION_FORMAT = dwarf; 377 | DEFINES_MODULE = YES; 378 | DYLIB_COMPATIBILITY_VERSION = 1; 379 | DYLIB_CURRENT_VERSION = 1; 380 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 381 | ENABLE_STRICT_OBJC_MSGSEND = YES; 382 | GCC_NO_COMMON_BLOCKS = YES; 383 | INFOPLIST_FILE = "Target Support Files/Pods-PopupContainerExample/Info.plist"; 384 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 385 | IPHONEOS_DEPLOYMENT_TARGET = 8.2; 386 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 387 | MACH_O_TYPE = staticlib; 388 | MODULEMAP_FILE = "Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample.modulemap"; 389 | MTL_ENABLE_DEBUG_INFO = YES; 390 | OTHER_LDFLAGS = ""; 391 | OTHER_LIBTOOLFLAGS = ""; 392 | PODS_ROOT = "$(SRCROOT)"; 393 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 394 | PRODUCT_NAME = Pods_PopupContainerExample; 395 | SDKROOT = iphoneos; 396 | SKIP_INSTALL = YES; 397 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 398 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 399 | SWIFT_VERSION = 3.0; 400 | TARGETED_DEVICE_FAMILY = "1,2"; 401 | VERSIONING_SYSTEM = "apple-generic"; 402 | VERSION_INFO_PREFIX = ""; 403 | }; 404 | name = Debug; 405 | }; 406 | 39E8DD539A9B84ED2289659C42735981 /* Release */ = { 407 | isa = XCBuildConfiguration; 408 | buildSettings = { 409 | ALWAYS_SEARCH_USER_PATHS = NO; 410 | CLANG_ANALYZER_NONNULL = YES; 411 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 412 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 413 | CLANG_CXX_LIBRARY = "libc++"; 414 | CLANG_ENABLE_MODULES = YES; 415 | CLANG_ENABLE_OBJC_ARC = YES; 416 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 417 | CLANG_WARN_BOOL_CONVERSION = YES; 418 | CLANG_WARN_COMMA = YES; 419 | CLANG_WARN_CONSTANT_CONVERSION = YES; 420 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 421 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 422 | CLANG_WARN_EMPTY_BODY = YES; 423 | CLANG_WARN_ENUM_CONVERSION = YES; 424 | CLANG_WARN_INFINITE_RECURSION = YES; 425 | CLANG_WARN_INT_CONVERSION = YES; 426 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 427 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 428 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 429 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 430 | CLANG_WARN_STRICT_PROTOTYPES = YES; 431 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 432 | CLANG_WARN_UNREACHABLE_CODE = YES; 433 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 434 | CODE_SIGNING_REQUIRED = NO; 435 | COPY_PHASE_STRIP = YES; 436 | ENABLE_NS_ASSERTIONS = NO; 437 | ENABLE_STRICT_OBJC_MSGSEND = YES; 438 | GCC_C_LANGUAGE_STANDARD = gnu99; 439 | GCC_NO_COMMON_BLOCKS = YES; 440 | GCC_PREPROCESSOR_DEFINITIONS = ( 441 | "POD_CONFIGURATION_RELEASE=1", 442 | "$(inherited)", 443 | ); 444 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 445 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 446 | GCC_WARN_UNDECLARED_SELECTOR = YES; 447 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 448 | GCC_WARN_UNUSED_FUNCTION = YES; 449 | GCC_WARN_UNUSED_VARIABLE = YES; 450 | IPHONEOS_DEPLOYMENT_TARGET = 8.2; 451 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 452 | STRIP_INSTALLED_PRODUCT = NO; 453 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 454 | SYMROOT = "${SRCROOT}/../build"; 455 | VALIDATE_PRODUCT = YES; 456 | }; 457 | name = Release; 458 | }; 459 | 417CA19F0136AA833D3065E0818AA8F3 /* Release */ = { 460 | isa = XCBuildConfiguration; 461 | baseConfigurationReference = EE431ADA434A15E18DAC14D45F83721F /* PopupContainer.xcconfig */; 462 | buildSettings = { 463 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/PopupContainer"; 464 | ENABLE_STRICT_OBJC_MSGSEND = YES; 465 | GCC_NO_COMMON_BLOCKS = YES; 466 | INFOPLIST_FILE = "Target Support Files/PopupContainer/ResourceBundle-PopupContainer-Info.plist"; 467 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 468 | PRODUCT_NAME = PopupContainer; 469 | SDKROOT = iphoneos; 470 | SKIP_INSTALL = YES; 471 | TARGETED_DEVICE_FAMILY = "1,2"; 472 | WRAPPER_EXTENSION = bundle; 473 | }; 474 | name = Release; 475 | }; 476 | 4DBB5F701A91AE1BF803384EB0CADE5D /* Debug */ = { 477 | isa = XCBuildConfiguration; 478 | baseConfigurationReference = EE431ADA434A15E18DAC14D45F83721F /* PopupContainer.xcconfig */; 479 | buildSettings = { 480 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/PopupContainer"; 481 | ENABLE_STRICT_OBJC_MSGSEND = YES; 482 | GCC_NO_COMMON_BLOCKS = YES; 483 | INFOPLIST_FILE = "Target Support Files/PopupContainer/ResourceBundle-PopupContainer-Info.plist"; 484 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 485 | PRODUCT_NAME = PopupContainer; 486 | SDKROOT = iphoneos; 487 | SKIP_INSTALL = YES; 488 | TARGETED_DEVICE_FAMILY = "1,2"; 489 | WRAPPER_EXTENSION = bundle; 490 | }; 491 | name = Debug; 492 | }; 493 | 5FAF28F9385225F726A28C8025104632 /* Debug */ = { 494 | isa = XCBuildConfiguration; 495 | buildSettings = { 496 | ALWAYS_SEARCH_USER_PATHS = NO; 497 | CLANG_ANALYZER_NONNULL = YES; 498 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 499 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 500 | CLANG_CXX_LIBRARY = "libc++"; 501 | CLANG_ENABLE_MODULES = YES; 502 | CLANG_ENABLE_OBJC_ARC = YES; 503 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 504 | CLANG_WARN_BOOL_CONVERSION = YES; 505 | CLANG_WARN_COMMA = YES; 506 | CLANG_WARN_CONSTANT_CONVERSION = YES; 507 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 508 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 509 | CLANG_WARN_EMPTY_BODY = YES; 510 | CLANG_WARN_ENUM_CONVERSION = YES; 511 | CLANG_WARN_INFINITE_RECURSION = YES; 512 | CLANG_WARN_INT_CONVERSION = YES; 513 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 514 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 515 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 516 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 517 | CLANG_WARN_STRICT_PROTOTYPES = YES; 518 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 519 | CLANG_WARN_UNREACHABLE_CODE = YES; 520 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 521 | CODE_SIGNING_REQUIRED = NO; 522 | COPY_PHASE_STRIP = NO; 523 | ENABLE_STRICT_OBJC_MSGSEND = YES; 524 | ENABLE_TESTABILITY = YES; 525 | GCC_C_LANGUAGE_STANDARD = gnu99; 526 | GCC_DYNAMIC_NO_PIC = NO; 527 | GCC_NO_COMMON_BLOCKS = YES; 528 | GCC_OPTIMIZATION_LEVEL = 0; 529 | GCC_PREPROCESSOR_DEFINITIONS = ( 530 | "POD_CONFIGURATION_DEBUG=1", 531 | "DEBUG=1", 532 | "$(inherited)", 533 | ); 534 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 535 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 536 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 537 | GCC_WARN_UNDECLARED_SELECTOR = YES; 538 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 539 | GCC_WARN_UNUSED_FUNCTION = YES; 540 | GCC_WARN_UNUSED_VARIABLE = YES; 541 | IPHONEOS_DEPLOYMENT_TARGET = 8.2; 542 | ONLY_ACTIVE_ARCH = YES; 543 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 544 | STRIP_INSTALLED_PRODUCT = NO; 545 | SYMROOT = "${SRCROOT}/../build"; 546 | }; 547 | name = Debug; 548 | }; 549 | 76EA85F82A3D9B074B7E7EF69C0911F5 /* Release */ = { 550 | isa = XCBuildConfiguration; 551 | baseConfigurationReference = EE431ADA434A15E18DAC14D45F83721F /* PopupContainer.xcconfig */; 552 | buildSettings = { 553 | CODE_SIGN_IDENTITY = ""; 554 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 555 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 556 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 557 | CURRENT_PROJECT_VERSION = 1; 558 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 559 | DEFINES_MODULE = YES; 560 | DYLIB_COMPATIBILITY_VERSION = 1; 561 | DYLIB_CURRENT_VERSION = 1; 562 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 563 | ENABLE_STRICT_OBJC_MSGSEND = YES; 564 | GCC_NO_COMMON_BLOCKS = YES; 565 | GCC_PREFIX_HEADER = "Target Support Files/PopupContainer/PopupContainer-prefix.pch"; 566 | INFOPLIST_FILE = "Target Support Files/PopupContainer/Info.plist"; 567 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 568 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 569 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 570 | MODULEMAP_FILE = "Target Support Files/PopupContainer/PopupContainer.modulemap"; 571 | MTL_ENABLE_DEBUG_INFO = NO; 572 | PRODUCT_NAME = PopupContainer; 573 | SDKROOT = iphoneos; 574 | SKIP_INSTALL = YES; 575 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 576 | SWIFT_VERSION = 4.0; 577 | TARGETED_DEVICE_FAMILY = "1,2"; 578 | VERSIONING_SYSTEM = "apple-generic"; 579 | VERSION_INFO_PREFIX = ""; 580 | }; 581 | name = Release; 582 | }; 583 | 7B8C867F542F82109A538A68EAFBA903 /* Release */ = { 584 | isa = XCBuildConfiguration; 585 | baseConfigurationReference = CC6547431F50DAAE9A599C5346F8C006 /* Pods-PopupContainerExample.release.xcconfig */; 586 | buildSettings = { 587 | CODE_SIGN_IDENTITY = ""; 588 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 589 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 590 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 591 | CURRENT_PROJECT_VERSION = 1; 592 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 593 | DEFINES_MODULE = YES; 594 | DYLIB_COMPATIBILITY_VERSION = 1; 595 | DYLIB_CURRENT_VERSION = 1; 596 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 597 | ENABLE_STRICT_OBJC_MSGSEND = YES; 598 | GCC_NO_COMMON_BLOCKS = YES; 599 | INFOPLIST_FILE = "Target Support Files/Pods-PopupContainerExample/Info.plist"; 600 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 601 | IPHONEOS_DEPLOYMENT_TARGET = 8.2; 602 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 603 | MACH_O_TYPE = staticlib; 604 | MODULEMAP_FILE = "Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample.modulemap"; 605 | MTL_ENABLE_DEBUG_INFO = NO; 606 | OTHER_LDFLAGS = ""; 607 | OTHER_LIBTOOLFLAGS = ""; 608 | PODS_ROOT = "$(SRCROOT)"; 609 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 610 | PRODUCT_NAME = Pods_PopupContainerExample; 611 | SDKROOT = iphoneos; 612 | SKIP_INSTALL = YES; 613 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 614 | SWIFT_VERSION = 3.0; 615 | TARGETED_DEVICE_FAMILY = "1,2"; 616 | VERSIONING_SYSTEM = "apple-generic"; 617 | VERSION_INFO_PREFIX = ""; 618 | }; 619 | name = Release; 620 | }; 621 | C4B053E3568602532BD8576BB5D0EA8A /* Debug */ = { 622 | isa = XCBuildConfiguration; 623 | baseConfigurationReference = EE431ADA434A15E18DAC14D45F83721F /* PopupContainer.xcconfig */; 624 | buildSettings = { 625 | CODE_SIGN_IDENTITY = ""; 626 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 627 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 628 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 629 | CURRENT_PROJECT_VERSION = 1; 630 | DEBUG_INFORMATION_FORMAT = dwarf; 631 | DEFINES_MODULE = YES; 632 | DYLIB_COMPATIBILITY_VERSION = 1; 633 | DYLIB_CURRENT_VERSION = 1; 634 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 635 | ENABLE_STRICT_OBJC_MSGSEND = YES; 636 | GCC_NO_COMMON_BLOCKS = YES; 637 | GCC_PREFIX_HEADER = "Target Support Files/PopupContainer/PopupContainer-prefix.pch"; 638 | INFOPLIST_FILE = "Target Support Files/PopupContainer/Info.plist"; 639 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 640 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 641 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 642 | MODULEMAP_FILE = "Target Support Files/PopupContainer/PopupContainer.modulemap"; 643 | MTL_ENABLE_DEBUG_INFO = YES; 644 | PRODUCT_NAME = PopupContainer; 645 | SDKROOT = iphoneos; 646 | SKIP_INSTALL = YES; 647 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 648 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 649 | SWIFT_VERSION = 4.0; 650 | TARGETED_DEVICE_FAMILY = "1,2"; 651 | VERSIONING_SYSTEM = "apple-generic"; 652 | VERSION_INFO_PREFIX = ""; 653 | }; 654 | name = Debug; 655 | }; 656 | /* End XCBuildConfiguration section */ 657 | 658 | /* Begin XCConfigurationList section */ 659 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 660 | isa = XCConfigurationList; 661 | buildConfigurations = ( 662 | 5FAF28F9385225F726A28C8025104632 /* Debug */, 663 | 39E8DD539A9B84ED2289659C42735981 /* Release */, 664 | ); 665 | defaultConfigurationIsVisible = 0; 666 | defaultConfigurationName = Release; 667 | }; 668 | 3D9F6A8CBE27757FF8667AF7AA2B00A8 /* Build configuration list for PBXNativeTarget "Pods-PopupContainerExample" */ = { 669 | isa = XCConfigurationList; 670 | buildConfigurations = ( 671 | 12FDD47FF97AE069FDB0BBB408CD3359 /* Debug */, 672 | 7B8C867F542F82109A538A68EAFBA903 /* Release */, 673 | ); 674 | defaultConfigurationIsVisible = 0; 675 | defaultConfigurationName = Release; 676 | }; 677 | 6C682F2A46011420A262880A1EE8D4C0 /* Build configuration list for PBXNativeTarget "PopupContainer" */ = { 678 | isa = XCConfigurationList; 679 | buildConfigurations = ( 680 | C4B053E3568602532BD8576BB5D0EA8A /* Debug */, 681 | 76EA85F82A3D9B074B7E7EF69C0911F5 /* Release */, 682 | ); 683 | defaultConfigurationIsVisible = 0; 684 | defaultConfigurationName = Release; 685 | }; 686 | 8F7D523FA5222F91E369726DA2F00F48 /* Build configuration list for PBXNativeTarget "PopupContainer-PopupContainer" */ = { 687 | isa = XCConfigurationList; 688 | buildConfigurations = ( 689 | 4DBB5F701A91AE1BF803384EB0CADE5D /* Debug */, 690 | 417CA19F0136AA833D3065E0818AA8F3 /* Release */, 691 | ); 692 | defaultConfigurationIsVisible = 0; 693 | defaultConfigurationName = Release; 694 | }; 695 | /* End XCConfigurationList section */ 696 | }; 697 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 698 | } 699 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PopupContainerExample/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-PopupContainerExample/Pods-PopupContainerExample-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## PopupContainer 5 | 6 | Copyright (c) 2015 Technopix 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-PopupContainerExample/Pods-PopupContainerExample-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) 2015 Technopix <www.technopix.com.ar> 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 | PopupContainer 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-PopupContainerExample/Pods-PopupContainerExample-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_PopupContainerExample : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_PopupContainerExample 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/PopupContainer/PopupContainer.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/PopupContainer/PopupContainer.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample-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_PopupContainerExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_PopupContainerExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/PopupContainer" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/PopupContainer/PopupContainer.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "PopupContainer" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_PopupContainerExample { 2 | umbrella header "Pods-PopupContainerExample-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/PopupContainer" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/PopupContainer/PopupContainer.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "PopupContainer" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PopupContainer/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.0.5 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PopupContainer/PopupContainer-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_PopupContainer : NSObject 3 | @end 4 | @implementation PodsDummy_PopupContainer 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PopupContainer/PopupContainer-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/PopupContainer/PopupContainer-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 PopupContainerVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char PopupContainerVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PopupContainer/PopupContainer.modulemap: -------------------------------------------------------------------------------- 1 | framework module PopupContainer { 2 | umbrella header "PopupContainer-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PopupContainer/PopupContainer.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/PopupContainer 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PopupContainer/ResourceBundle-PopupContainer-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.0.5 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | A07042CF1AB1D243008D76F5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A07042CE1AB1D243008D76F5 /* AppDelegate.swift */; }; 11 | A07042D11AB1D243008D76F5 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A07042D01AB1D243008D76F5 /* ViewController.swift */; }; 12 | A07042D41AB1D243008D76F5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A07042D21AB1D243008D76F5 /* Main.storyboard */; }; 13 | A07042D61AB1D243008D76F5 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A07042D51AB1D243008D76F5 /* Images.xcassets */; }; 14 | A07042D91AB1D243008D76F5 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = A07042D71AB1D243008D76F5 /* LaunchScreen.xib */; }; 15 | A07042F01AB1D3F5008D76F5 /* XibPopup.swift in Sources */ = {isa = PBXBuildFile; fileRef = A07042EF1AB1D3F5008D76F5 /* XibPopup.swift */; }; 16 | A07042F21AB1D426008D76F5 /* XibPopup.xib in Resources */ = {isa = PBXBuildFile; fileRef = A07042F11AB1D426008D76F5 /* XibPopup.xib */; }; 17 | FB2DADA35C8E9CA24696F65C /* Pods_PopupContainerExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DF34B6CAE1223F115D8E818B /* Pods_PopupContainerExample.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXFileReference section */ 21 | 007ADABA646B2EB98FA5068F /* Pods-PopupContainerExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PopupContainerExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample.release.xcconfig"; sourceTree = ""; }; 22 | 9EC708086549EA66451C9F08 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | A07042C91AB1D243008D76F5 /* PopupContainerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PopupContainerExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 24 | A07042CD1AB1D243008D76F5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 25 | A07042CE1AB1D243008D76F5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 26 | A07042D01AB1D243008D76F5 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 27 | A07042D31AB1D243008D76F5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 28 | A07042D51AB1D243008D76F5 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 29 | A07042D81AB1D243008D76F5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 30 | A07042EF1AB1D3F5008D76F5 /* XibPopup.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = XibPopup.swift; path = XibPopup/XibPopup.swift; sourceTree = ""; }; 31 | A07042F11AB1D426008D76F5 /* XibPopup.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = XibPopup.xib; path = XibPopup/XibPopup.xib; sourceTree = ""; }; 32 | D5A15C694419EB9550E4B49B /* Pods-PopupContainerExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PopupContainerExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample.debug.xcconfig"; sourceTree = ""; }; 33 | DF34B6CAE1223F115D8E818B /* Pods_PopupContainerExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PopupContainerExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | /* End PBXFileReference section */ 35 | 36 | /* Begin PBXFrameworksBuildPhase section */ 37 | A07042C61AB1D243008D76F5 /* Frameworks */ = { 38 | isa = PBXFrameworksBuildPhase; 39 | buildActionMask = 2147483647; 40 | files = ( 41 | FB2DADA35C8E9CA24696F65C /* Pods_PopupContainerExample.framework in Frameworks */, 42 | ); 43 | runOnlyForDeploymentPostprocessing = 0; 44 | }; 45 | /* End PBXFrameworksBuildPhase section */ 46 | 47 | /* Begin PBXGroup section */ 48 | 864D4AF38AD15EB3ADA6B38F /* Pods */ = { 49 | isa = PBXGroup; 50 | children = ( 51 | D5A15C694419EB9550E4B49B /* Pods-PopupContainerExample.debug.xcconfig */, 52 | 007ADABA646B2EB98FA5068F /* Pods-PopupContainerExample.release.xcconfig */, 53 | ); 54 | name = Pods; 55 | sourceTree = ""; 56 | }; 57 | A07042C01AB1D243008D76F5 = { 58 | isa = PBXGroup; 59 | children = ( 60 | A07042CB1AB1D243008D76F5 /* PopupContainerExample */, 61 | A07042CA1AB1D243008D76F5 /* Products */, 62 | FD07D275FA17DC2BD3681607 /* Frameworks */, 63 | 864D4AF38AD15EB3ADA6B38F /* Pods */, 64 | ); 65 | sourceTree = ""; 66 | }; 67 | A07042CA1AB1D243008D76F5 /* Products */ = { 68 | isa = PBXGroup; 69 | children = ( 70 | A07042C91AB1D243008D76F5 /* PopupContainerExample.app */, 71 | ); 72 | name = Products; 73 | sourceTree = ""; 74 | }; 75 | A07042CB1AB1D243008D76F5 /* PopupContainerExample */ = { 76 | isa = PBXGroup; 77 | children = ( 78 | A07042EE1AB1D3CA008D76F5 /* XibPopup */, 79 | A07042CE1AB1D243008D76F5 /* AppDelegate.swift */, 80 | A07042D01AB1D243008D76F5 /* ViewController.swift */, 81 | A07042D21AB1D243008D76F5 /* Main.storyboard */, 82 | A07042D51AB1D243008D76F5 /* Images.xcassets */, 83 | A07042D71AB1D243008D76F5 /* LaunchScreen.xib */, 84 | A07042CC1AB1D243008D76F5 /* Supporting Files */, 85 | ); 86 | path = PopupContainerExample; 87 | sourceTree = ""; 88 | }; 89 | A07042CC1AB1D243008D76F5 /* Supporting Files */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | A07042CD1AB1D243008D76F5 /* Info.plist */, 93 | ); 94 | name = "Supporting Files"; 95 | sourceTree = ""; 96 | }; 97 | A07042EE1AB1D3CA008D76F5 /* XibPopup */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | A07042EF1AB1D3F5008D76F5 /* XibPopup.swift */, 101 | A07042F11AB1D426008D76F5 /* XibPopup.xib */, 102 | ); 103 | name = XibPopup; 104 | sourceTree = ""; 105 | }; 106 | FD07D275FA17DC2BD3681607 /* Frameworks */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 9EC708086549EA66451C9F08 /* Pods.framework */, 110 | DF34B6CAE1223F115D8E818B /* Pods_PopupContainerExample.framework */, 111 | ); 112 | name = Frameworks; 113 | sourceTree = ""; 114 | }; 115 | /* End PBXGroup section */ 116 | 117 | /* Begin PBXNativeTarget section */ 118 | A07042C81AB1D243008D76F5 /* PopupContainerExample */ = { 119 | isa = PBXNativeTarget; 120 | buildConfigurationList = A07042E81AB1D243008D76F5 /* Build configuration list for PBXNativeTarget "PopupContainerExample" */; 121 | buildPhases = ( 122 | 461952BD2CE08D358FB55C9D /* [CP] Check Pods Manifest.lock */, 123 | A07042C51AB1D243008D76F5 /* Sources */, 124 | A07042C61AB1D243008D76F5 /* Frameworks */, 125 | A07042C71AB1D243008D76F5 /* Resources */, 126 | 7F0D2C9870F86D03AEDFC184 /* [CP] Embed Pods Frameworks */, 127 | 8EFAD4933DBE00C25D082E50 /* [CP] Copy Pods Resources */, 128 | ); 129 | buildRules = ( 130 | ); 131 | dependencies = ( 132 | ); 133 | name = PopupContainerExample; 134 | productName = PopupContainerExample; 135 | productReference = A07042C91AB1D243008D76F5 /* PopupContainerExample.app */; 136 | productType = "com.apple.product-type.application"; 137 | }; 138 | /* End PBXNativeTarget section */ 139 | 140 | /* Begin PBXProject section */ 141 | A07042C11AB1D243008D76F5 /* Project object */ = { 142 | isa = PBXProject; 143 | attributes = { 144 | LastSwiftUpdateCheck = 0700; 145 | LastUpgradeCheck = 0900; 146 | ORGANIZATIONNAME = Technopix; 147 | TargetAttributes = { 148 | A07042C81AB1D243008D76F5 = { 149 | CreatedOnToolsVersion = 6.2; 150 | DevelopmentTeam = EA6VV6W3P4; 151 | LastSwiftMigration = 0800; 152 | }; 153 | }; 154 | }; 155 | buildConfigurationList = A07042C41AB1D243008D76F5 /* Build configuration list for PBXProject "PopupContainerExample" */; 156 | compatibilityVersion = "Xcode 3.2"; 157 | developmentRegion = English; 158 | hasScannedForEncodings = 0; 159 | knownRegions = ( 160 | en, 161 | Base, 162 | ); 163 | mainGroup = A07042C01AB1D243008D76F5; 164 | productRefGroup = A07042CA1AB1D243008D76F5 /* Products */; 165 | projectDirPath = ""; 166 | projectRoot = ""; 167 | targets = ( 168 | A07042C81AB1D243008D76F5 /* PopupContainerExample */, 169 | ); 170 | }; 171 | /* End PBXProject section */ 172 | 173 | /* Begin PBXResourcesBuildPhase section */ 174 | A07042C71AB1D243008D76F5 /* Resources */ = { 175 | isa = PBXResourcesBuildPhase; 176 | buildActionMask = 2147483647; 177 | files = ( 178 | A07042F21AB1D426008D76F5 /* XibPopup.xib in Resources */, 179 | A07042D41AB1D243008D76F5 /* Main.storyboard in Resources */, 180 | A07042D91AB1D243008D76F5 /* LaunchScreen.xib in Resources */, 181 | A07042D61AB1D243008D76F5 /* Images.xcassets in Resources */, 182 | ); 183 | runOnlyForDeploymentPostprocessing = 0; 184 | }; 185 | /* End PBXResourcesBuildPhase section */ 186 | 187 | /* Begin PBXShellScriptBuildPhase section */ 188 | 461952BD2CE08D358FB55C9D /* [CP] Check Pods Manifest.lock */ = { 189 | isa = PBXShellScriptBuildPhase; 190 | buildActionMask = 2147483647; 191 | files = ( 192 | ); 193 | inputPaths = ( 194 | ); 195 | name = "[CP] Check Pods Manifest.lock"; 196 | outputPaths = ( 197 | ); 198 | runOnlyForDeploymentPostprocessing = 0; 199 | shellPath = /bin/sh; 200 | shellScript = "diff \"${PODS_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"; 201 | showEnvVarsInLog = 0; 202 | }; 203 | 7F0D2C9870F86D03AEDFC184 /* [CP] Embed Pods Frameworks */ = { 204 | isa = PBXShellScriptBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | ); 208 | inputPaths = ( 209 | ); 210 | name = "[CP] Embed Pods Frameworks"; 211 | outputPaths = ( 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | shellPath = /bin/sh; 215 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample-frameworks.sh\"\n"; 216 | showEnvVarsInLog = 0; 217 | }; 218 | 8EFAD4933DBE00C25D082E50 /* [CP] Copy Pods Resources */ = { 219 | isa = PBXShellScriptBuildPhase; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | ); 223 | inputPaths = ( 224 | ); 225 | name = "[CP] Copy Pods Resources"; 226 | outputPaths = ( 227 | ); 228 | runOnlyForDeploymentPostprocessing = 0; 229 | shellPath = /bin/sh; 230 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PopupContainerExample/Pods-PopupContainerExample-resources.sh\"\n"; 231 | showEnvVarsInLog = 0; 232 | }; 233 | /* End PBXShellScriptBuildPhase section */ 234 | 235 | /* Begin PBXSourcesBuildPhase section */ 236 | A07042C51AB1D243008D76F5 /* Sources */ = { 237 | isa = PBXSourcesBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | A07042F01AB1D3F5008D76F5 /* XibPopup.swift in Sources */, 241 | A07042D11AB1D243008D76F5 /* ViewController.swift in Sources */, 242 | A07042CF1AB1D243008D76F5 /* AppDelegate.swift in Sources */, 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | /* End PBXSourcesBuildPhase section */ 247 | 248 | /* Begin PBXVariantGroup section */ 249 | A07042D21AB1D243008D76F5 /* Main.storyboard */ = { 250 | isa = PBXVariantGroup; 251 | children = ( 252 | A07042D31AB1D243008D76F5 /* Base */, 253 | ); 254 | name = Main.storyboard; 255 | sourceTree = ""; 256 | }; 257 | A07042D71AB1D243008D76F5 /* LaunchScreen.xib */ = { 258 | isa = PBXVariantGroup; 259 | children = ( 260 | A07042D81AB1D243008D76F5 /* Base */, 261 | ); 262 | name = LaunchScreen.xib; 263 | sourceTree = ""; 264 | }; 265 | /* End PBXVariantGroup section */ 266 | 267 | /* Begin XCBuildConfiguration section */ 268 | A07042E61AB1D243008D76F5 /* Debug */ = { 269 | isa = XCBuildConfiguration; 270 | buildSettings = { 271 | ALWAYS_SEARCH_USER_PATHS = NO; 272 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 273 | CLANG_CXX_LIBRARY = "libc++"; 274 | CLANG_ENABLE_MODULES = YES; 275 | CLANG_ENABLE_OBJC_ARC = YES; 276 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 277 | CLANG_WARN_BOOL_CONVERSION = YES; 278 | CLANG_WARN_COMMA = YES; 279 | CLANG_WARN_CONSTANT_CONVERSION = YES; 280 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 281 | CLANG_WARN_EMPTY_BODY = YES; 282 | CLANG_WARN_ENUM_CONVERSION = YES; 283 | CLANG_WARN_INFINITE_RECURSION = YES; 284 | CLANG_WARN_INT_CONVERSION = YES; 285 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 286 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 287 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 288 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 289 | CLANG_WARN_STRICT_PROTOTYPES = YES; 290 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 291 | CLANG_WARN_UNREACHABLE_CODE = YES; 292 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 293 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 294 | COPY_PHASE_STRIP = NO; 295 | ENABLE_STRICT_OBJC_MSGSEND = YES; 296 | ENABLE_TESTABILITY = YES; 297 | GCC_C_LANGUAGE_STANDARD = gnu99; 298 | GCC_DYNAMIC_NO_PIC = NO; 299 | GCC_NO_COMMON_BLOCKS = YES; 300 | GCC_OPTIMIZATION_LEVEL = 0; 301 | GCC_PREPROCESSOR_DEFINITIONS = ( 302 | "DEBUG=1", 303 | "$(inherited)", 304 | ); 305 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 306 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 307 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 308 | GCC_WARN_UNDECLARED_SELECTOR = YES; 309 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 310 | GCC_WARN_UNUSED_FUNCTION = YES; 311 | GCC_WARN_UNUSED_VARIABLE = YES; 312 | IPHONEOS_DEPLOYMENT_TARGET = 8.2; 313 | MTL_ENABLE_DEBUG_INFO = YES; 314 | ONLY_ACTIVE_ARCH = YES; 315 | SDKROOT = iphoneos; 316 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 317 | SWIFT_VERSION = 4.0; 318 | TARGETED_DEVICE_FAMILY = "1,2"; 319 | }; 320 | name = Debug; 321 | }; 322 | A07042E71AB1D243008D76F5 /* Release */ = { 323 | isa = XCBuildConfiguration; 324 | buildSettings = { 325 | ALWAYS_SEARCH_USER_PATHS = NO; 326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 327 | CLANG_CXX_LIBRARY = "libc++"; 328 | CLANG_ENABLE_MODULES = YES; 329 | CLANG_ENABLE_OBJC_ARC = YES; 330 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 331 | CLANG_WARN_BOOL_CONVERSION = YES; 332 | CLANG_WARN_COMMA = YES; 333 | CLANG_WARN_CONSTANT_CONVERSION = YES; 334 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 335 | CLANG_WARN_EMPTY_BODY = YES; 336 | CLANG_WARN_ENUM_CONVERSION = YES; 337 | CLANG_WARN_INFINITE_RECURSION = YES; 338 | CLANG_WARN_INT_CONVERSION = YES; 339 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 340 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 341 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 342 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 343 | CLANG_WARN_STRICT_PROTOTYPES = YES; 344 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 345 | CLANG_WARN_UNREACHABLE_CODE = YES; 346 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 347 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 348 | COPY_PHASE_STRIP = NO; 349 | ENABLE_NS_ASSERTIONS = NO; 350 | ENABLE_STRICT_OBJC_MSGSEND = YES; 351 | GCC_C_LANGUAGE_STANDARD = gnu99; 352 | GCC_NO_COMMON_BLOCKS = YES; 353 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 354 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 355 | GCC_WARN_UNDECLARED_SELECTOR = YES; 356 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 357 | GCC_WARN_UNUSED_FUNCTION = YES; 358 | GCC_WARN_UNUSED_VARIABLE = YES; 359 | IPHONEOS_DEPLOYMENT_TARGET = 8.2; 360 | MTL_ENABLE_DEBUG_INFO = NO; 361 | SDKROOT = iphoneos; 362 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 363 | SWIFT_VERSION = 4.0; 364 | TARGETED_DEVICE_FAMILY = "1,2"; 365 | VALIDATE_PRODUCT = YES; 366 | }; 367 | name = Release; 368 | }; 369 | A07042E91AB1D243008D76F5 /* Debug */ = { 370 | isa = XCBuildConfiguration; 371 | baseConfigurationReference = D5A15C694419EB9550E4B49B /* Pods-PopupContainerExample.debug.xcconfig */; 372 | buildSettings = { 373 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 374 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 375 | DEVELOPMENT_TEAM = EA6VV6W3P4; 376 | INFOPLIST_FILE = PopupContainerExample/Info.plist; 377 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 378 | PRODUCT_BUNDLE_IDENTIFIER = com.fares.PopupContainerExample; 379 | PRODUCT_NAME = "$(TARGET_NAME)"; 380 | SWIFT_INSTALL_OBJC_HEADER = NO; 381 | SWIFT_VERSION = 4.0; 382 | }; 383 | name = Debug; 384 | }; 385 | A07042EA1AB1D243008D76F5 /* Release */ = { 386 | isa = XCBuildConfiguration; 387 | baseConfigurationReference = 007ADABA646B2EB98FA5068F /* Pods-PopupContainerExample.release.xcconfig */; 388 | buildSettings = { 389 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 390 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 391 | DEVELOPMENT_TEAM = EA6VV6W3P4; 392 | INFOPLIST_FILE = PopupContainerExample/Info.plist; 393 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 394 | PRODUCT_BUNDLE_IDENTIFIER = com.fares.PopupContainerExample; 395 | PRODUCT_NAME = "$(TARGET_NAME)"; 396 | SWIFT_INSTALL_OBJC_HEADER = NO; 397 | SWIFT_VERSION = 4.0; 398 | }; 399 | name = Release; 400 | }; 401 | /* End XCBuildConfiguration section */ 402 | 403 | /* Begin XCConfigurationList section */ 404 | A07042C41AB1D243008D76F5 /* Build configuration list for PBXProject "PopupContainerExample" */ = { 405 | isa = XCConfigurationList; 406 | buildConfigurations = ( 407 | A07042E61AB1D243008D76F5 /* Debug */, 408 | A07042E71AB1D243008D76F5 /* Release */, 409 | ); 410 | defaultConfigurationIsVisible = 0; 411 | defaultConfigurationName = Release; 412 | }; 413 | A07042E81AB1D243008D76F5 /* Build configuration list for PBXNativeTarget "PopupContainerExample" */ = { 414 | isa = XCConfigurationList; 415 | buildConfigurations = ( 416 | A07042E91AB1D243008D76F5 /* Debug */, 417 | A07042EA1AB1D243008D76F5 /* Release */, 418 | ); 419 | defaultConfigurationIsVisible = 0; 420 | defaultConfigurationName = Release; 421 | }; 422 | /* End XCConfigurationList section */ 423 | }; 424 | rootObject = A07042C11AB1D243008D76F5 /* Project object */; 425 | } 426 | -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcodeproj/project.xcworkspace/xcuserdata/Lucas.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Example/PopupContainerExample.xcodeproj/project.xcworkspace/xcuserdata/Lucas.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcodeproj/project.xcworkspace/xcuserdata/medialis.net.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Example/PopupContainerExample.xcodeproj/project.xcworkspace/xcuserdata/medialis.net.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcodeproj/xcuserdata/Lucas.xcuserdatad/xcschemes/PopupContainerExample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 77 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 96 | 102 | 103 | 104 | 105 | 107 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcodeproj/xcuserdata/Lucas.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | PopupContainerExample.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | A07042C81AB1D243008D76F5 16 | 17 | primary 18 | 19 | 20 | A07042DD1AB1D243008D76F5 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcodeproj/xcuserdata/medialis.net.xcuserdatad/xcschemes/PopupContainerExample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcodeproj/xcuserdata/medialis.net.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | PopupContainerExample.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | A07042C81AB1D243008D76F5 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/PopupContainerExample.xcworkspace/xcuserdata/medialis.net.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Example/PopupContainerExample.xcworkspace/xcuserdata/medialis.net.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/PopupContainerExample/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // PopupContainerExample 4 | // 5 | // Created by Lucas Diez de Medina on 3/12/15. 6 | // Copyright (c) 2015 Technopix. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/PopupContainerExample/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/PopupContainerExample/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 31 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /Example/PopupContainerExample/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /Example/PopupContainerExample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Example/PopupContainerExample/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // PopupContainerExample 4 | // 5 | // Created by Lucas Diez de Medina on 3/12/15. 6 | // Copyright (c) 2015 Technopix. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import PopupContainer 11 | 12 | class ViewController: UIViewController { 13 | 14 | var aPopupContainer: PopupContainer? 15 | 16 | @IBAction func showFromXibButtonPressed(_ sender: AnyObject) { 17 | let xibView = Bundle.main.loadNibNamed("XibPopup", owner: nil, options: nil)?[0] as! XibPopup 18 | PopupContainer.generatePopupWithView(xibView).show() 19 | } 20 | 21 | @IBAction func showFromCodedUIViewButtonPressed(_ sender: AnyObject) { 22 | let codedView = UIView(frame: CGRect(x: 0, y: 0, width: 100, height: 100)) 23 | codedView.backgroundColor = UIColor.black 24 | let closeButton = UIButton(frame: CGRect(x: 0, y: 0, width: 80, height: 50)) 25 | closeButton.center = codedView.center 26 | closeButton.setTitle("Close!", for: UIControlState()) 27 | closeButton.addTarget(self, action: #selector(ViewController.closePopup), for: UIControlEvents.touchUpInside) 28 | codedView.addSubview(closeButton) 29 | 30 | self.aPopupContainer = PopupContainer.generatePopupWithView(codedView) 31 | self.aPopupContainer?.show() 32 | } 33 | 34 | @objc func closePopup() { 35 | self.aPopupContainer?.close() 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /Example/PopupContainerExample/XibPopup/XibPopup.swift: -------------------------------------------------------------------------------- 1 | // 2 | // XibPopup.swift 3 | // PopupContainerExample 4 | // 5 | // Created by Lucas Diez de Medina on 3/12/15. 6 | // Copyright (c) 2015 Technopix. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import PopupContainer 11 | 12 | class XibPopup: UIView { 13 | 14 | @IBAction func closePopupButtonPressed(_ sender: AnyObject) { 15 | if let superView = self.superview { 16 | if superView.isKind(of: PopupContainer.self) { 17 | (superView as! PopupContainer).close() 18 | } 19 | } 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Example/PopupContainerExample/XibPopup/XibPopup.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 19 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Technopix 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/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Pod/Assets/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/PopupContainer.swift: -------------------------------------------------------------------------------- 1 | // PopupContainer.swift 2 | // 3 | // Copyright (c) 2015 Technopix ( http://www.technopix.com.ar ) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | import UIKit 24 | 25 | private let kDialogViewCornerRadius : CGFloat = 3 26 | 27 | open class PopupContainer: UIView { 28 | 29 | let kMotionEffectExtent : CGFloat = 10 30 | 31 | var dialogView : UIView! 32 | 33 | open class func generatePopupWithView(_ view: UIView) -> PopupContainer{ 34 | let popupContainer = PopupContainer() 35 | 36 | UIDevice.current.beginGeneratingDeviceOrientationNotifications() 37 | NotificationCenter.default.addObserver( 38 | popupContainer, 39 | selector: #selector(PopupContainer.interfaceOrientationChanged(notification:)), 40 | name: NSNotification.Name.UIDeviceOrientationDidChange, 41 | object: nil) 42 | 43 | popupContainer.dialogView = view; 44 | popupContainer.dialogView.layer.cornerRadius = kDialogViewCornerRadius 45 | 46 | return popupContainer; 47 | } 48 | 49 | // MARK: - Initialization and deinitialization methods 50 | 51 | deinit { 52 | NotificationCenter.default.removeObserver(self) 53 | UIDevice.current.endGeneratingDeviceOrientationNotifications() 54 | } 55 | 56 | // MARK: Setup UI methods 57 | 58 | func applyMotionEffects() { 59 | let horizontalEfect = UIInterpolatingMotionEffect(keyPath: "center.x", type: .tiltAlongHorizontalAxis) 60 | horizontalEfect.minimumRelativeValue = -kMotionEffectExtent 61 | horizontalEfect.maximumRelativeValue = kMotionEffectExtent 62 | 63 | let verticalEffect = UIInterpolatingMotionEffect(keyPath: "center.y", type: .tiltAlongVerticalAxis) 64 | verticalEffect.minimumRelativeValue = -kMotionEffectExtent 65 | verticalEffect.maximumRelativeValue = kMotionEffectExtent 66 | 67 | let motionEffectGroup = UIMotionEffectGroup() 68 | motionEffectGroup.motionEffects = [horizontalEfect, verticalEffect] 69 | 70 | self.dialogView.addMotionEffect(motionEffectGroup) 71 | } 72 | 73 | @objc func interfaceOrientationChanged(notification: NSNotification) { 74 | var rotationAngle : CGFloat = 0 75 | 76 | switch UIApplication.shared.statusBarOrientation { 77 | case .landscapeLeft: rotationAngle = CGFloat(Double.pi / 2) * 3 78 | case .landscapeRight: rotationAngle = CGFloat(Double.pi / 2) 79 | case .portrait: rotationAngle = 0 80 | case .portraitUpsideDown: rotationAngle = CGFloat(Double.pi) 81 | default: rotationAngle = 0 82 | } 83 | 84 | UIView.animate( 85 | withDuration: 0.5, 86 | delay: 0.0, 87 | options: UIViewAnimationOptions(), 88 | animations: { () -> Void in 89 | let window = UIApplication.shared.delegate!.window! 90 | self.center = CGPoint(x: window!.frame.size.width / 2, y: window!.frame.size.height / 2) 91 | if self.isInIOS8() == false { 92 | self.transform = CGAffineTransform(rotationAngle: rotationAngle) 93 | } 94 | }, completion: nil) 95 | } 96 | 97 | // MARK: Touch events 98 | 99 | open override func touchesEnded(_ touches: Set, with event: UIEvent?) { 100 | let touch = touches.first! 101 | if touchIsOutsideDialogView(touch) { 102 | close() 103 | } 104 | } 105 | 106 | // MARK: - Interaction Methods 107 | 108 | open func show() { 109 | self.applyMotionEffects() 110 | 111 | let screenWidth = UIScreen.main.bounds.size.width 112 | let screenHeight = UIScreen.main.bounds.size.height 113 | let largerSide = screenWidth > screenHeight ? screenWidth : screenHeight 114 | 115 | //For the black background 116 | self.frame = CGRect(x: 0, y: 0, width: largerSide * 2, height: largerSide * 2) 117 | 118 | self.dialogView.layer.opacity = 0.5 119 | self.dialogView.layer.transform = CATransform3DMakeScale(1.3, 1.3, 1.0) 120 | 121 | self.backgroundColor = UIColor.black.withAlphaComponent(0) 122 | self.addSubview(self.dialogView) 123 | 124 | self.dialogView.center = self.center 125 | 126 | let window = UIApplication.shared.delegate!.window! 127 | window?.addSubview(self) 128 | self.center = CGPoint(x: window!.frame.size.width / 2, y: window!.frame.size.height / 2) 129 | 130 | let interfaceOrientation = UIApplication.shared.statusBarOrientation 131 | 132 | switch (interfaceOrientation) { 133 | case .landscapeLeft: self.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi / 2) * 3) 134 | case .landscapeRight: self.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi / 2)) 135 | case .portrait: self.transform = CGAffineTransform(rotationAngle: 0) 136 | case .portraitUpsideDown: self.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) 137 | default: break; 138 | } 139 | 140 | // iOS8 Fix: Transformations are applied only in an animation block. Don't know why... 141 | if self.isInIOS8() { 142 | UIView.animate(withDuration: 0.001, animations: { () -> Void in 143 | self.transform = CGAffineTransform(scaleX: 1, y: 1) 144 | }) 145 | } 146 | 147 | UIView.animate( 148 | withDuration: 0.2, 149 | delay: 0.0, 150 | options: UIViewAnimationOptions.curveEaseInOut, 151 | animations: { () -> Void in 152 | self.backgroundColor = UIColor.black.withAlphaComponent(0.4) 153 | self.dialogView.layer.opacity = 1 154 | self.dialogView.layer.transform = CATransform3DMakeScale(1, 1, 1) 155 | }, completion: nil) 156 | } 157 | 158 | open func close() { 159 | self.dialogView.layer.transform = CATransform3DMakeScale(1, 1, 1) 160 | self.dialogView.layer.opacity = 1.0 161 | 162 | UIView.animate( 163 | withDuration: 0.2, 164 | delay: 0.0, 165 | options: UIViewAnimationOptions(), 166 | animations: { () -> Void in 167 | self.backgroundColor = UIColor.black.withAlphaComponent(0) 168 | self.dialogView.layer.transform = CATransform3DMakeScale(0.6, 0.6, 1) 169 | self.dialogView.layer.opacity = 0 170 | }) { (finished: Bool) -> Void in 171 | self.removeFromSuperview() 172 | } 173 | } 174 | 175 | // MARK: - Helper Methods 176 | 177 | func isInIOS8() -> Bool { 178 | return (UIDevice.current.systemVersion as NSString).floatValue >= 8 179 | } 180 | 181 | func touchIsOutsideDialogView(_ touch: UITouch) -> Bool { 182 | let touchPoint = touch.location(in: dialogView) 183 | return touchPoint.x < 0 || touchPoint.y < 0 || touchPoint.x > dialogView.bounds.width || touchPoint.y > dialogView.bounds.height 184 | } 185 | 186 | } 187 | -------------------------------------------------------------------------------- /PopupContainer.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'PopupContainer' 3 | s.version = '0.0.5' 4 | s.summary = 'A Popup container that shows any UIView as a UIAlertView, taking care of animations and positioning.' 5 | s.homepage = "https://github.com/lucaslt89/PopupContainer" 6 | s.license = 'MIT' 7 | s.author = { "Lucas Diez de Medina @ Technopix" => "lucas.diez@technopix.com.ar" } 8 | s.source = { :git => "https://github.com/lucaslt89/PopupContainer.git", :tag => s.version.to_s } 9 | 10 | s.ios.deployment_target = '8.0' 11 | s.requires_arc = true 12 | 13 | s.source_files = 'Pod/Classes/*.swift' 14 | s.resource_bundles = { 15 | 'PopupContainer' => ['Pod/Assets/*.png'] 16 | } 17 | 18 | end 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PopupContainer 2 | 3 | [![CI Status](http://img.shields.io/travis/Lucas/PopupContainer.svg?style=flat)](https://travis-ci.org/Lucas/PopupContainer) 4 | [![Version](https://img.shields.io/cocoapods/v/PopupContainer.svg?style=flat)](http://cocoadocs.org/docsets/PopupContainer) 5 | [![License](https://img.shields.io/cocoapods/l/PopupContainer.svg?style=flat)](http://cocoadocs.org/docsets/PopupContainer) 6 | [![Platform](https://img.shields.io/cocoapods/p/PopupContainer.svg?style=flat)](http://cocoadocs.org/docsets/PopupContainer) 7 | 8 | ## NOTE 9 | 10 | Since Version 0.0.2 is adapted to Swift 1.2. If you want to use this library with previous Swift versions, force the pod version to 0.0.1 11 | 12 | ## Usage 13 | 14 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 15 | 16 | Before using PopupContainer, import the module to your file: 17 | 18 | import PopupContainer 19 | 20 | To create a popup, use any UIView you have created, either from Xib or from code, and then do 21 | 22 | PopupContainer.generatePopupWithView(yourView).show() 23 | 24 | To close a popup, just call close() function of PopupContainer. 25 | 26 | class ViewController: UIViewController { 27 | var aPopupContainer: PopupContainer? 28 | 29 | @IBAction func showFromXibButtonPressed(sender: AnyObject) { 30 | let xibView = NSBundle.mainBundle().loadNibNamed("XibPopup", owner: nil, options: nil)[0] as XibPopup 31 | self.aPopupContainer = PopupContainer.generatePopupWithView(xibView) 32 | self.aPopupContainer?.show() 33 | } 34 | 35 | func closePopup() { 36 | self.aPopupContainer?.close() 37 | } 38 | } 39 | 40 | ## Requirements 41 | 42 | iOS 8.0+ 43 | 44 | ## Installation 45 | 46 | PopupContainer is available through [CocoaPods](http://cocoapods.org). To install 47 | it, simply add the following line to your Podfile: 48 | 49 | pod "PopupContainer" 50 | 51 | ## Examples 52 | 53 | This screenshots were taken from the example project: 54 | 55 | Portrait: 56 | 57 | ![Portrait popup small](https://github.com/lucaslt89/PopupContainer/blob/master/Screenshots/1.jpg) 58 | ![Protrait popup big](https://github.com/lucaslt89/PopupContainer/blob/master/Screenshots/2.jpg) 59 | 60 | Landscape: 61 | 62 | ![Landscape popup small](https://github.com/lucaslt89/PopupContainer/blob/master/Screenshots/3.jpg) 63 | ![Landscape popup big](https://github.com/lucaslt89/PopupContainer/blob/master/Screenshots/4.jpg) 64 | 65 | ## Author 66 | 67 | Lucas Diez de Medina @ Technopix Argentina, lucas.diez@technopix.com.ar 68 | 69 | 70 | -------------------------------------------------------------------------------- /Screenshots/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Screenshots/1.jpg -------------------------------------------------------------------------------- /Screenshots/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Screenshots/2.jpg -------------------------------------------------------------------------------- /Screenshots/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Screenshots/3.jpg -------------------------------------------------------------------------------- /Screenshots/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucaslt89/PopupContainer/bd8d74cea109f81abb4f75ede4eaf54a69e6cade/Screenshots/4.jpg --------------------------------------------------------------------------------