├── .gitignore ├── Documents └── LSDialogViewController.png ├── Example ├── LSDialogViewController.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── LSDialogViewController-Example.xcscheme ├── LSDialogViewController.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── LSDialogViewController │ ├── AppDelegate.swift │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── CustomDialog.xib │ ├── CustomDialogViewController.swift │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── Main.storyboard │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── LSDialogViewController.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── LSDialogViewController │ │ ├── Info.plist │ │ ├── LSDialogViewController-dummy.m │ │ ├── LSDialogViewController-prefix.pch │ │ ├── LSDialogViewController-umbrella.h │ │ ├── LSDialogViewController.modulemap │ │ └── LSDialogViewController.xcconfig │ │ ├── Pods-LSDialogViewController_Example │ │ ├── Info.plist │ │ ├── Pods-LSDialogViewController_Example-acknowledgements.markdown │ │ ├── Pods-LSDialogViewController_Example-acknowledgements.plist │ │ ├── Pods-LSDialogViewController_Example-dummy.m │ │ ├── Pods-LSDialogViewController_Example-frameworks.sh │ │ ├── Pods-LSDialogViewController_Example-resources.sh │ │ ├── Pods-LSDialogViewController_Example-umbrella.h │ │ ├── Pods-LSDialogViewController_Example.debug.xcconfig │ │ ├── Pods-LSDialogViewController_Example.modulemap │ │ └── Pods-LSDialogViewController_Example.release.xcconfig │ │ └── Pods-LSDialogViewController_Tests │ │ ├── Info.plist │ │ ├── Pods-LSDialogViewController_Tests-acknowledgements.markdown │ │ ├── Pods-LSDialogViewController_Tests-acknowledgements.plist │ │ ├── Pods-LSDialogViewController_Tests-dummy.m │ │ ├── Pods-LSDialogViewController_Tests-frameworks.sh │ │ ├── Pods-LSDialogViewController_Tests-resources.sh │ │ ├── Pods-LSDialogViewController_Tests-umbrella.h │ │ ├── Pods-LSDialogViewController_Tests.debug.xcconfig │ │ ├── Pods-LSDialogViewController_Tests.modulemap │ │ └── Pods-LSDialogViewController_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── LSDialogViewController.podspec ├── LSDialogViewController ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── LSAnimationUtils.swift │ ├── LSDialogBackgroundView.swift │ └── UIViewController+LSDialogViewController.swift └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | 39 | .bundle/ 40 | vendor/ 41 | -------------------------------------------------------------------------------- /Documents/LSDialogViewController.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daihase/LSDialogViewController/1652b98fc085e583134bb1f250ad751b5f38b411/Documents/LSDialogViewController.png -------------------------------------------------------------------------------- /Example/LSDialogViewController.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 12 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 13 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 14 | 615FBB29194BFAE221D5C5D5 /* Pods_LSDialogViewController_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F9FBAC179C213D8DCD28F47D /* Pods_LSDialogViewController_Tests.framework */; }; 15 | FC4C37A31CEEEC9000CA83A4 /* CustomDialog.xib in Resources */ = {isa = PBXBuildFile; fileRef = FC4C37A21CEEEC9000CA83A4 /* CustomDialog.xib */; }; 16 | FC4C37A51CEEECA200CA83A4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FC4C37A41CEEECA200CA83A4 /* Main.storyboard */; }; 17 | FC4C37A71CEEECBD00CA83A4 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC4C37A61CEEECBD00CA83A4 /* ViewController.swift */; }; 18 | FC4C37A91CEEECC800CA83A4 /* CustomDialogViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC4C37A81CEEECC800CA83A4 /* CustomDialogViewController.swift */; }; 19 | FD0F12A0F86298726AC0C1C1 /* Pods_LSDialogViewController_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4AFB520A1B3BDC849621E4BE /* Pods_LSDialogViewController_Example.framework */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 28 | remoteInfo = LSDialogViewController; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 37FD1754750AAA1A9268060C /* Pods-LSDialogViewController_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LSDialogViewController_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests.release.xcconfig"; sourceTree = ""; }; 34 | 4ABE35BCDF825794D80E9489 /* Pods-LSDialogViewController_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LSDialogViewController_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example.debug.xcconfig"; sourceTree = ""; }; 35 | 4AFB520A1B3BDC849621E4BE /* Pods_LSDialogViewController_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LSDialogViewController_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 607FACD01AFB9204008FA782 /* LSDialogViewController_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LSDialogViewController_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 39 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 40 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 41 | 607FACE51AFB9204008FA782 /* LSDialogViewController_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LSDialogViewController_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 44 | 7B575DD1CF148919CC020DB1 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 45 | 8EFB90682AA90F106C9F2356 /* LSDialogViewController.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LSDialogViewController.podspec; path = ../LSDialogViewController.podspec; sourceTree = ""; }; 46 | 8F1D65DE621FAA7DB7AE3636 /* Pods-LSDialogViewController_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LSDialogViewController_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example.release.xcconfig"; sourceTree = ""; }; 47 | A3E972CDAB92B31F9655B91A /* Pods-LSDialogViewController_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LSDialogViewController_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests.debug.xcconfig"; sourceTree = ""; }; 48 | F2A43DE2BE5102F789B7BB7F /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 49 | F9FBAC179C213D8DCD28F47D /* Pods_LSDialogViewController_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LSDialogViewController_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | FC4C37A21CEEEC9000CA83A4 /* CustomDialog.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = CustomDialog.xib; sourceTree = ""; }; 51 | FC4C37A41CEEECA200CA83A4 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 52 | FC4C37A61CEEECBD00CA83A4 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 53 | FC4C37A81CEEECC800CA83A4 /* CustomDialogViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomDialogViewController.swift; sourceTree = ""; }; 54 | /* End PBXFileReference section */ 55 | 56 | /* Begin PBXFrameworksBuildPhase section */ 57 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 58 | isa = PBXFrameworksBuildPhase; 59 | buildActionMask = 2147483647; 60 | files = ( 61 | FD0F12A0F86298726AC0C1C1 /* Pods_LSDialogViewController_Example.framework in Frameworks */, 62 | ); 63 | runOnlyForDeploymentPostprocessing = 0; 64 | }; 65 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | 615FBB29194BFAE221D5C5D5 /* Pods_LSDialogViewController_Tests.framework in Frameworks */, 70 | ); 71 | runOnlyForDeploymentPostprocessing = 0; 72 | }; 73 | /* End PBXFrameworksBuildPhase section */ 74 | 75 | /* Begin PBXGroup section */ 76 | 484ED76C9295D75FF3B5D94C /* Pods */ = { 77 | isa = PBXGroup; 78 | children = ( 79 | 4ABE35BCDF825794D80E9489 /* Pods-LSDialogViewController_Example.debug.xcconfig */, 80 | 8F1D65DE621FAA7DB7AE3636 /* Pods-LSDialogViewController_Example.release.xcconfig */, 81 | A3E972CDAB92B31F9655B91A /* Pods-LSDialogViewController_Tests.debug.xcconfig */, 82 | 37FD1754750AAA1A9268060C /* Pods-LSDialogViewController_Tests.release.xcconfig */, 83 | ); 84 | name = Pods; 85 | sourceTree = ""; 86 | }; 87 | 607FACC71AFB9204008FA782 = { 88 | isa = PBXGroup; 89 | children = ( 90 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 91 | 607FACD21AFB9204008FA782 /* Example for LSDialogViewController */, 92 | 607FACE81AFB9204008FA782 /* Tests */, 93 | 607FACD11AFB9204008FA782 /* Products */, 94 | 484ED76C9295D75FF3B5D94C /* Pods */, 95 | B5267ADFD08E17301B195ABE /* Frameworks */, 96 | ); 97 | sourceTree = ""; 98 | }; 99 | 607FACD11AFB9204008FA782 /* Products */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 607FACD01AFB9204008FA782 /* LSDialogViewController_Example.app */, 103 | 607FACE51AFB9204008FA782 /* LSDialogViewController_Tests.xctest */, 104 | ); 105 | name = Products; 106 | sourceTree = ""; 107 | }; 108 | 607FACD21AFB9204008FA782 /* Example for LSDialogViewController */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 112 | FC4C37A81CEEECC800CA83A4 /* CustomDialogViewController.swift */, 113 | FC4C37A61CEEECBD00CA83A4 /* ViewController.swift */, 114 | FC4C37A41CEEECA200CA83A4 /* Main.storyboard */, 115 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 116 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 117 | FC4C37A21CEEEC9000CA83A4 /* CustomDialog.xib */, 118 | 607FACD31AFB9204008FA782 /* Supporting Files */, 119 | ); 120 | name = "Example for LSDialogViewController"; 121 | path = LSDialogViewController; 122 | sourceTree = ""; 123 | }; 124 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACD41AFB9204008FA782 /* Info.plist */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | 607FACE81AFB9204008FA782 /* Tests */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 136 | 607FACE91AFB9204008FA782 /* Supporting Files */, 137 | ); 138 | path = Tests; 139 | sourceTree = ""; 140 | }; 141 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 607FACEA1AFB9204008FA782 /* Info.plist */, 145 | ); 146 | name = "Supporting Files"; 147 | sourceTree = ""; 148 | }; 149 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 8EFB90682AA90F106C9F2356 /* LSDialogViewController.podspec */, 153 | 7B575DD1CF148919CC020DB1 /* README.md */, 154 | F2A43DE2BE5102F789B7BB7F /* LICENSE */, 155 | ); 156 | name = "Podspec Metadata"; 157 | sourceTree = ""; 158 | }; 159 | B5267ADFD08E17301B195ABE /* Frameworks */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 4AFB520A1B3BDC849621E4BE /* Pods_LSDialogViewController_Example.framework */, 163 | F9FBAC179C213D8DCD28F47D /* Pods_LSDialogViewController_Tests.framework */, 164 | ); 165 | name = Frameworks; 166 | sourceTree = ""; 167 | }; 168 | /* End PBXGroup section */ 169 | 170 | /* Begin PBXNativeTarget section */ 171 | 607FACCF1AFB9204008FA782 /* LSDialogViewController_Example */ = { 172 | isa = PBXNativeTarget; 173 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "LSDialogViewController_Example" */; 174 | buildPhases = ( 175 | 50B588F7CFB01720C56719C3 /* [CP] Check Pods Manifest.lock */, 176 | 607FACCC1AFB9204008FA782 /* Sources */, 177 | 607FACCD1AFB9204008FA782 /* Frameworks */, 178 | 607FACCE1AFB9204008FA782 /* Resources */, 179 | 343DBD677696CAA0FCB6DDA6 /* [CP] Embed Pods Frameworks */, 180 | ABAD7CB7E88BE30DF97768DA /* [CP] Copy Pods Resources */, 181 | ); 182 | buildRules = ( 183 | ); 184 | dependencies = ( 185 | ); 186 | name = LSDialogViewController_Example; 187 | productName = LSDialogViewController; 188 | productReference = 607FACD01AFB9204008FA782 /* LSDialogViewController_Example.app */; 189 | productType = "com.apple.product-type.application"; 190 | }; 191 | 607FACE41AFB9204008FA782 /* LSDialogViewController_Tests */ = { 192 | isa = PBXNativeTarget; 193 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "LSDialogViewController_Tests" */; 194 | buildPhases = ( 195 | 8FDE6ADF9C082BE1D158DF4C /* [CP] Check Pods Manifest.lock */, 196 | 607FACE11AFB9204008FA782 /* Sources */, 197 | 607FACE21AFB9204008FA782 /* Frameworks */, 198 | 607FACE31AFB9204008FA782 /* Resources */, 199 | D8A9BC368007B519EB3ED8F3 /* [CP] Embed Pods Frameworks */, 200 | 9057020CA41D62EAD2B96B3E /* [CP] Copy Pods Resources */, 201 | ); 202 | buildRules = ( 203 | ); 204 | dependencies = ( 205 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 206 | ); 207 | name = LSDialogViewController_Tests; 208 | productName = Tests; 209 | productReference = 607FACE51AFB9204008FA782 /* LSDialogViewController_Tests.xctest */; 210 | productType = "com.apple.product-type.bundle.unit-test"; 211 | }; 212 | /* End PBXNativeTarget section */ 213 | 214 | /* Begin PBXProject section */ 215 | 607FACC81AFB9204008FA782 /* Project object */ = { 216 | isa = PBXProject; 217 | attributes = { 218 | LastSwiftUpdateCheck = 0720; 219 | LastUpgradeCheck = 1110; 220 | ORGANIZATIONNAME = CocoaPods; 221 | TargetAttributes = { 222 | 607FACCF1AFB9204008FA782 = { 223 | CreatedOnToolsVersion = 6.3.1; 224 | LastSwiftMigration = 1000; 225 | ProvisioningStyle = Automatic; 226 | }; 227 | 607FACE41AFB9204008FA782 = { 228 | CreatedOnToolsVersion = 6.3.1; 229 | DevelopmentTeam = QSJ4FM97GU; 230 | LastSwiftMigration = 0910; 231 | TestTargetID = 607FACCF1AFB9204008FA782; 232 | }; 233 | }; 234 | }; 235 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "LSDialogViewController" */; 236 | compatibilityVersion = "Xcode 3.2"; 237 | developmentRegion = en; 238 | hasScannedForEncodings = 0; 239 | knownRegions = ( 240 | en, 241 | Base, 242 | ); 243 | mainGroup = 607FACC71AFB9204008FA782; 244 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 245 | projectDirPath = ""; 246 | projectRoot = ""; 247 | targets = ( 248 | 607FACCF1AFB9204008FA782 /* LSDialogViewController_Example */, 249 | 607FACE41AFB9204008FA782 /* LSDialogViewController_Tests */, 250 | ); 251 | }; 252 | /* End PBXProject section */ 253 | 254 | /* Begin PBXResourcesBuildPhase section */ 255 | 607FACCE1AFB9204008FA782 /* Resources */ = { 256 | isa = PBXResourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 260 | FC4C37A51CEEECA200CA83A4 /* Main.storyboard in Resources */, 261 | FC4C37A31CEEEC9000CA83A4 /* CustomDialog.xib in Resources */, 262 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | 607FACE31AFB9204008FA782 /* Resources */ = { 267 | isa = PBXResourcesBuildPhase; 268 | buildActionMask = 2147483647; 269 | files = ( 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | }; 273 | /* End PBXResourcesBuildPhase section */ 274 | 275 | /* Begin PBXShellScriptBuildPhase section */ 276 | 343DBD677696CAA0FCB6DDA6 /* [CP] Embed Pods Frameworks */ = { 277 | isa = PBXShellScriptBuildPhase; 278 | buildActionMask = 2147483647; 279 | files = ( 280 | ); 281 | inputPaths = ( 282 | ); 283 | name = "[CP] Embed Pods Frameworks"; 284 | outputPaths = ( 285 | ); 286 | runOnlyForDeploymentPostprocessing = 0; 287 | shellPath = /bin/sh; 288 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example-frameworks.sh\"\n"; 289 | showEnvVarsInLog = 0; 290 | }; 291 | 50B588F7CFB01720C56719C3 /* [CP] Check Pods Manifest.lock */ = { 292 | isa = PBXShellScriptBuildPhase; 293 | buildActionMask = 2147483647; 294 | files = ( 295 | ); 296 | inputPaths = ( 297 | ); 298 | name = "[CP] Check Pods Manifest.lock"; 299 | outputPaths = ( 300 | ); 301 | runOnlyForDeploymentPostprocessing = 0; 302 | shellPath = /bin/sh; 303 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 304 | showEnvVarsInLog = 0; 305 | }; 306 | 8FDE6ADF9C082BE1D158DF4C /* [CP] Check Pods Manifest.lock */ = { 307 | isa = PBXShellScriptBuildPhase; 308 | buildActionMask = 2147483647; 309 | files = ( 310 | ); 311 | inputPaths = ( 312 | ); 313 | name = "[CP] Check Pods Manifest.lock"; 314 | outputPaths = ( 315 | ); 316 | runOnlyForDeploymentPostprocessing = 0; 317 | shellPath = /bin/sh; 318 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 319 | showEnvVarsInLog = 0; 320 | }; 321 | 9057020CA41D62EAD2B96B3E /* [CP] Copy Pods Resources */ = { 322 | isa = PBXShellScriptBuildPhase; 323 | buildActionMask = 2147483647; 324 | files = ( 325 | ); 326 | inputPaths = ( 327 | ); 328 | name = "[CP] Copy Pods Resources"; 329 | outputPaths = ( 330 | ); 331 | runOnlyForDeploymentPostprocessing = 0; 332 | shellPath = /bin/sh; 333 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests-resources.sh\"\n"; 334 | showEnvVarsInLog = 0; 335 | }; 336 | ABAD7CB7E88BE30DF97768DA /* [CP] Copy Pods Resources */ = { 337 | isa = PBXShellScriptBuildPhase; 338 | buildActionMask = 2147483647; 339 | files = ( 340 | ); 341 | inputPaths = ( 342 | ); 343 | name = "[CP] Copy Pods Resources"; 344 | outputPaths = ( 345 | ); 346 | runOnlyForDeploymentPostprocessing = 0; 347 | shellPath = /bin/sh; 348 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example-resources.sh\"\n"; 349 | showEnvVarsInLog = 0; 350 | }; 351 | D8A9BC368007B519EB3ED8F3 /* [CP] Embed Pods Frameworks */ = { 352 | isa = PBXShellScriptBuildPhase; 353 | buildActionMask = 2147483647; 354 | files = ( 355 | ); 356 | inputPaths = ( 357 | ); 358 | name = "[CP] Embed Pods Frameworks"; 359 | outputPaths = ( 360 | ); 361 | runOnlyForDeploymentPostprocessing = 0; 362 | shellPath = /bin/sh; 363 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests-frameworks.sh\"\n"; 364 | showEnvVarsInLog = 0; 365 | }; 366 | /* End PBXShellScriptBuildPhase section */ 367 | 368 | /* Begin PBXSourcesBuildPhase section */ 369 | 607FACCC1AFB9204008FA782 /* Sources */ = { 370 | isa = PBXSourcesBuildPhase; 371 | buildActionMask = 2147483647; 372 | files = ( 373 | FC4C37A71CEEECBD00CA83A4 /* ViewController.swift in Sources */, 374 | FC4C37A91CEEECC800CA83A4 /* CustomDialogViewController.swift in Sources */, 375 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | 607FACE11AFB9204008FA782 /* Sources */ = { 380 | isa = PBXSourcesBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | /* End PBXSourcesBuildPhase section */ 388 | 389 | /* Begin PBXTargetDependency section */ 390 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 391 | isa = PBXTargetDependency; 392 | target = 607FACCF1AFB9204008FA782 /* LSDialogViewController_Example */; 393 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 394 | }; 395 | /* End PBXTargetDependency section */ 396 | 397 | /* Begin PBXVariantGroup section */ 398 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 399 | isa = PBXVariantGroup; 400 | children = ( 401 | 607FACDF1AFB9204008FA782 /* Base */, 402 | ); 403 | name = LaunchScreen.xib; 404 | sourceTree = ""; 405 | }; 406 | /* End PBXVariantGroup section */ 407 | 408 | /* Begin XCBuildConfiguration section */ 409 | 607FACED1AFB9204008FA782 /* Debug */ = { 410 | isa = XCBuildConfiguration; 411 | buildSettings = { 412 | ALWAYS_SEARCH_USER_PATHS = NO; 413 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 414 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 415 | CLANG_CXX_LIBRARY = "libc++"; 416 | CLANG_ENABLE_MODULES = YES; 417 | CLANG_ENABLE_OBJC_ARC = YES; 418 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 419 | CLANG_WARN_BOOL_CONVERSION = YES; 420 | CLANG_WARN_COMMA = YES; 421 | CLANG_WARN_CONSTANT_CONVERSION = YES; 422 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 423 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 424 | CLANG_WARN_EMPTY_BODY = YES; 425 | CLANG_WARN_ENUM_CONVERSION = YES; 426 | CLANG_WARN_INFINITE_RECURSION = YES; 427 | CLANG_WARN_INT_CONVERSION = YES; 428 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 429 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 430 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 431 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 432 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 433 | CLANG_WARN_STRICT_PROTOTYPES = YES; 434 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 435 | CLANG_WARN_UNREACHABLE_CODE = YES; 436 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 437 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 438 | COPY_PHASE_STRIP = NO; 439 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 440 | ENABLE_STRICT_OBJC_MSGSEND = YES; 441 | ENABLE_TESTABILITY = YES; 442 | GCC_C_LANGUAGE_STANDARD = gnu99; 443 | GCC_DYNAMIC_NO_PIC = NO; 444 | GCC_NO_COMMON_BLOCKS = YES; 445 | GCC_OPTIMIZATION_LEVEL = 0; 446 | GCC_PREPROCESSOR_DEFINITIONS = ( 447 | "DEBUG=1", 448 | "$(inherited)", 449 | ); 450 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 451 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 452 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 453 | GCC_WARN_UNDECLARED_SELECTOR = YES; 454 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 455 | GCC_WARN_UNUSED_FUNCTION = YES; 456 | GCC_WARN_UNUSED_VARIABLE = YES; 457 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 458 | MTL_ENABLE_DEBUG_INFO = YES; 459 | ONLY_ACTIVE_ARCH = YES; 460 | SDKROOT = iphoneos; 461 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 462 | SWIFT_VERSION = 5.0; 463 | }; 464 | name = Debug; 465 | }; 466 | 607FACEE1AFB9204008FA782 /* Release */ = { 467 | isa = XCBuildConfiguration; 468 | buildSettings = { 469 | ALWAYS_SEARCH_USER_PATHS = NO; 470 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 471 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 472 | CLANG_CXX_LIBRARY = "libc++"; 473 | CLANG_ENABLE_MODULES = YES; 474 | CLANG_ENABLE_OBJC_ARC = YES; 475 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 476 | CLANG_WARN_BOOL_CONVERSION = YES; 477 | CLANG_WARN_COMMA = YES; 478 | CLANG_WARN_CONSTANT_CONVERSION = YES; 479 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 480 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 481 | CLANG_WARN_EMPTY_BODY = YES; 482 | CLANG_WARN_ENUM_CONVERSION = YES; 483 | CLANG_WARN_INFINITE_RECURSION = YES; 484 | CLANG_WARN_INT_CONVERSION = YES; 485 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 486 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 487 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 488 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 489 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 490 | CLANG_WARN_STRICT_PROTOTYPES = YES; 491 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 492 | CLANG_WARN_UNREACHABLE_CODE = YES; 493 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 494 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 495 | COPY_PHASE_STRIP = NO; 496 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 497 | ENABLE_NS_ASSERTIONS = NO; 498 | ENABLE_STRICT_OBJC_MSGSEND = YES; 499 | GCC_C_LANGUAGE_STANDARD = gnu99; 500 | GCC_NO_COMMON_BLOCKS = YES; 501 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 502 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 503 | GCC_WARN_UNDECLARED_SELECTOR = YES; 504 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 505 | GCC_WARN_UNUSED_FUNCTION = YES; 506 | GCC_WARN_UNUSED_VARIABLE = YES; 507 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 508 | MTL_ENABLE_DEBUG_INFO = NO; 509 | SDKROOT = iphoneos; 510 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 511 | SWIFT_VERSION = 5.0; 512 | VALIDATE_PRODUCT = YES; 513 | }; 514 | name = Release; 515 | }; 516 | 607FACF01AFB9204008FA782 /* Debug */ = { 517 | isa = XCBuildConfiguration; 518 | baseConfigurationReference = 4ABE35BCDF825794D80E9489 /* Pods-LSDialogViewController_Example.debug.xcconfig */; 519 | buildSettings = { 520 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 521 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 522 | CODE_SIGN_IDENTITY = "Apple Development"; 523 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 524 | CODE_SIGN_STYLE = Automatic; 525 | DEVELOPMENT_TEAM = ""; 526 | INFOPLIST_FILE = LSDialogViewController/Info.plist; 527 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 528 | MODULE_NAME = ExampleApp; 529 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 530 | PRODUCT_NAME = "$(TARGET_NAME)"; 531 | PROVISIONING_PROFILE_SPECIFIER = ""; 532 | SWIFT_VERSION = 5.0; 533 | }; 534 | name = Debug; 535 | }; 536 | 607FACF11AFB9204008FA782 /* Release */ = { 537 | isa = XCBuildConfiguration; 538 | baseConfigurationReference = 8F1D65DE621FAA7DB7AE3636 /* Pods-LSDialogViewController_Example.release.xcconfig */; 539 | buildSettings = { 540 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 541 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 542 | CODE_SIGN_IDENTITY = "Apple Development"; 543 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 544 | CODE_SIGN_STYLE = Automatic; 545 | DEVELOPMENT_TEAM = ""; 546 | INFOPLIST_FILE = LSDialogViewController/Info.plist; 547 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 548 | MODULE_NAME = ExampleApp; 549 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 550 | PRODUCT_NAME = "$(TARGET_NAME)"; 551 | PROVISIONING_PROFILE_SPECIFIER = ""; 552 | SWIFT_VERSION = 5.0; 553 | }; 554 | name = Release; 555 | }; 556 | 607FACF31AFB9204008FA782 /* Debug */ = { 557 | isa = XCBuildConfiguration; 558 | baseConfigurationReference = A3E972CDAB92B31F9655B91A /* Pods-LSDialogViewController_Tests.debug.xcconfig */; 559 | buildSettings = { 560 | DEVELOPMENT_TEAM = QSJ4FM97GU; 561 | FRAMEWORK_SEARCH_PATHS = "$(inherited)"; 562 | GCC_PREPROCESSOR_DEFINITIONS = ( 563 | "DEBUG=1", 564 | "$(inherited)", 565 | ); 566 | INFOPLIST_FILE = Tests/Info.plist; 567 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 568 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 569 | PRODUCT_NAME = "$(TARGET_NAME)"; 570 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 571 | SWIFT_VERSION = 5.0; 572 | }; 573 | name = Debug; 574 | }; 575 | 607FACF41AFB9204008FA782 /* Release */ = { 576 | isa = XCBuildConfiguration; 577 | baseConfigurationReference = 37FD1754750AAA1A9268060C /* Pods-LSDialogViewController_Tests.release.xcconfig */; 578 | buildSettings = { 579 | DEVELOPMENT_TEAM = QSJ4FM97GU; 580 | FRAMEWORK_SEARCH_PATHS = "$(inherited)"; 581 | INFOPLIST_FILE = Tests/Info.plist; 582 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 583 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 584 | PRODUCT_NAME = "$(TARGET_NAME)"; 585 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 586 | SWIFT_VERSION = 5.0; 587 | }; 588 | name = Release; 589 | }; 590 | /* End XCBuildConfiguration section */ 591 | 592 | /* Begin XCConfigurationList section */ 593 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "LSDialogViewController" */ = { 594 | isa = XCConfigurationList; 595 | buildConfigurations = ( 596 | 607FACED1AFB9204008FA782 /* Debug */, 597 | 607FACEE1AFB9204008FA782 /* Release */, 598 | ); 599 | defaultConfigurationIsVisible = 0; 600 | defaultConfigurationName = Release; 601 | }; 602 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "LSDialogViewController_Example" */ = { 603 | isa = XCConfigurationList; 604 | buildConfigurations = ( 605 | 607FACF01AFB9204008FA782 /* Debug */, 606 | 607FACF11AFB9204008FA782 /* Release */, 607 | ); 608 | defaultConfigurationIsVisible = 0; 609 | defaultConfigurationName = Release; 610 | }; 611 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "LSDialogViewController_Tests" */ = { 612 | isa = XCConfigurationList; 613 | buildConfigurations = ( 614 | 607FACF31AFB9204008FA782 /* Debug */, 615 | 607FACF41AFB9204008FA782 /* Release */, 616 | ); 617 | defaultConfigurationIsVisible = 0; 618 | defaultConfigurationName = Release; 619 | }; 620 | /* End XCConfigurationList section */ 621 | }; 622 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 623 | } 624 | -------------------------------------------------------------------------------- /Example/LSDialogViewController.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/LSDialogViewController.xcodeproj/xcshareddata/xcschemes/LSDialogViewController-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 51 | 52 | 53 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 76 | 78 | 84 | 85 | 86 | 87 | 93 | 95 | 101 | 102 | 103 | 104 | 106 | 107 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /Example/LSDialogViewController.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/LSDialogViewController.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/LSDialogViewController/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // LSDialogViewController 4 | // 5 | // Created by daihase on 05/20/2016. 6 | // Copyright (c) 2016 daihase. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import LSDialogViewController 11 | 12 | @UIApplicationMain 13 | class AppDelegate: UIResponder, UIApplicationDelegate { 14 | 15 | var window: UIWindow? 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: 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 | -------------------------------------------------------------------------------- /Example/LSDialogViewController/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/LSDialogViewController/CustomDialog.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /Example/LSDialogViewController/CustomDialogViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TestViewController.swift 3 | // LSDialogViewController 4 | // 5 | // Created by Daisuke Hasegawa on 2016/05/17. 6 | // Copyright © 2016年 Libra Studio, Inc. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class CustomDialogViewController: UIViewController { 12 | var delegate: ViewController? 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | // adjust height and width of dialog 18 | view.bounds.size.height = UIScreen.main.bounds.size.height * 0.6 19 | view.bounds.size.width = UIScreen.main.bounds.size.width * 0.8 20 | } 21 | 22 | // close dialogView 23 | @IBAction func closeButton(_ sender: AnyObject) { 24 | delegate?.dismissDialog() 25 | } 26 | 27 | override func didReceiveMemoryWarning() { 28 | super.didReceiveMemoryWarning() 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Example/LSDialogViewController/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } -------------------------------------------------------------------------------- /Example/LSDialogViewController/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 | Main 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/LSDialogViewController/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 37 | 53 | 69 | 85 | 101 | 117 | 133 | 149 | 165 | 181 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | -------------------------------------------------------------------------------- /Example/LSDialogViewController/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // LSDialogViewController 4 | // 5 | // Created by Daisuke Hasegawa on 2016/05/15. 6 | // Copyright © 2016年 Libra Studio, Inc. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import LSDialogViewController 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | } 17 | 18 | @IBAction func tapButtonFadeInFadeOut(_ sender: AnyObject) { 19 | showDialog(.fadeInOut) 20 | } 21 | 22 | @IBAction func tapButtonZoomInZoomOut(_ sender: AnyObject) { 23 | showDialog(.zoomInOut) 24 | } 25 | 26 | @IBAction func tapButtonSlideBottomBottom(_ sender: AnyObject) { 27 | showDialog(.slideBottomBottom) 28 | } 29 | 30 | @IBAction func tapButtonSlideBottomTop(_ sender: AnyObject) { 31 | showDialog(.slideBottomTop) 32 | } 33 | 34 | @IBAction func tapButtonSlideLeftLeft(_ sender: AnyObject) { 35 | showDialog(.slideLeftLeft) 36 | } 37 | 38 | @IBAction func tapButtonSlideLeftRight(_ sender: AnyObject) { 39 | showDialog(.slideLeftRight) 40 | } 41 | 42 | @IBAction func tapButtonSlideTopTop(_ sender: AnyObject) { 43 | showDialog(.slideTopTop) 44 | } 45 | 46 | @IBAction func tapButtonSlideTopBottom(_ sender: AnyObject) { 47 | showDialog(.slideTopBottom) 48 | } 49 | 50 | @IBAction func tapButtonSlideRightRight(_ sender: AnyObject) { 51 | showDialog(.slideRightRight) 52 | } 53 | 54 | @IBAction func tapButtonSlideRightLeft(_ sender: AnyObject) { 55 | showDialog(.slideRightLeft) 56 | } 57 | 58 | fileprivate func showDialog(_ animationPattern: LSAnimationPattern) { 59 | let dialogViewController = CustomDialogViewController(nibName: "CustomDialog", bundle: nil) 60 | dialogViewController.delegate = self 61 | 62 | presentDialogViewController(dialogViewController, animationPattern: animationPattern) 63 | } 64 | 65 | func dismissDialog() { 66 | dismissDialogViewController(LSAnimationPattern.fadeInOut) 67 | } 68 | 69 | override func didReceiveMemoryWarning() { 70 | super.didReceiveMemoryWarning() 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'LSDialogViewController_Example' do 4 | pod 'LSDialogViewController', :path => '../' 5 | 6 | target 'LSDialogViewController_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - LSDialogViewController (0.1.9) 3 | 4 | DEPENDENCIES: 5 | - LSDialogViewController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | LSDialogViewController: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | LSDialogViewController: 7c1aec891a0ec81ef31ce6d77c45e6637c9eb9d6 13 | 14 | PODFILE CHECKSUM: f9169fd7ec329cc3a8743750da4b2886782727d0 15 | 16 | COCOAPODS: 1.1.0.rc.2 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/LSDialogViewController.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "LSDialogViewController", 3 | "version": "0.1.9", 4 | "summary": "This ViewController is able to easily display a custom view as a dialog.", 5 | "description": "You can easily display a dialog that has a variety of effects Using this library.", 6 | "homepage": "https://github.com/daihase/LSDialogViewController", 7 | "license": "MIT", 8 | "authors": { 9 | "daihase": "daisuke_hasegawa@librastudio.co.jp" 10 | }, 11 | "source": { 12 | "git": "https://github.com/daihase/LSDialogViewController.git", 13 | "tag": "0.1.9" 14 | }, 15 | "social_media_url": "https://twitter.com/librakinoko", 16 | "platforms": { 17 | "ios": "8.0" 18 | }, 19 | "source_files": "LSDialogViewController/Classes/**/*" 20 | } 21 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - LSDialogViewController (0.1.9) 3 | 4 | DEPENDENCIES: 5 | - LSDialogViewController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | LSDialogViewController: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | LSDialogViewController: 7c1aec891a0ec81ef31ce6d77c45e6637c9eb9d6 13 | 14 | PODFILE CHECKSUM: f9169fd7ec329cc3a8743750da4b2886782727d0 15 | 16 | COCOAPODS: 1.1.0.rc.2 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 | 124714FAEACF70B54A4900EBFB08F629 /* LSDialogBackgroundView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56CACA8731CB011643583853C233CE27 /* LSDialogBackgroundView.swift */; }; 11 | 3D03F0450B151CBF8D4CD70C3CD4EA4E /* Pods-LSDialogViewController_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 372AFBBAD36429E5B8AE6E313ACA78A3 /* Pods-LSDialogViewController_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 3F35DF9AA396A7F60767984F66FB64F6 /* Pods-LSDialogViewController_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CCE88842A874FF3915C39074C230B819 /* Pods-LSDialogViewController_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 498B03CA6E5FAA4B35080B5973C6BD59 /* LSDialogViewController-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E1D3707EE016C69DBD9855D6CB975B14 /* LSDialogViewController-dummy.m */; }; 14 | 5E715CC7113008FF99C78A9F800A6017 /* Pods-LSDialogViewController_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EBC24A337AB6465DC2B9E6DBC6FEC319 /* Pods-LSDialogViewController_Example-dummy.m */; }; 15 | 99E011BFB162AE9F8ACC6BA9FFCF7BF3 /* LSAnimationUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = A844533909EAB39D4738F44783D66094 /* LSAnimationUtils.swift */; }; 16 | 9C221D659046423D25C2D9A6C0E1155A /* LSDialogViewController-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CDF33C44B4102C5D469CF3F1786D1809 /* LSDialogViewController-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | B8A1831BD634BD23AC49DB4B03A95727 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 18 | BDADE45F182C80EDFC882646D28C523A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 19 | DDE7AFEDA343BF5F4949720397B0DC85 /* Pods-LSDialogViewController_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3FD1309C812605F26C566EC82408C20A /* Pods-LSDialogViewController_Tests-dummy.m */; }; 20 | E5FFBFD8D6A850C5AAD191F577A15E0C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 21 | E80F0CD3820A32C368C93ABF2DE494F3 /* UIViewController+LSDialogViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A55EDD4433EEA95CFAC8A3F62BEA6E05 /* UIViewController+LSDialogViewController.swift */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | CC6BFAE51C56E1F9172F755FA29844ED /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = 2C73E2FBE19BE2141992C3590CB3C5A2; 30 | remoteInfo = LSDialogViewController; 31 | }; 32 | /* End PBXContainerItemProxy section */ 33 | 34 | /* Begin PBXFileReference section */ 35 | 02497BC74960224A94C0A60C042B53B7 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 36 | 09840ACA4BF154BAE56EC0C952E2BC85 /* Pods-LSDialogViewController_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LSDialogViewController_Example.debug.xcconfig"; sourceTree = ""; }; 37 | 0C4B1074C21190FA83210A661061D60C /* Pods-LSDialogViewController_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LSDialogViewController_Tests-acknowledgements.plist"; sourceTree = ""; }; 38 | 0EBF0D9A8CA80CC17DCC438940806EB1 /* LSDialogViewController-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LSDialogViewController-prefix.pch"; sourceTree = ""; }; 39 | 238D3CFEF978CDE61D9C67EAE11FDFD6 /* Pods-LSDialogViewController_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-LSDialogViewController_Tests-acknowledgements.markdown"; sourceTree = ""; }; 40 | 35994E152C983D7CC1C5F51C5BBE8101 /* LSDialogViewController.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = LSDialogViewController.xcconfig; sourceTree = ""; }; 41 | 372AFBBAD36429E5B8AE6E313ACA78A3 /* Pods-LSDialogViewController_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-LSDialogViewController_Example-umbrella.h"; sourceTree = ""; }; 42 | 3AF1807F7CFAA19E98DD30244D161442 /* Pods-LSDialogViewController_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LSDialogViewController_Example-resources.sh"; sourceTree = ""; }; 43 | 3E683227E2C851EC01697B7038FDD818 /* Pods-LSDialogViewController_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LSDialogViewController_Example-frameworks.sh"; sourceTree = ""; }; 44 | 3FD1309C812605F26C566EC82408C20A /* Pods-LSDialogViewController_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-LSDialogViewController_Tests-dummy.m"; sourceTree = ""; }; 45 | 41136862130646B49453FB76C263EE02 /* Pods-LSDialogViewController_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LSDialogViewController_Tests.release.xcconfig"; sourceTree = ""; }; 46 | 4126D514205A55004743AA65A30A6EB6 /* Pods-LSDialogViewController_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LSDialogViewController_Tests-resources.sh"; sourceTree = ""; }; 47 | 5178AED1BE824396D34A075866F3BC5F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 56CACA8731CB011643583853C233CE27 /* LSDialogBackgroundView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = LSDialogBackgroundView.swift; sourceTree = ""; }; 49 | 5795A785E069037CB7F754BAFE612F41 /* Pods-LSDialogViewController_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LSDialogViewController_Tests-frameworks.sh"; sourceTree = ""; }; 50 | 66A8968A31238CA04C529118C4C36470 /* Pods-LSDialogViewController_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-LSDialogViewController_Tests.modulemap"; sourceTree = ""; }; 51 | 70831085864DF97C0BDDA81A2929E19F /* LSDialogViewController.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = LSDialogViewController.modulemap; sourceTree = ""; }; 52 | 710C032E3E32FACAC63BC0DF2C9FF422 /* Pods_LSDialogViewController_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LSDialogViewController_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | 7AB4032C94DDB425965B19CA529D0602 /* Pods-LSDialogViewController_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-LSDialogViewController_Example.modulemap"; sourceTree = ""; }; 54 | 7AFF12DEFA572EC9CD1131D22A868F05 /* Pods-LSDialogViewController_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-LSDialogViewController_Example-acknowledgements.markdown"; sourceTree = ""; }; 55 | 93450CF0805DE639B172044F2658F520 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 57 | A1F14101013A9EFFAB0479081A760315 /* LSDialogViewController.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LSDialogViewController.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | A55EDD4433EEA95CFAC8A3F62BEA6E05 /* UIViewController+LSDialogViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIViewController+LSDialogViewController.swift"; sourceTree = ""; }; 59 | A844533909EAB39D4738F44783D66094 /* LSAnimationUtils.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = LSAnimationUtils.swift; sourceTree = ""; }; 60 | CCE88842A874FF3915C39074C230B819 /* Pods-LSDialogViewController_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-LSDialogViewController_Tests-umbrella.h"; sourceTree = ""; }; 61 | CDF33C44B4102C5D469CF3F1786D1809 /* LSDialogViewController-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LSDialogViewController-umbrella.h"; sourceTree = ""; }; 62 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 63 | D626DF416C48AAE4A9034061C8262C23 /* Pods-LSDialogViewController_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LSDialogViewController_Example-acknowledgements.plist"; sourceTree = ""; }; 64 | E1D3707EE016C69DBD9855D6CB975B14 /* LSDialogViewController-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "LSDialogViewController-dummy.m"; sourceTree = ""; }; 65 | E39046F9ECC4DC38DC954E31EA1EBA96 /* Pods-LSDialogViewController_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LSDialogViewController_Tests.debug.xcconfig"; sourceTree = ""; }; 66 | E40EC9FBE67C85576D1988DF9721E1F9 /* Pods-LSDialogViewController_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LSDialogViewController_Example.release.xcconfig"; sourceTree = ""; }; 67 | E6078751C8D1EC0CBE1A4AF109C5DE2D /* Pods_LSDialogViewController_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LSDialogViewController_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | EBC24A337AB6465DC2B9E6DBC6FEC319 /* Pods-LSDialogViewController_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-LSDialogViewController_Example-dummy.m"; sourceTree = ""; }; 69 | /* End PBXFileReference section */ 70 | 71 | /* Begin PBXFrameworksBuildPhase section */ 72 | 5855A73002F6A93EC5362FC6FB644092 /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | E5FFBFD8D6A850C5AAD191F577A15E0C /* Foundation.framework in Frameworks */, 77 | ); 78 | runOnlyForDeploymentPostprocessing = 0; 79 | }; 80 | 98CC68EDB11A6856F12956254417AE1D /* Frameworks */ = { 81 | isa = PBXFrameworksBuildPhase; 82 | buildActionMask = 2147483647; 83 | files = ( 84 | BDADE45F182C80EDFC882646D28C523A /* Foundation.framework in Frameworks */, 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | F023156C869F59C80C07229D1441A271 /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | B8A1831BD634BD23AC49DB4B03A95727 /* Foundation.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | /* End PBXFrameworksBuildPhase section */ 97 | 98 | /* Begin PBXGroup section */ 99 | 01FBC92B3D487AF9C2D5F544151F52FC /* LSDialogViewController */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 606EF5D85B166DAF755D5FD0B87D2A6C /* LSDialogViewController */, 103 | 0E58804FBC09EAFEB1151B4F73AD18DF /* Support Files */, 104 | ); 105 | name = LSDialogViewController; 106 | path = ../..; 107 | sourceTree = ""; 108 | }; 109 | 0E58804FBC09EAFEB1151B4F73AD18DF /* Support Files */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 93450CF0805DE639B172044F2658F520 /* Info.plist */, 113 | 70831085864DF97C0BDDA81A2929E19F /* LSDialogViewController.modulemap */, 114 | 35994E152C983D7CC1C5F51C5BBE8101 /* LSDialogViewController.xcconfig */, 115 | E1D3707EE016C69DBD9855D6CB975B14 /* LSDialogViewController-dummy.m */, 116 | 0EBF0D9A8CA80CC17DCC438940806EB1 /* LSDialogViewController-prefix.pch */, 117 | CDF33C44B4102C5D469CF3F1786D1809 /* LSDialogViewController-umbrella.h */, 118 | ); 119 | name = "Support Files"; 120 | path = "Example/Pods/Target Support Files/LSDialogViewController"; 121 | sourceTree = ""; 122 | }; 123 | 297481AD02DF900426920C2978662B63 /* Development Pods */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 01FBC92B3D487AF9C2D5F544151F52FC /* LSDialogViewController */, 127 | ); 128 | name = "Development Pods"; 129 | sourceTree = ""; 130 | }; 131 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */, 135 | ); 136 | name = iOS; 137 | sourceTree = ""; 138 | }; 139 | 42D91D0B2C0C9C2D582DCCBE3CBEDCAC /* Products */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | A1F14101013A9EFFAB0479081A760315 /* LSDialogViewController.framework */, 143 | E6078751C8D1EC0CBE1A4AF109C5DE2D /* Pods_LSDialogViewController_Example.framework */, 144 | 710C032E3E32FACAC63BC0DF2C9FF422 /* Pods_LSDialogViewController_Tests.framework */, 145 | ); 146 | name = Products; 147 | sourceTree = ""; 148 | }; 149 | 606EF5D85B166DAF755D5FD0B87D2A6C /* LSDialogViewController */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | FA45EAD9A03330042AB059E58B79A37A /* Classes */, 153 | ); 154 | path = LSDialogViewController; 155 | sourceTree = ""; 156 | }; 157 | 7DB346D0F39D3F0E887471402A8071AB = { 158 | isa = PBXGroup; 159 | children = ( 160 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 161 | 297481AD02DF900426920C2978662B63 /* Development Pods */, 162 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 163 | 42D91D0B2C0C9C2D582DCCBE3CBEDCAC /* Products */, 164 | F27B1A9EF950448EDA8874AE756B15D0 /* Targets Support Files */, 165 | ); 166 | sourceTree = ""; 167 | }; 168 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */, 172 | ); 173 | name = Frameworks; 174 | sourceTree = ""; 175 | }; 176 | DA92BD33A87FF0BA1C9DEE3C6DC49056 /* Pods-LSDialogViewController_Example */ = { 177 | isa = PBXGroup; 178 | children = ( 179 | 02497BC74960224A94C0A60C042B53B7 /* Info.plist */, 180 | 7AB4032C94DDB425965B19CA529D0602 /* Pods-LSDialogViewController_Example.modulemap */, 181 | 7AFF12DEFA572EC9CD1131D22A868F05 /* Pods-LSDialogViewController_Example-acknowledgements.markdown */, 182 | D626DF416C48AAE4A9034061C8262C23 /* Pods-LSDialogViewController_Example-acknowledgements.plist */, 183 | EBC24A337AB6465DC2B9E6DBC6FEC319 /* Pods-LSDialogViewController_Example-dummy.m */, 184 | 3E683227E2C851EC01697B7038FDD818 /* Pods-LSDialogViewController_Example-frameworks.sh */, 185 | 3AF1807F7CFAA19E98DD30244D161442 /* Pods-LSDialogViewController_Example-resources.sh */, 186 | 372AFBBAD36429E5B8AE6E313ACA78A3 /* Pods-LSDialogViewController_Example-umbrella.h */, 187 | 09840ACA4BF154BAE56EC0C952E2BC85 /* Pods-LSDialogViewController_Example.debug.xcconfig */, 188 | E40EC9FBE67C85576D1988DF9721E1F9 /* Pods-LSDialogViewController_Example.release.xcconfig */, 189 | ); 190 | name = "Pods-LSDialogViewController_Example"; 191 | path = "Target Support Files/Pods-LSDialogViewController_Example"; 192 | sourceTree = ""; 193 | }; 194 | F27B1A9EF950448EDA8874AE756B15D0 /* Targets Support Files */ = { 195 | isa = PBXGroup; 196 | children = ( 197 | DA92BD33A87FF0BA1C9DEE3C6DC49056 /* Pods-LSDialogViewController_Example */, 198 | F53F3F8502A5A45A6A632477B318CD7F /* Pods-LSDialogViewController_Tests */, 199 | ); 200 | name = "Targets Support Files"; 201 | sourceTree = ""; 202 | }; 203 | F53F3F8502A5A45A6A632477B318CD7F /* Pods-LSDialogViewController_Tests */ = { 204 | isa = PBXGroup; 205 | children = ( 206 | 5178AED1BE824396D34A075866F3BC5F /* Info.plist */, 207 | 66A8968A31238CA04C529118C4C36470 /* Pods-LSDialogViewController_Tests.modulemap */, 208 | 238D3CFEF978CDE61D9C67EAE11FDFD6 /* Pods-LSDialogViewController_Tests-acknowledgements.markdown */, 209 | 0C4B1074C21190FA83210A661061D60C /* Pods-LSDialogViewController_Tests-acknowledgements.plist */, 210 | 3FD1309C812605F26C566EC82408C20A /* Pods-LSDialogViewController_Tests-dummy.m */, 211 | 5795A785E069037CB7F754BAFE612F41 /* Pods-LSDialogViewController_Tests-frameworks.sh */, 212 | 4126D514205A55004743AA65A30A6EB6 /* Pods-LSDialogViewController_Tests-resources.sh */, 213 | CCE88842A874FF3915C39074C230B819 /* Pods-LSDialogViewController_Tests-umbrella.h */, 214 | E39046F9ECC4DC38DC954E31EA1EBA96 /* Pods-LSDialogViewController_Tests.debug.xcconfig */, 215 | 41136862130646B49453FB76C263EE02 /* Pods-LSDialogViewController_Tests.release.xcconfig */, 216 | ); 217 | name = "Pods-LSDialogViewController_Tests"; 218 | path = "Target Support Files/Pods-LSDialogViewController_Tests"; 219 | sourceTree = ""; 220 | }; 221 | FA45EAD9A03330042AB059E58B79A37A /* Classes */ = { 222 | isa = PBXGroup; 223 | children = ( 224 | A844533909EAB39D4738F44783D66094 /* LSAnimationUtils.swift */, 225 | 56CACA8731CB011643583853C233CE27 /* LSDialogBackgroundView.swift */, 226 | A55EDD4433EEA95CFAC8A3F62BEA6E05 /* UIViewController+LSDialogViewController.swift */, 227 | ); 228 | path = Classes; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXGroup section */ 232 | 233 | /* Begin PBXHeadersBuildPhase section */ 234 | 3EE139D50EAC1AD0694A0E38E5DFA44B /* Headers */ = { 235 | isa = PBXHeadersBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | 3D03F0450B151CBF8D4CD70C3CD4EA4E /* Pods-LSDialogViewController_Example-umbrella.h in Headers */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | 72841DB559F7C2F767DACE5FA7E039B8 /* Headers */ = { 243 | isa = PBXHeadersBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | 3F35DF9AA396A7F60767984F66FB64F6 /* Pods-LSDialogViewController_Tests-umbrella.h in Headers */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | 9391FE6D201F41101E9666A8D7CA8149 /* Headers */ = { 251 | isa = PBXHeadersBuildPhase; 252 | buildActionMask = 2147483647; 253 | files = ( 254 | 9C221D659046423D25C2D9A6C0E1155A /* LSDialogViewController-umbrella.h in Headers */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | /* End PBXHeadersBuildPhase section */ 259 | 260 | /* Begin PBXNativeTarget section */ 261 | 10A956E6801A31C935B3CA89450151C0 /* Pods-LSDialogViewController_Example */ = { 262 | isa = PBXNativeTarget; 263 | buildConfigurationList = 7DF1351D5BEB4437C178C08AD4036ADA /* Build configuration list for PBXNativeTarget "Pods-LSDialogViewController_Example" */; 264 | buildPhases = ( 265 | E74BCAD59BCAB77741A6A0810A9DEC8A /* Sources */, 266 | 5855A73002F6A93EC5362FC6FB644092 /* Frameworks */, 267 | 3EE139D50EAC1AD0694A0E38E5DFA44B /* Headers */, 268 | ); 269 | buildRules = ( 270 | ); 271 | dependencies = ( 272 | 36B8B33A2D79CEE004B4C10FA470EBD7 /* PBXTargetDependency */, 273 | ); 274 | name = "Pods-LSDialogViewController_Example"; 275 | productName = "Pods-LSDialogViewController_Example"; 276 | productReference = E6078751C8D1EC0CBE1A4AF109C5DE2D /* Pods_LSDialogViewController_Example.framework */; 277 | productType = "com.apple.product-type.framework"; 278 | }; 279 | 2C73E2FBE19BE2141992C3590CB3C5A2 /* LSDialogViewController */ = { 280 | isa = PBXNativeTarget; 281 | buildConfigurationList = A0EC73CF1673F0FD424042D6880CA7E8 /* Build configuration list for PBXNativeTarget "LSDialogViewController" */; 282 | buildPhases = ( 283 | 89E2467BBFCE5478E61EDF31E58D630B /* Sources */, 284 | F023156C869F59C80C07229D1441A271 /* Frameworks */, 285 | 9391FE6D201F41101E9666A8D7CA8149 /* Headers */, 286 | ); 287 | buildRules = ( 288 | ); 289 | dependencies = ( 290 | ); 291 | name = LSDialogViewController; 292 | productName = LSDialogViewController; 293 | productReference = A1F14101013A9EFFAB0479081A760315 /* LSDialogViewController.framework */; 294 | productType = "com.apple.product-type.framework"; 295 | }; 296 | 423C0ADAF0D325F519E0DC5F85DA14EF /* Pods-LSDialogViewController_Tests */ = { 297 | isa = PBXNativeTarget; 298 | buildConfigurationList = 5A3C6FA8C17E6A0E0EBC14417D5F6E68 /* Build configuration list for PBXNativeTarget "Pods-LSDialogViewController_Tests" */; 299 | buildPhases = ( 300 | 6891639CBA23564BBBDD081B6C4DE331 /* Sources */, 301 | 98CC68EDB11A6856F12956254417AE1D /* Frameworks */, 302 | 72841DB559F7C2F767DACE5FA7E039B8 /* Headers */, 303 | ); 304 | buildRules = ( 305 | ); 306 | dependencies = ( 307 | ); 308 | name = "Pods-LSDialogViewController_Tests"; 309 | productName = "Pods-LSDialogViewController_Tests"; 310 | productReference = 710C032E3E32FACAC63BC0DF2C9FF422 /* Pods_LSDialogViewController_Tests.framework */; 311 | productType = "com.apple.product-type.framework"; 312 | }; 313 | /* End PBXNativeTarget section */ 314 | 315 | /* Begin PBXProject section */ 316 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 317 | isa = PBXProject; 318 | attributes = { 319 | LastSwiftUpdateCheck = 0730; 320 | LastUpgradeCheck = 1110; 321 | TargetAttributes = { 322 | 10A956E6801A31C935B3CA89450151C0 = { 323 | LastSwiftMigration = 0910; 324 | }; 325 | 2C73E2FBE19BE2141992C3590CB3C5A2 = { 326 | LastSwiftMigration = 1000; 327 | }; 328 | }; 329 | }; 330 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 331 | compatibilityVersion = "Xcode 3.2"; 332 | developmentRegion = en; 333 | hasScannedForEncodings = 0; 334 | knownRegions = ( 335 | en, 336 | Base, 337 | ); 338 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 339 | productRefGroup = 42D91D0B2C0C9C2D582DCCBE3CBEDCAC /* Products */; 340 | projectDirPath = ""; 341 | projectRoot = ""; 342 | targets = ( 343 | 2C73E2FBE19BE2141992C3590CB3C5A2 /* LSDialogViewController */, 344 | 10A956E6801A31C935B3CA89450151C0 /* Pods-LSDialogViewController_Example */, 345 | 423C0ADAF0D325F519E0DC5F85DA14EF /* Pods-LSDialogViewController_Tests */, 346 | ); 347 | }; 348 | /* End PBXProject section */ 349 | 350 | /* Begin PBXSourcesBuildPhase section */ 351 | 6891639CBA23564BBBDD081B6C4DE331 /* Sources */ = { 352 | isa = PBXSourcesBuildPhase; 353 | buildActionMask = 2147483647; 354 | files = ( 355 | DDE7AFEDA343BF5F4949720397B0DC85 /* Pods-LSDialogViewController_Tests-dummy.m in Sources */, 356 | ); 357 | runOnlyForDeploymentPostprocessing = 0; 358 | }; 359 | 89E2467BBFCE5478E61EDF31E58D630B /* Sources */ = { 360 | isa = PBXSourcesBuildPhase; 361 | buildActionMask = 2147483647; 362 | files = ( 363 | 99E011BFB162AE9F8ACC6BA9FFCF7BF3 /* LSAnimationUtils.swift in Sources */, 364 | 124714FAEACF70B54A4900EBFB08F629 /* LSDialogBackgroundView.swift in Sources */, 365 | 498B03CA6E5FAA4B35080B5973C6BD59 /* LSDialogViewController-dummy.m in Sources */, 366 | E80F0CD3820A32C368C93ABF2DE494F3 /* UIViewController+LSDialogViewController.swift in Sources */, 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | }; 370 | E74BCAD59BCAB77741A6A0810A9DEC8A /* Sources */ = { 371 | isa = PBXSourcesBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | 5E715CC7113008FF99C78A9F800A6017 /* Pods-LSDialogViewController_Example-dummy.m in Sources */, 375 | ); 376 | runOnlyForDeploymentPostprocessing = 0; 377 | }; 378 | /* End PBXSourcesBuildPhase section */ 379 | 380 | /* Begin PBXTargetDependency section */ 381 | 36B8B33A2D79CEE004B4C10FA470EBD7 /* PBXTargetDependency */ = { 382 | isa = PBXTargetDependency; 383 | name = LSDialogViewController; 384 | target = 2C73E2FBE19BE2141992C3590CB3C5A2 /* LSDialogViewController */; 385 | targetProxy = CC6BFAE51C56E1F9172F755FA29844ED /* PBXContainerItemProxy */; 386 | }; 387 | /* End PBXTargetDependency section */ 388 | 389 | /* Begin XCBuildConfiguration section */ 390 | 1B22F3D39E83A28EADFC2EDCDB2697BA /* Release */ = { 391 | isa = XCBuildConfiguration; 392 | baseConfigurationReference = E40EC9FBE67C85576D1988DF9721E1F9 /* Pods-LSDialogViewController_Example.release.xcconfig */; 393 | buildSettings = { 394 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 395 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 396 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 397 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 398 | CURRENT_PROJECT_VERSION = 1; 399 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 400 | DEFINES_MODULE = YES; 401 | DYLIB_COMPATIBILITY_VERSION = 1; 402 | DYLIB_CURRENT_VERSION = 1; 403 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 404 | ENABLE_STRICT_OBJC_MSGSEND = YES; 405 | GCC_NO_COMMON_BLOCKS = YES; 406 | INFOPLIST_FILE = "Target Support Files/Pods-LSDialogViewController_Example/Info.plist"; 407 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 408 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 409 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 410 | MACH_O_TYPE = staticlib; 411 | MODULEMAP_FILE = "Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example.modulemap"; 412 | MTL_ENABLE_DEBUG_INFO = NO; 413 | OTHER_LDFLAGS = ""; 414 | OTHER_LIBTOOLFLAGS = ""; 415 | PODS_ROOT = "$(SRCROOT)"; 416 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 417 | PRODUCT_NAME = Pods_LSDialogViewController_Example; 418 | SDKROOT = iphoneos; 419 | SKIP_INSTALL = YES; 420 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 421 | SWIFT_VERSION = 5.0; 422 | TARGETED_DEVICE_FAMILY = "1,2"; 423 | VERSIONING_SYSTEM = "apple-generic"; 424 | VERSION_INFO_PREFIX = ""; 425 | }; 426 | name = Release; 427 | }; 428 | 1F85FEA79FAE132B114A401A6E3664D5 /* Debug */ = { 429 | isa = XCBuildConfiguration; 430 | baseConfigurationReference = 09840ACA4BF154BAE56EC0C952E2BC85 /* Pods-LSDialogViewController_Example.debug.xcconfig */; 431 | buildSettings = { 432 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 433 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 434 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 435 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 436 | CURRENT_PROJECT_VERSION = 1; 437 | DEBUG_INFORMATION_FORMAT = dwarf; 438 | DEFINES_MODULE = YES; 439 | DYLIB_COMPATIBILITY_VERSION = 1; 440 | DYLIB_CURRENT_VERSION = 1; 441 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 442 | ENABLE_STRICT_OBJC_MSGSEND = YES; 443 | GCC_NO_COMMON_BLOCKS = YES; 444 | INFOPLIST_FILE = "Target Support Files/Pods-LSDialogViewController_Example/Info.plist"; 445 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 446 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 447 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 448 | MACH_O_TYPE = staticlib; 449 | MODULEMAP_FILE = "Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example.modulemap"; 450 | MTL_ENABLE_DEBUG_INFO = YES; 451 | OTHER_LDFLAGS = ""; 452 | OTHER_LIBTOOLFLAGS = ""; 453 | PODS_ROOT = "$(SRCROOT)"; 454 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 455 | PRODUCT_NAME = Pods_LSDialogViewController_Example; 456 | SDKROOT = iphoneos; 457 | SKIP_INSTALL = YES; 458 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 459 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 460 | SWIFT_VERSION = 5.0; 461 | TARGETED_DEVICE_FAMILY = "1,2"; 462 | VERSIONING_SYSTEM = "apple-generic"; 463 | VERSION_INFO_PREFIX = ""; 464 | }; 465 | name = Debug; 466 | }; 467 | 5A2136889B407F87556F48845E91EB1A /* Release */ = { 468 | isa = XCBuildConfiguration; 469 | baseConfigurationReference = 35994E152C983D7CC1C5F51C5BBE8101 /* LSDialogViewController.xcconfig */; 470 | buildSettings = { 471 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 472 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 473 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 474 | CURRENT_PROJECT_VERSION = 1; 475 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 476 | DEFINES_MODULE = YES; 477 | DYLIB_COMPATIBILITY_VERSION = 1; 478 | DYLIB_CURRENT_VERSION = 1; 479 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 480 | ENABLE_STRICT_OBJC_MSGSEND = YES; 481 | GCC_NO_COMMON_BLOCKS = YES; 482 | GCC_PREFIX_HEADER = "Target Support Files/LSDialogViewController/LSDialogViewController-prefix.pch"; 483 | INFOPLIST_FILE = "Target Support Files/LSDialogViewController/Info.plist"; 484 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 485 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 486 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 487 | MODULEMAP_FILE = "Target Support Files/LSDialogViewController/LSDialogViewController.modulemap"; 488 | MTL_ENABLE_DEBUG_INFO = NO; 489 | PRODUCT_NAME = LSDialogViewController; 490 | SDKROOT = iphoneos; 491 | SKIP_INSTALL = YES; 492 | SWIFT_VERSION = 5.0; 493 | TARGETED_DEVICE_FAMILY = "1,2"; 494 | VERSIONING_SYSTEM = "apple-generic"; 495 | VERSION_INFO_PREFIX = ""; 496 | }; 497 | name = Release; 498 | }; 499 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */ = { 500 | isa = XCBuildConfiguration; 501 | buildSettings = { 502 | ALWAYS_SEARCH_USER_PATHS = NO; 503 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 504 | CLANG_ANALYZER_NONNULL = YES; 505 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 506 | CLANG_CXX_LIBRARY = "libc++"; 507 | CLANG_ENABLE_MODULES = YES; 508 | CLANG_ENABLE_OBJC_ARC = YES; 509 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 510 | CLANG_WARN_BOOL_CONVERSION = YES; 511 | CLANG_WARN_COMMA = YES; 512 | CLANG_WARN_CONSTANT_CONVERSION = YES; 513 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 514 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 515 | CLANG_WARN_EMPTY_BODY = YES; 516 | CLANG_WARN_ENUM_CONVERSION = YES; 517 | CLANG_WARN_INFINITE_RECURSION = YES; 518 | CLANG_WARN_INT_CONVERSION = YES; 519 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 520 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 521 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 522 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 523 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 524 | CLANG_WARN_STRICT_PROTOTYPES = YES; 525 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 526 | CLANG_WARN_UNREACHABLE_CODE = YES; 527 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 528 | CODE_SIGNING_REQUIRED = NO; 529 | COPY_PHASE_STRIP = YES; 530 | ENABLE_NS_ASSERTIONS = NO; 531 | ENABLE_STRICT_OBJC_MSGSEND = YES; 532 | GCC_C_LANGUAGE_STANDARD = gnu99; 533 | GCC_NO_COMMON_BLOCKS = YES; 534 | GCC_PREPROCESSOR_DEFINITIONS = ( 535 | "POD_CONFIGURATION_RELEASE=1", 536 | "$(inherited)", 537 | ); 538 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 539 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 540 | GCC_WARN_UNDECLARED_SELECTOR = YES; 541 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 542 | GCC_WARN_UNUSED_FUNCTION = YES; 543 | GCC_WARN_UNUSED_VARIABLE = YES; 544 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 545 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 546 | STRIP_INSTALLED_PRODUCT = NO; 547 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 548 | SYMROOT = "${SRCROOT}/../build"; 549 | VALIDATE_PRODUCT = YES; 550 | }; 551 | name = Release; 552 | }; 553 | 9B51844A190CA7E789F63461F6F74C53 /* Release */ = { 554 | isa = XCBuildConfiguration; 555 | baseConfigurationReference = 41136862130646B49453FB76C263EE02 /* Pods-LSDialogViewController_Tests.release.xcconfig */; 556 | buildSettings = { 557 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 558 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 559 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 560 | CURRENT_PROJECT_VERSION = 1; 561 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 562 | DEFINES_MODULE = YES; 563 | DYLIB_COMPATIBILITY_VERSION = 1; 564 | DYLIB_CURRENT_VERSION = 1; 565 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 566 | ENABLE_STRICT_OBJC_MSGSEND = YES; 567 | GCC_NO_COMMON_BLOCKS = YES; 568 | INFOPLIST_FILE = "Target Support Files/Pods-LSDialogViewController_Tests/Info.plist"; 569 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 570 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 571 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 572 | MACH_O_TYPE = staticlib; 573 | MODULEMAP_FILE = "Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests.modulemap"; 574 | MTL_ENABLE_DEBUG_INFO = NO; 575 | OTHER_LDFLAGS = ""; 576 | OTHER_LIBTOOLFLAGS = ""; 577 | PODS_ROOT = "$(SRCROOT)"; 578 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 579 | PRODUCT_NAME = Pods_LSDialogViewController_Tests; 580 | SDKROOT = iphoneos; 581 | SKIP_INSTALL = YES; 582 | TARGETED_DEVICE_FAMILY = "1,2"; 583 | VERSIONING_SYSTEM = "apple-generic"; 584 | VERSION_INFO_PREFIX = ""; 585 | }; 586 | name = Release; 587 | }; 588 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */ = { 589 | isa = XCBuildConfiguration; 590 | buildSettings = { 591 | ALWAYS_SEARCH_USER_PATHS = NO; 592 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 593 | CLANG_ANALYZER_NONNULL = YES; 594 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 595 | CLANG_CXX_LIBRARY = "libc++"; 596 | CLANG_ENABLE_MODULES = YES; 597 | CLANG_ENABLE_OBJC_ARC = YES; 598 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 599 | CLANG_WARN_BOOL_CONVERSION = YES; 600 | CLANG_WARN_COMMA = YES; 601 | CLANG_WARN_CONSTANT_CONVERSION = YES; 602 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 603 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 604 | CLANG_WARN_EMPTY_BODY = YES; 605 | CLANG_WARN_ENUM_CONVERSION = YES; 606 | CLANG_WARN_INFINITE_RECURSION = YES; 607 | CLANG_WARN_INT_CONVERSION = YES; 608 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 609 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 610 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 611 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 612 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 613 | CLANG_WARN_STRICT_PROTOTYPES = YES; 614 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 615 | CLANG_WARN_UNREACHABLE_CODE = YES; 616 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 617 | CODE_SIGNING_REQUIRED = NO; 618 | COPY_PHASE_STRIP = NO; 619 | ENABLE_STRICT_OBJC_MSGSEND = YES; 620 | ENABLE_TESTABILITY = YES; 621 | GCC_C_LANGUAGE_STANDARD = gnu99; 622 | GCC_DYNAMIC_NO_PIC = NO; 623 | GCC_NO_COMMON_BLOCKS = YES; 624 | GCC_OPTIMIZATION_LEVEL = 0; 625 | GCC_PREPROCESSOR_DEFINITIONS = ( 626 | "POD_CONFIGURATION_DEBUG=1", 627 | "DEBUG=1", 628 | "$(inherited)", 629 | ); 630 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 631 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 632 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 633 | GCC_WARN_UNDECLARED_SELECTOR = YES; 634 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 635 | GCC_WARN_UNUSED_FUNCTION = YES; 636 | GCC_WARN_UNUSED_VARIABLE = YES; 637 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 638 | ONLY_ACTIVE_ARCH = YES; 639 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 640 | STRIP_INSTALLED_PRODUCT = NO; 641 | SYMROOT = "${SRCROOT}/../build"; 642 | }; 643 | name = Debug; 644 | }; 645 | B3DAAD3D4580FAA233C9B42D19A62724 /* Debug */ = { 646 | isa = XCBuildConfiguration; 647 | baseConfigurationReference = E39046F9ECC4DC38DC954E31EA1EBA96 /* Pods-LSDialogViewController_Tests.debug.xcconfig */; 648 | buildSettings = { 649 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 650 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 651 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 652 | CURRENT_PROJECT_VERSION = 1; 653 | DEBUG_INFORMATION_FORMAT = dwarf; 654 | DEFINES_MODULE = YES; 655 | DYLIB_COMPATIBILITY_VERSION = 1; 656 | DYLIB_CURRENT_VERSION = 1; 657 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 658 | ENABLE_STRICT_OBJC_MSGSEND = YES; 659 | GCC_NO_COMMON_BLOCKS = YES; 660 | INFOPLIST_FILE = "Target Support Files/Pods-LSDialogViewController_Tests/Info.plist"; 661 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 662 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 663 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 664 | MACH_O_TYPE = staticlib; 665 | MODULEMAP_FILE = "Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests.modulemap"; 666 | MTL_ENABLE_DEBUG_INFO = YES; 667 | OTHER_LDFLAGS = ""; 668 | OTHER_LIBTOOLFLAGS = ""; 669 | PODS_ROOT = "$(SRCROOT)"; 670 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 671 | PRODUCT_NAME = Pods_LSDialogViewController_Tests; 672 | SDKROOT = iphoneos; 673 | SKIP_INSTALL = YES; 674 | TARGETED_DEVICE_FAMILY = "1,2"; 675 | VERSIONING_SYSTEM = "apple-generic"; 676 | VERSION_INFO_PREFIX = ""; 677 | }; 678 | name = Debug; 679 | }; 680 | D0D0C24934E50966A184862E72FB174E /* Debug */ = { 681 | isa = XCBuildConfiguration; 682 | baseConfigurationReference = 35994E152C983D7CC1C5F51C5BBE8101 /* LSDialogViewController.xcconfig */; 683 | buildSettings = { 684 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 685 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 686 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 687 | CURRENT_PROJECT_VERSION = 1; 688 | DEBUG_INFORMATION_FORMAT = dwarf; 689 | DEFINES_MODULE = YES; 690 | DYLIB_COMPATIBILITY_VERSION = 1; 691 | DYLIB_CURRENT_VERSION = 1; 692 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 693 | ENABLE_STRICT_OBJC_MSGSEND = YES; 694 | GCC_NO_COMMON_BLOCKS = YES; 695 | GCC_PREFIX_HEADER = "Target Support Files/LSDialogViewController/LSDialogViewController-prefix.pch"; 696 | INFOPLIST_FILE = "Target Support Files/LSDialogViewController/Info.plist"; 697 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 698 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 699 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 700 | MODULEMAP_FILE = "Target Support Files/LSDialogViewController/LSDialogViewController.modulemap"; 701 | MTL_ENABLE_DEBUG_INFO = YES; 702 | PRODUCT_NAME = LSDialogViewController; 703 | SDKROOT = iphoneos; 704 | SKIP_INSTALL = YES; 705 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 706 | SWIFT_VERSION = 5.0; 707 | TARGETED_DEVICE_FAMILY = "1,2"; 708 | VERSIONING_SYSTEM = "apple-generic"; 709 | VERSION_INFO_PREFIX = ""; 710 | }; 711 | name = Debug; 712 | }; 713 | /* End XCBuildConfiguration section */ 714 | 715 | /* Begin XCConfigurationList section */ 716 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 717 | isa = XCConfigurationList; 718 | buildConfigurations = ( 719 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */, 720 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */, 721 | ); 722 | defaultConfigurationIsVisible = 0; 723 | defaultConfigurationName = Release; 724 | }; 725 | 5A3C6FA8C17E6A0E0EBC14417D5F6E68 /* Build configuration list for PBXNativeTarget "Pods-LSDialogViewController_Tests" */ = { 726 | isa = XCConfigurationList; 727 | buildConfigurations = ( 728 | B3DAAD3D4580FAA233C9B42D19A62724 /* Debug */, 729 | 9B51844A190CA7E789F63461F6F74C53 /* Release */, 730 | ); 731 | defaultConfigurationIsVisible = 0; 732 | defaultConfigurationName = Release; 733 | }; 734 | 7DF1351D5BEB4437C178C08AD4036ADA /* Build configuration list for PBXNativeTarget "Pods-LSDialogViewController_Example" */ = { 735 | isa = XCConfigurationList; 736 | buildConfigurations = ( 737 | 1F85FEA79FAE132B114A401A6E3664D5 /* Debug */, 738 | 1B22F3D39E83A28EADFC2EDCDB2697BA /* Release */, 739 | ); 740 | defaultConfigurationIsVisible = 0; 741 | defaultConfigurationName = Release; 742 | }; 743 | A0EC73CF1673F0FD424042D6880CA7E8 /* Build configuration list for PBXNativeTarget "LSDialogViewController" */ = { 744 | isa = XCConfigurationList; 745 | buildConfigurations = ( 746 | D0D0C24934E50966A184862E72FB174E /* Debug */, 747 | 5A2136889B407F87556F48845E91EB1A /* Release */, 748 | ); 749 | defaultConfigurationIsVisible = 0; 750 | defaultConfigurationName = Release; 751 | }; 752 | /* End XCConfigurationList section */ 753 | }; 754 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 755 | } 756 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LSDialogViewController/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.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LSDialogViewController/LSDialogViewController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_LSDialogViewController : NSObject 3 | @end 4 | @implementation PodsDummy_LSDialogViewController 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LSDialogViewController/LSDialogViewController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LSDialogViewController/LSDialogViewController-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double LSDialogViewControllerVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char LSDialogViewControllerVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LSDialogViewController/LSDialogViewController.modulemap: -------------------------------------------------------------------------------- 1 | framework module LSDialogViewController { 2 | umbrella header "LSDialogViewController-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/LSDialogViewController/LSDialogViewController.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/LSDialogViewController 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 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## LSDialogViewController 5 | 6 | Copyright (c) 2016 daisuke hasegawa 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-LSDialogViewController_Example/Pods-LSDialogViewController_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2016 daisuke hasegawa 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 | LSDialogViewController 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-LSDialogViewController_Example/Pods-LSDialogViewController_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_LSDialogViewController_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_LSDialogViewController_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "$BUILT_PRODUCTS_DIR/LSDialogViewController/LSDialogViewController.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "$BUILT_PRODUCTS_DIR/LSDialogViewController/LSDialogViewController.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_LSDialogViewController_ExampleVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_LSDialogViewController_ExampleVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/LSDialogViewController" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/LSDialogViewController/LSDialogViewController.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "LSDialogViewController" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_LSDialogViewController_Example { 2 | umbrella header "Pods-LSDialogViewController_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Example/Pods-LSDialogViewController_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/LSDialogViewController" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/LSDialogViewController/LSDialogViewController.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "LSDialogViewController" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_LSDialogViewController_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_LSDialogViewController_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_LSDialogViewController_TestsVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_LSDialogViewController_TestsVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/LSDialogViewController" 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/LSDialogViewController/LSDialogViewController.framework/Headers" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_LSDialogViewController_Tests { 2 | umbrella header "Pods-LSDialogViewController_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-LSDialogViewController_Tests/Pods-LSDialogViewController_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/LSDialogViewController" 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/LSDialogViewController/LSDialogViewController.framework/Headers" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import LSDialogViewController 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | 5 | git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } 6 | 7 | # gem "rails" 8 | 9 | gem 'cocoapods' , '1.5.2' 10 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | CFPropertyList (3.0.0) 5 | activesupport (4.2.10) 6 | i18n (~> 0.7) 7 | minitest (~> 5.1) 8 | thread_safe (~> 0.3, >= 0.3.4) 9 | tzinfo (~> 1.1) 10 | atomos (0.1.3) 11 | claide (1.0.2) 12 | cocoapods (1.5.2) 13 | activesupport (>= 4.0.2, < 5) 14 | claide (>= 1.0.2, < 2.0) 15 | cocoapods-core (= 1.5.2) 16 | cocoapods-deintegrate (>= 1.0.2, < 2.0) 17 | cocoapods-downloader (>= 1.2.0, < 2.0) 18 | cocoapods-plugins (>= 1.0.0, < 2.0) 19 | cocoapods-search (>= 1.0.0, < 2.0) 20 | cocoapods-stats (>= 1.0.0, < 2.0) 21 | cocoapods-trunk (>= 1.3.0, < 2.0) 22 | cocoapods-try (>= 1.1.0, < 2.0) 23 | colored2 (~> 3.1) 24 | escape (~> 0.0.4) 25 | fourflusher (~> 2.0.1) 26 | gh_inspector (~> 1.0) 27 | molinillo (~> 0.6.5) 28 | nap (~> 1.0) 29 | ruby-macho (~> 1.1) 30 | xcodeproj (>= 1.5.7, < 2.0) 31 | cocoapods-core (1.5.2) 32 | activesupport (>= 4.0.2, < 6) 33 | fuzzy_match (~> 2.0.4) 34 | nap (~> 1.0) 35 | cocoapods-deintegrate (1.0.2) 36 | cocoapods-downloader (1.6.3) 37 | cocoapods-plugins (1.0.0) 38 | nap 39 | cocoapods-search (1.0.0) 40 | cocoapods-stats (1.0.0) 41 | cocoapods-trunk (1.3.1) 42 | nap (>= 0.8, < 2.0) 43 | netrc (~> 0.11) 44 | cocoapods-try (1.1.0) 45 | colored2 (3.1.2) 46 | concurrent-ruby (1.0.5) 47 | escape (0.0.4) 48 | fourflusher (2.0.1) 49 | fuzzy_match (2.0.4) 50 | gh_inspector (1.1.3) 51 | i18n (0.9.5) 52 | concurrent-ruby (~> 1.0) 53 | minitest (5.11.3) 54 | molinillo (0.6.6) 55 | nanaimo (0.2.6) 56 | nap (1.1.0) 57 | netrc (0.11.0) 58 | ruby-macho (1.3.1) 59 | thread_safe (0.3.6) 60 | tzinfo (1.2.5) 61 | thread_safe (~> 0.1) 62 | xcodeproj (1.6.0) 63 | CFPropertyList (>= 2.3.3, < 4.0) 64 | atomos (~> 0.1.3) 65 | claide (>= 1.0.2, < 2.0) 66 | colored2 (~> 3.1) 67 | nanaimo (~> 0.2.6) 68 | 69 | PLATFORMS 70 | ruby 71 | 72 | DEPENDENCIES 73 | cocoapods (= 1.5.2) 74 | 75 | BUNDLED WITH 76 | 1.16.6 77 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 daisuke hasegawa 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 | -------------------------------------------------------------------------------- /LSDialogViewController.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |spec| 2 | spec.name = 'LSDialogViewController' 3 | spec.version = '4.0' 4 | spec.license = 'MIT' 5 | spec.homepage = 'https://github.com/daihase/LSDialogViewController' 6 | spec.authors = { 'daihase' => 'daisuke_hasegawa@librastudio.co.jp' } 7 | spec.summary = 'This ViewController is able to easily display a custom view as a dialog.' 8 | spec.source = { :git => 'https://github.com/daihase/LSDialogViewController.git', :tag => spec.version.to_s } 9 | spec.swift_version = '5.0' 10 | spec.ios.deployment_target = '9.3' 11 | spec.source_files = 'LSDialogViewController/Classes/**/*' 12 | end 13 | -------------------------------------------------------------------------------- /LSDialogViewController/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daihase/LSDialogViewController/1652b98fc085e583134bb1f250ad751b5f38b411/LSDialogViewController/Assets/.gitkeep -------------------------------------------------------------------------------- /LSDialogViewController/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daihase/LSDialogViewController/1652b98fc085e583134bb1f250ad751b5f38b411/LSDialogViewController/Classes/.gitkeep -------------------------------------------------------------------------------- /LSDialogViewController/Classes/LSAnimationUtils.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LSAnimationUtils.swift 3 | // LSDialogViewController 4 | // 5 | // Created by Daisuke Hasegawa on 2016/05/15. 6 | // Copyright © 2016年 Libra Studio, Inc. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // Animation Pattern 12 | public enum LSAnimationPattern: Int { 13 | case fadeInOut 14 | case zoomInOut 15 | case slideBottomBottom 16 | case slideBottomTop 17 | case slideLeftLeft 18 | case slideLeftRight 19 | case slideTopTop 20 | case slideTopBottom 21 | case slideRightRight 22 | case slideRightLeft 23 | } 24 | 25 | open class LSAnimationUtils { 26 | weak var parentViewController: UIViewController? 27 | open var animationDuration = 0.2 28 | static let shared = LSAnimationUtils() 29 | private init() {} 30 | 31 | open func startAnimation(_ parentViewController: UIViewController, dialogView: UIView, sourceView: UIView, overlayView: UIView, animationPattern: LSAnimationPattern) { 32 | self.parentViewController = parentViewController 33 | // Slide Pattern 34 | switch animationPattern { 35 | case .slideBottomBottom, 36 | .slideBottomTop, 37 | .slideLeftLeft, 38 | .slideLeftRight, 39 | .slideTopTop, 40 | .slideTopBottom, 41 | .slideRightRight, 42 | .slideRightLeft: 43 | self.slideInAnimation(dialogView, sourceView: sourceView, overlayView: overlayView, animationPattern: animationPattern) 44 | // Zoom Pattern 45 | case .zoomInOut: 46 | self.zoomInAnimation(dialogView, sourceView: sourceView, overlayView: overlayView) 47 | default: 48 | // Fade Pattern 49 | self.fadeInAnimation(dialogView, sourceView: sourceView, overlayView: overlayView) 50 | } 51 | } 52 | 53 | open func endAnimation(_ dialogView: UIView, sourceView: UIView, overlayView: UIView, animationPattern: LSAnimationPattern) { 54 | switch animationPattern { 55 | // Slide Pattern 56 | case .slideBottomBottom, 57 | .slideBottomTop, 58 | .slideLeftLeft, 59 | .slideLeftRight, 60 | .slideTopTop, 61 | .slideTopBottom, 62 | .slideRightRight, 63 | .slideRightLeft: 64 | self.slideOutAnimation(dialogView, sourceView: sourceView, overlayView: overlayView, animationPattern: animationPattern) 65 | // Zoom Pattern 66 | case .zoomInOut: 67 | self.zoomOutAnimation(dialogView, sourceView: sourceView, overlayView: overlayView) 68 | default: 69 | // Fade Pattern 70 | self.fadeOutAnimation(dialogView, sourceView: sourceView, overlayView: overlayView) 71 | } 72 | } 73 | 74 | open func slideInAnimation(_ dialogView: UIView, sourceView: UIView, overlayView: UIView, animationPattern: LSAnimationPattern) { 75 | let sourceSize = sourceView.bounds.size 76 | let dialogSize = dialogView.bounds.size 77 | var dialogStartRect: CGRect 78 | 79 | switch animationPattern { 80 | case .slideBottomTop, 81 | .slideBottomBottom: 82 | dialogStartRect = CGRect(x: (sourceSize.width - dialogSize.width) / 2, y: sourceSize.height, width: dialogSize.width, height: dialogSize.height) 83 | case .slideLeftLeft, 84 | .slideLeftRight: 85 | dialogStartRect = CGRect(x: -sourceSize.width, y: (sourceSize.height - dialogSize.height) / 2, width: dialogSize.width, height: dialogSize.height) 86 | case .slideTopTop, 87 | .slideTopBottom: 88 | dialogStartRect = CGRect(x: (sourceSize.width - dialogSize.width) / 2, y: -sourceSize.height, width: dialogSize.width, height: dialogSize.height) 89 | default: 90 | dialogStartRect = CGRect(x: sourceSize.width, y: (sourceSize.height - dialogSize.height) / 2, width: dialogSize.width, height: dialogSize.height) 91 | } 92 | 93 | let dialogEndRect = CGRect(x: (sourceSize.width - dialogSize.width) / 2, y: (sourceSize.height - dialogSize.height) / 2, width: dialogSize.width, height: dialogSize.height) 94 | dialogView.frame = dialogStartRect 95 | dialogView.alpha = 1.0 96 | UIView.animate(withDuration: animationDuration, animations: { () -> Void in 97 | self.parentViewController?.ls_dialogViewController?.viewWillAppear(false) 98 | self.parentViewController?.ls_dialogBackgroundView?.alpha = 1.0 99 | dialogView.frame = dialogEndRect 100 | }, completion: { (finished) -> Void in 101 | self.parentViewController?.ls_dialogViewController?.viewDidAppear(false) 102 | }) 103 | } 104 | 105 | open func slideOutAnimation(_ dialogView: UIView, sourceView: UIView, overlayView: UIView, animationPattern: LSAnimationPattern) { 106 | let sourceSize = sourceView.bounds.size 107 | let dialogSize = dialogView.bounds.size 108 | var dialogEndRect: CGRect 109 | 110 | switch animationPattern { 111 | case .slideBottomTop, 112 | .slideTopTop: 113 | dialogEndRect = CGRect(x: (sourceSize.width - dialogSize.width) / 2, y: -dialogSize.height, width: dialogSize.width, height: dialogSize.height) 114 | case .slideBottomBottom, 115 | .slideTopBottom: 116 | dialogEndRect = CGRect(x: (sourceSize.width - dialogSize.width) / 2, y: dialogSize.height, width: dialogSize.width, height: dialogSize.height) 117 | case .slideLeftRight, 118 | .slideRightRight: 119 | dialogEndRect = CGRect(x: sourceSize.width, y: dialogView.frame.origin.y, width: dialogSize.width, height: dialogSize.height) 120 | default: 121 | dialogEndRect = CGRect(x: -dialogSize.width, y: dialogView.frame.origin.y, width: dialogSize.width, height: dialogSize.height) 122 | } 123 | 124 | UIView.animate(withDuration: animationDuration, delay: 0.0, options: .curveEaseIn, animations: { () -> Void in 125 | self.parentViewController?.ls_dialogBackgroundView?.alpha = 0.0 126 | dialogView.frame = dialogEndRect 127 | }) { (finished) -> Void in 128 | UIView.animate(withDuration: self.animationDuration, delay: 0.0, options: .curveEaseIn, animations: { () -> Void in 129 | self.parentViewController?.ls_dialogViewController?.viewWillDisappear(false) 130 | }) { (finished) -> Void in 131 | dialogView.removeFromSuperview() 132 | overlayView.removeFromSuperview() 133 | self.parentViewController?.ls_dialogViewController?.viewDidDisappear(false) 134 | self.parentViewController?.ls_dialogViewController = nil 135 | } 136 | } 137 | } 138 | 139 | open func fadeInAnimation(_ dialogView: UIView, sourceView: UIView, overlayView: UIView) { 140 | let sourceSize = sourceView.bounds.size 141 | let dialogSize = dialogView.bounds.size 142 | dialogView.frame = CGRect(x: (sourceSize.width - dialogSize.width) / 2, 143 | y: (sourceSize.height - dialogSize.height) / 2, 144 | width: dialogSize.width, 145 | height: dialogSize.height) 146 | dialogView.transform = CGAffineTransform(scaleX: 1.05, y: 1.05) 147 | dialogView.alpha = 0.0 148 | 149 | UIView.animate(withDuration: animationDuration, animations: { () -> Void in 150 | self.parentViewController?.ls_dialogViewController!.viewWillAppear(false) 151 | self.parentViewController?.ls_dialogBackgroundView!.alpha = 1.0 152 | dialogView.transform = CGAffineTransform.identity 153 | dialogView.alpha = 1.0 154 | }, completion: { (finished) -> Void in 155 | self.parentViewController?.ls_dialogViewController?.viewDidAppear(false) 156 | }) 157 | } 158 | 159 | open func fadeOutAnimation(_ dialogView: UIView, sourceView: UIView, overlayView: UIView) { 160 | UIView.animate(withDuration: animationDuration, animations: { () -> Void in 161 | self.parentViewController?.ls_dialogViewController?.viewDidDisappear(false) 162 | self.parentViewController?.ls_dialogBackgroundView?.alpha = 0.0 163 | dialogView.transform = CGAffineTransform(scaleX: 0.95, y: 0.95) 164 | dialogView.alpha = 0.0 165 | }, completion: { (finished) -> Void in 166 | dialogView.removeFromSuperview() 167 | overlayView.removeFromSuperview() 168 | self.parentViewController?.ls_dialogViewController?.viewDidDisappear(false) 169 | self.parentViewController?.ls_dialogViewController = nil 170 | }) 171 | } 172 | 173 | open func zoomInAnimation(_ dialogView: UIView, sourceView: UIView, overlayView: UIView) { 174 | let sourceSize = sourceView.bounds.size 175 | let dialogSize = dialogView.bounds.size 176 | dialogView.frame = CGRect(x: (sourceSize.width - dialogSize.width) / 2, 177 | y: (sourceSize.height - dialogSize.height) / 2, 178 | width: dialogSize.width, 179 | height: dialogSize.height) 180 | dialogView.transform = CGAffineTransform(scaleX: 0.01, y: 0.01) 181 | dialogView.alpha = 0.0 182 | 183 | UIView.animate(withDuration: animationDuration, delay: 0.0, options: UIView.AnimationOptions.curveEaseIn, animations: { () -> Void in 184 | self.parentViewController?.ls_dialogViewController?.viewWillAppear(false) 185 | self.parentViewController?.ls_dialogBackgroundView?.alpha = 1.0 186 | dialogView.transform = CGAffineTransform.identity 187 | dialogView.alpha = 1.0 188 | }) { (finished) -> Void in 189 | self.parentViewController?.ls_dialogViewController?.viewDidAppear(false) 190 | } 191 | } 192 | 193 | open func zoomOutAnimation(_ dialogView: UIView, sourceView: UIView, overlayView: UIView) { 194 | UIView.animate(withDuration: animationDuration, delay: 0.0, options: UIView.AnimationOptions.curveEaseIn, animations: { () -> Void in 195 | self.parentViewController?.ls_dialogViewController?.viewDidDisappear(false) 196 | self.parentViewController?.ls_dialogBackgroundView?.alpha = 0.0 197 | dialogView.transform = CGAffineTransform(scaleX: 0.01, y: 0.01) 198 | dialogView.alpha = 0.0 199 | }) { (finished) -> Void in 200 | dialogView.removeFromSuperview() 201 | overlayView.removeFromSuperview() 202 | self.parentViewController?.ls_dialogViewController?.viewDidDisappear(false) 203 | self.parentViewController?.ls_dialogViewController = nil 204 | } 205 | } 206 | } 207 | -------------------------------------------------------------------------------- /LSDialogViewController/Classes/LSDialogBackgroundView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LSDialogBackgroundView.swift 3 | // LSDialogViewController 4 | // 5 | // Created by Daisuke Hasegawa on 2016/05/15. 6 | // Copyright © 2016年 Libra Studio, Inc. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public enum LSDialogBackgroundViewType { 12 | case solid 13 | case gradient 14 | case none 15 | } 16 | 17 | open class LSDialogBackgroundView: UIView { 18 | var backgroundViewType: LSDialogBackgroundViewType? 19 | 20 | override init(frame: CGRect) { 21 | super.init(frame: frame) 22 | } 23 | 24 | required public init(coder aDecoder: NSCoder) { 25 | super.init(coder: aDecoder)! 26 | } 27 | 28 | override open func draw(_ rect: CGRect) { 29 | super.draw(rect) 30 | if let type = self.backgroundViewType { 31 | switch type { 32 | case .solid: 33 | self.drawBackgroundViewWithSolid() 34 | case .gradient: 35 | self.drawBackgroundViewWihGradient() 36 | case .none: 37 | break 38 | } 39 | } 40 | } 41 | 42 | fileprivate func drawBackgroundViewWihGradient() { 43 | let context = UIGraphicsGetCurrentContext()! 44 | let colors: [CGFloat] = [0.0, 0.0, 0.0 ,0.0 ,0.0 ,0.0 ,0.0 ,0.75] 45 | let colorsCount = 2 46 | let colorsLocation: [CGFloat] = [0.0, 1.0] 47 | let space = CGColorSpaceCreateDeviceRGB() 48 | let gradient = CGGradient(colorSpace: space, colorComponents: colors, locations: colorsLocation, count: colorsCount)! 49 | let startCenter = CGPoint(x: self.bounds.size.width / 2, y: self.bounds.size.height / 2) 50 | let endCenter = startCenter 51 | let startRadius: CGFloat = 0.0 52 | let endRadius = min(self.bounds.size.width as CGFloat, self.bounds.size.height as CGFloat) 53 | 54 | context.drawRadialGradient(gradient, startCenter: startCenter, startRadius: startRadius, endCenter: endCenter, endRadius: endRadius, options: CGGradientDrawingOptions.drawsAfterEndLocation) 55 | } 56 | 57 | fileprivate func drawBackgroundViewWithSolid() { 58 | let context = UIGraphicsGetCurrentContext() 59 | let rect = CGRect(x: 0, y: 0, width: self.bounds.width, height: self.bounds.height) 60 | 61 | context?.setFillColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.5) 62 | context?.addRect(rect) 63 | context?.fillPath() 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /LSDialogViewController/Classes/UIViewController+LSDialogViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LSDialogViewController.swift 3 | // LSDialogViewController 4 | // 5 | // Created by Daisuke Hasegawa on 2016/05/15. 6 | // Copyright © 2016年 Libra Studio, Inc. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | let LSSourceViewTag = 997 12 | let LSDialogViewTag = 998 13 | let LSOverlayViewTag = 999 14 | 15 | var kDialogViewController = 0 16 | var kDialogBackgroundView = 1 17 | 18 | public extension UIViewController { 19 | var ls_dialogViewController: UIViewController? { 20 | get { 21 | return objc_getAssociatedObject(self, &kDialogViewController) as? UIViewController 22 | } 23 | set(newValue) { 24 | objc_setAssociatedObject(self, &kDialogViewController, newValue, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC) 25 | } 26 | } 27 | 28 | var ls_dialogBackgroundView: LSDialogBackgroundView? { 29 | get { 30 | return objc_getAssociatedObject(self, &kDialogBackgroundView) as? LSDialogBackgroundView 31 | } 32 | set(newValue) { 33 | objc_setAssociatedObject(self, &kDialogBackgroundView, newValue, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC) 34 | } 35 | } 36 | 37 | func presentDialogViewController(_ dialogViewController: UIViewController, animationPattern: LSAnimationPattern = .fadeInOut, backgroundViewType: LSDialogBackgroundViewType = .solid, dismissButtonEnabled: Bool = true, completion: (() -> Swift.Void)? = nil) { 38 | // get the view of viewController that called the dialog 39 | let sourceView = self.getSourceView() 40 | self.ls_dialogViewController = dialogViewController 41 | sourceView.tag = LSSourceViewTag 42 | 43 | // dialog View 44 | let dialogView: UIView = ls_dialogViewController!.view 45 | dialogView.autoresizingMask = [.flexibleBottomMargin, .flexibleLeftMargin, .flexibleTopMargin, .flexibleRightMargin] 46 | dialogView.alpha = 0.0 47 | dialogView.tag = LSDialogViewTag 48 | 49 | if sourceView.subviews.contains(dialogView) { 50 | return 51 | } 52 | 53 | let overlayView: UIView = UIView(frame: sourceView.bounds) 54 | overlayView.autoresizingMask = [.flexibleWidth, .flexibleHeight] 55 | overlayView.backgroundColor = .clear 56 | overlayView.tag = LSOverlayViewTag 57 | 58 | // background View 59 | self.ls_dialogBackgroundView = LSDialogBackgroundView(frame: sourceView.bounds) 60 | self.ls_dialogBackgroundView!.autoresizingMask = [.flexibleWidth, .flexibleHeight] 61 | self.ls_dialogBackgroundView!.backgroundColor = .clear 62 | self.ls_dialogBackgroundView!.backgroundViewType = backgroundViewType 63 | self.ls_dialogBackgroundView!.alpha = 0.0 64 | if let _ = self.ls_dialogBackgroundView { 65 | overlayView.addSubview(self.ls_dialogBackgroundView!) 66 | } 67 | 68 | // dismiss button 69 | let dismissButton = UIButton(type: .custom) 70 | dismissButton.autoresizingMask = [.flexibleWidth, .flexibleHeight] 71 | dismissButton.backgroundColor = .clear 72 | dismissButton.frame = sourceView.bounds 73 | dismissButton.tag = animationPattern == LSAnimationPattern.fadeInOut ? LSAnimationPattern.fadeInOut.rawValue : animationPattern.rawValue 74 | dismissButton.addTarget(self, action: #selector(UIViewController.tapLSDialogBackgroundView(_:)), for: .touchUpInside) 75 | dismissButton.isEnabled = dismissButtonEnabled 76 | 77 | // add view 78 | overlayView.addSubview(dismissButton) 79 | overlayView.addSubview(dialogView) 80 | sourceView.addSubview(overlayView) 81 | 82 | // set animation pattern and call 83 | LSAnimationUtils.shared.startAnimation(self, dialogView: dialogView, sourceView: sourceView, overlayView: overlayView, animationPattern: animationPattern) 84 | 85 | // called after the dialog display 86 | completion?() 87 | } 88 | 89 | // close dialog 90 | func dismissDialogViewController(_ animationPattern: LSAnimationPattern = .fadeInOut) { 91 | let sourceView = self.getSourceView() 92 | let dialogView = sourceView.viewWithTag(LSDialogViewTag)! 93 | let overlayView = sourceView.viewWithTag(LSOverlayViewTag)! 94 | 95 | // set animation pattern and call 96 | LSAnimationUtils.shared.endAnimation(dialogView, sourceView: sourceView, overlayView: overlayView, animationPattern: animationPattern) 97 | } 98 | 99 | // Close the dialog by tapping the background 100 | @objc func tapLSDialogBackgroundView(_ dismissButton: UIButton) { 101 | let animationPattern: LSAnimationPattern = LSAnimationPattern(rawValue: dismissButton.tag)! 102 | self.dismissDialogViewController(animationPattern) 103 | } 104 | 105 | func getSourceView() -> UIView { 106 | var sourceViewController = self 107 | guard let parent = sourceViewController.parent else { return sourceViewController.view} 108 | sourceViewController = parent 109 | 110 | return sourceViewController.view 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 | LSDialogViewController Logo 3 |
4 | 5 | [![Language: Swift 5.0](https://img.shields.io/badge/swift-5.0-4BC51D.svg?style=flat)](https://developer.apple.com/swift) 6 | [![License](https://img.shields.io/cocoapods/l/LSDialogViewController.svg?style=flat)](http://cocoapods.org/pods/LSDialogViewController) 7 | [![Platform](https://img.shields.io/cocoapods/p/LSDialogViewController.svg?style=flat)](http://cocoapods.org/pods/LSDialogViewController) 8 | [![CocoaPodsDL](https://img.shields.io/badge/Cocoa%20Pods-%E2%9C%93-4BC51D.svg?style=flat)](https://cocoapods.org/pods/LSDialogViewController) 9 | [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) 10 | 11 | 12 | `LSDialogViewController` is able to easily display a custom view as a dialog. 13 | 14 | ![LSDialogViewController_animation](https://raw.github.com/wiki/daihase/resource_manage/gifs/LSDialogViewController_animation.gif) 15 | 16 | # Requirement 17 | - Swift 2+ (**Swift 5 is ready** :thumbsup:) 18 | - iOS 8.0+ 19 | 20 | # Installation 21 | 22 | ### From CocoaPods 23 | 24 | LSDialogViewController is available through [CocoaPods](http://cocoapods.org). To install 25 | it, simply add the following line to your Podfile: 26 | 27 | ```ruby 28 | # for Swift 5.0 29 | pod 'LSDialogViewController', '~> 4.0' 30 | 31 | # for Swift 4.2 32 | pod 'LSDialogViewController', '~> 3.0' 33 | 34 | # for Swift 3 35 | pod 'LSDialogViewController', '~> 0.1.9' 36 | ``` 37 | 38 | ### From Carthage 39 | 40 | Add this to Cartfile. 41 | ```ruby 42 | github "daihase/LSDialogViewController" 43 | ``` 44 | 45 | And then, run this command. 46 | ```ruby 47 | $ carthage update 48 | ``` 49 | 50 | 51 | # Usage 52 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 53 | 54 | 55 | #### Examples 56 | 57 | ```swift 58 | 59 | import LSDialogViewController 60 | // to show the dialog 61 | let dialogViewController: CustomDialogViewController = CustomDialogViewController(nibName:"CustomDialog", bundle: nil) 62 | dialogViewController.delegate = self 63 | self.presentDialogViewController(dialogViewController, animationPattern: animationPattern, completion: { () -> Void in }) 64 | 65 | // to dismiss the dialog 66 | self.dismissDialogViewController(animationPattern) 67 | ``` 68 | 69 | # Configuration 70 | ```swift 71 | presentDialogViewController( 72 | // required 73 | dialogViewController: :UIViewController, 74 | // default LSAnimationPattern.FadeInOut 75 | animationPattern: LSAnimationPattern, 76 | // default LSDialogBackgroundViewType.Solid 77 | backgroundViewType: LSDialogBackgroundViewType, 78 | // default true 79 | dismissButtonEnabled: Bool, 80 | // optional 81 | completion: (() -> Swift.Void)? 82 | ) 83 | ``` 84 | Other background view type. (.Gradient .None) 85 | 86 | ![Image][1] 87 | . 88 | ![Image][2] 89 | 90 | ## License 91 | 92 | LSDialogViewController is available under the MIT license. See the LICENSE file for more info. 93 | 94 | 95 | [1]: 96 | https://raw.github.com/wiki/daihase/resource_manage/gifs/zoominout_gradient.gif 97 | [2]: 98 | https://raw.github.com/wiki/daihase/resource_manage/gifs/slide-bottombottom_none.gif 99 | --------------------------------------------------------------------------------