├── .DS_Store ├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── .gitignore ├── Example ├── .DS_Store ├── FloraButton.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── FloraButton-Example.xcscheme ├── FloraButton.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── PDFloraButton │ ├── .DS_Store │ ├── PDFloraButton.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── PDFloraButton │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── PDFloraButton.swift │ │ └── ViewController.swift │ └── README.md ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── FloraButton.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── FloraButton │ │ ├── FloraButton-Info.plist │ │ ├── FloraButton-dummy.m │ │ ├── FloraButton-prefix.pch │ │ ├── FloraButton-umbrella.h │ │ ├── FloraButton.modulemap │ │ └── FloraButton.xcconfig │ │ └── Pods-FloraButton_Tests │ │ ├── Pods-FloraButton_Tests-Info.plist │ │ ├── Pods-FloraButton_Tests-acknowledgements.markdown │ │ ├── Pods-FloraButton_Tests-acknowledgements.plist │ │ ├── Pods-FloraButton_Tests-dummy.m │ │ ├── Pods-FloraButton_Tests-frameworks.sh │ │ ├── Pods-FloraButton_Tests-umbrella.h │ │ ├── Pods-FloraButton_Tests.debug.xcconfig │ │ ├── Pods-FloraButton_Tests.modulemap │ │ └── Pods-FloraButton_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── FloraButton.podspec ├── FloraButton ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── PDFloraButton.swift ├── LICENSE ├── README.md ├── Screenshots ├── PDFloraButton.gif └── ScreenShot.png └── _Pods.xcodeproj /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PriyamDutta/PDFloraButton/2af6beb8ec50589231725b53ea10987157a1482c/.DS_Store -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ### Description: 11 | 12 | ### Expected behavior: 13 | 14 | ### Actual behavior: 15 | 16 | ### Issue Type: 17 | 18 | ### Steps to reproduce the behavior: 19 | 20 | ### Screenshots 21 | If applicable, add screenshots to help explain your problem. 22 | 23 | ### Web: 24 | - OS: [e.g. iOS] 25 | - Browser [e.g. chrome, safari] 26 | - Version [e.g. 22] 27 | 28 | ### Device: 29 | - Device: [e.g. iPhone6] 30 | - OS: [e.g. iOS8.1] 31 | - Version [e.g. 22] 32 | - Build [e.g. 22] 33 | 34 | ### Backend: 35 | 36 | ### Additional context: 37 | - Account name: 38 | - Username: 39 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/Preview.html 64 | fastlane/screenshots 65 | fastlane/test_output 66 | -------------------------------------------------------------------------------- /Example/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PriyamDutta/PDFloraButton/2af6beb8ec50589231725b53ea10987157a1482c/Example/.DS_Store -------------------------------------------------------------------------------- /Example/FloraButton.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 11 | 94304FCAEB7CB9F511933AC9 /* Pods_FloraButton_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FBE83ADBC6F6A73E46BB6883 /* Pods_FloraButton_Tests.framework */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXFileReference section */ 15 | 607FACE51AFB9204008FA782 /* FloraButton_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FloraButton_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 16 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 17 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 18 | 7B02E1C4857AFEF80EE9C648 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 19 | 8CEA349B95667C131288EBCA /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 20 | B62EF032B087E8B68F64BDDA /* Pods-FloraButton_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FloraButton_Tests.debug.xcconfig"; path = "Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests.debug.xcconfig"; sourceTree = ""; }; 21 | CBCE1A3B3AF069043B58AF80 /* FloraButton.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = FloraButton.podspec; path = ../FloraButton.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 22 | E60C80D15AE8B16E7FDFA536 /* Pods-FloraButton_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FloraButton_Tests.release.xcconfig"; path = "Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests.release.xcconfig"; sourceTree = ""; }; 23 | FBE83ADBC6F6A73E46BB6883 /* Pods_FloraButton_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FloraButton_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 24 | /* End PBXFileReference section */ 25 | 26 | /* Begin PBXFrameworksBuildPhase section */ 27 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 28 | isa = PBXFrameworksBuildPhase; 29 | buildActionMask = 2147483647; 30 | files = ( 31 | 94304FCAEB7CB9F511933AC9 /* Pods_FloraButton_Tests.framework in Frameworks */, 32 | ); 33 | runOnlyForDeploymentPostprocessing = 0; 34 | }; 35 | /* End PBXFrameworksBuildPhase section */ 36 | 37 | /* Begin PBXGroup section */ 38 | 607FACC71AFB9204008FA782 = { 39 | isa = PBXGroup; 40 | children = ( 41 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 42 | 607FACE81AFB9204008FA782 /* Tests */, 43 | 607FACD11AFB9204008FA782 /* Products */, 44 | AF2AC75CA8B9BE9C67392533 /* Pods */, 45 | E3F79E5CA4474E53F0EFDF12 /* Frameworks */, 46 | ); 47 | sourceTree = ""; 48 | }; 49 | 607FACD11AFB9204008FA782 /* Products */ = { 50 | isa = PBXGroup; 51 | children = ( 52 | 607FACE51AFB9204008FA782 /* FloraButton_Tests.xctest */, 53 | ); 54 | name = Products; 55 | sourceTree = ""; 56 | }; 57 | 607FACE81AFB9204008FA782 /* Tests */ = { 58 | isa = PBXGroup; 59 | children = ( 60 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 61 | 607FACE91AFB9204008FA782 /* Supporting Files */, 62 | ); 63 | path = Tests; 64 | sourceTree = ""; 65 | }; 66 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 67 | isa = PBXGroup; 68 | children = ( 69 | 607FACEA1AFB9204008FA782 /* Info.plist */, 70 | ); 71 | name = "Supporting Files"; 72 | sourceTree = ""; 73 | }; 74 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | CBCE1A3B3AF069043B58AF80 /* FloraButton.podspec */, 78 | 7B02E1C4857AFEF80EE9C648 /* README.md */, 79 | 8CEA349B95667C131288EBCA /* LICENSE */, 80 | ); 81 | name = "Podspec Metadata"; 82 | sourceTree = ""; 83 | }; 84 | AF2AC75CA8B9BE9C67392533 /* Pods */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | B62EF032B087E8B68F64BDDA /* Pods-FloraButton_Tests.debug.xcconfig */, 88 | E60C80D15AE8B16E7FDFA536 /* Pods-FloraButton_Tests.release.xcconfig */, 89 | ); 90 | path = Pods; 91 | sourceTree = ""; 92 | }; 93 | E3F79E5CA4474E53F0EFDF12 /* Frameworks */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | FBE83ADBC6F6A73E46BB6883 /* Pods_FloraButton_Tests.framework */, 97 | ); 98 | name = Frameworks; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 607FACE41AFB9204008FA782 /* FloraButton_Tests */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "FloraButton_Tests" */; 107 | buildPhases = ( 108 | 7470EFE65ECBBB7B2D08BDD2 /* [CP] Check Pods Manifest.lock */, 109 | 607FACE11AFB9204008FA782 /* Sources */, 110 | 607FACE21AFB9204008FA782 /* Frameworks */, 111 | 607FACE31AFB9204008FA782 /* Resources */, 112 | 90A7F8E78466B1EEA8693DDC /* [CP] Embed Pods Frameworks */, 113 | ); 114 | buildRules = ( 115 | ); 116 | dependencies = ( 117 | ); 118 | name = FloraButton_Tests; 119 | productName = Tests; 120 | productReference = 607FACE51AFB9204008FA782 /* FloraButton_Tests.xctest */; 121 | productType = "com.apple.product-type.bundle.unit-test"; 122 | }; 123 | /* End PBXNativeTarget section */ 124 | 125 | /* Begin PBXProject section */ 126 | 607FACC81AFB9204008FA782 /* Project object */ = { 127 | isa = PBXProject; 128 | attributes = { 129 | LastSwiftUpdateCheck = 0830; 130 | LastUpgradeCheck = 0830; 131 | ORGANIZATIONNAME = CocoaPods; 132 | TargetAttributes = { 133 | 607FACE41AFB9204008FA782 = { 134 | CreatedOnToolsVersion = 6.3.1; 135 | LastSwiftMigration = 0900; 136 | TestTargetID = 607FACCF1AFB9204008FA782; 137 | }; 138 | }; 139 | }; 140 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "FloraButton" */; 141 | compatibilityVersion = "Xcode 3.2"; 142 | developmentRegion = English; 143 | hasScannedForEncodings = 0; 144 | knownRegions = ( 145 | English, 146 | en, 147 | Base, 148 | ); 149 | mainGroup = 607FACC71AFB9204008FA782; 150 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 151 | projectDirPath = ""; 152 | projectRoot = ""; 153 | targets = ( 154 | 607FACE41AFB9204008FA782 /* FloraButton_Tests */, 155 | ); 156 | }; 157 | /* End PBXProject section */ 158 | 159 | /* Begin PBXResourcesBuildPhase section */ 160 | 607FACE31AFB9204008FA782 /* Resources */ = { 161 | isa = PBXResourcesBuildPhase; 162 | buildActionMask = 2147483647; 163 | files = ( 164 | ); 165 | runOnlyForDeploymentPostprocessing = 0; 166 | }; 167 | /* End PBXResourcesBuildPhase section */ 168 | 169 | /* Begin PBXShellScriptBuildPhase section */ 170 | 7470EFE65ECBBB7B2D08BDD2 /* [CP] Check Pods Manifest.lock */ = { 171 | isa = PBXShellScriptBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | ); 175 | inputFileListPaths = ( 176 | ); 177 | inputPaths = ( 178 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 179 | "${PODS_ROOT}/Manifest.lock", 180 | ); 181 | name = "[CP] Check Pods Manifest.lock"; 182 | outputFileListPaths = ( 183 | ); 184 | outputPaths = ( 185 | "$(DERIVED_FILE_DIR)/Pods-FloraButton_Tests-checkManifestLockResult.txt", 186 | ); 187 | runOnlyForDeploymentPostprocessing = 0; 188 | shellPath = /bin/sh; 189 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 190 | showEnvVarsInLog = 0; 191 | }; 192 | 90A7F8E78466B1EEA8693DDC /* [CP] Embed Pods Frameworks */ = { 193 | isa = PBXShellScriptBuildPhase; 194 | buildActionMask = 2147483647; 195 | files = ( 196 | ); 197 | inputFileListPaths = ( 198 | ); 199 | inputPaths = ( 200 | "${PODS_ROOT}/Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests-frameworks.sh", 201 | "${BUILT_PRODUCTS_DIR}/FloraButton/FloraButton.framework", 202 | ); 203 | name = "[CP] Embed Pods Frameworks"; 204 | outputFileListPaths = ( 205 | ); 206 | outputPaths = ( 207 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FloraButton.framework", 208 | ); 209 | runOnlyForDeploymentPostprocessing = 0; 210 | shellPath = /bin/sh; 211 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests-frameworks.sh\"\n"; 212 | showEnvVarsInLog = 0; 213 | }; 214 | /* End PBXShellScriptBuildPhase section */ 215 | 216 | /* Begin PBXSourcesBuildPhase section */ 217 | 607FACE11AFB9204008FA782 /* Sources */ = { 218 | isa = PBXSourcesBuildPhase; 219 | buildActionMask = 2147483647; 220 | files = ( 221 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 222 | ); 223 | runOnlyForDeploymentPostprocessing = 0; 224 | }; 225 | /* End PBXSourcesBuildPhase section */ 226 | 227 | /* Begin XCBuildConfiguration section */ 228 | 607FACED1AFB9204008FA782 /* Debug */ = { 229 | isa = XCBuildConfiguration; 230 | buildSettings = { 231 | ALWAYS_SEARCH_USER_PATHS = NO; 232 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 233 | CLANG_CXX_LIBRARY = "libc++"; 234 | CLANG_ENABLE_MODULES = YES; 235 | CLANG_ENABLE_OBJC_ARC = YES; 236 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 237 | CLANG_WARN_BOOL_CONVERSION = YES; 238 | CLANG_WARN_COMMA = YES; 239 | CLANG_WARN_CONSTANT_CONVERSION = YES; 240 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 241 | CLANG_WARN_EMPTY_BODY = YES; 242 | CLANG_WARN_ENUM_CONVERSION = YES; 243 | CLANG_WARN_INFINITE_RECURSION = YES; 244 | CLANG_WARN_INT_CONVERSION = YES; 245 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 246 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 247 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 248 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 249 | CLANG_WARN_STRICT_PROTOTYPES = YES; 250 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 251 | CLANG_WARN_UNREACHABLE_CODE = YES; 252 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 253 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 254 | COPY_PHASE_STRIP = NO; 255 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 256 | ENABLE_STRICT_OBJC_MSGSEND = YES; 257 | ENABLE_TESTABILITY = YES; 258 | GCC_C_LANGUAGE_STANDARD = gnu99; 259 | GCC_DYNAMIC_NO_PIC = NO; 260 | GCC_NO_COMMON_BLOCKS = YES; 261 | GCC_OPTIMIZATION_LEVEL = 0; 262 | GCC_PREPROCESSOR_DEFINITIONS = ( 263 | "DEBUG=1", 264 | "$(inherited)", 265 | ); 266 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 267 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 268 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 269 | GCC_WARN_UNDECLARED_SELECTOR = YES; 270 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 271 | GCC_WARN_UNUSED_FUNCTION = YES; 272 | GCC_WARN_UNUSED_VARIABLE = YES; 273 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 274 | MTL_ENABLE_DEBUG_INFO = YES; 275 | ONLY_ACTIVE_ARCH = YES; 276 | SDKROOT = iphoneos; 277 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 278 | }; 279 | name = Debug; 280 | }; 281 | 607FACEE1AFB9204008FA782 /* Release */ = { 282 | isa = XCBuildConfiguration; 283 | buildSettings = { 284 | ALWAYS_SEARCH_USER_PATHS = NO; 285 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 286 | CLANG_CXX_LIBRARY = "libc++"; 287 | CLANG_ENABLE_MODULES = YES; 288 | CLANG_ENABLE_OBJC_ARC = YES; 289 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 290 | CLANG_WARN_BOOL_CONVERSION = YES; 291 | CLANG_WARN_COMMA = YES; 292 | CLANG_WARN_CONSTANT_CONVERSION = YES; 293 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 294 | CLANG_WARN_EMPTY_BODY = YES; 295 | CLANG_WARN_ENUM_CONVERSION = YES; 296 | CLANG_WARN_INFINITE_RECURSION = YES; 297 | CLANG_WARN_INT_CONVERSION = YES; 298 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 299 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 300 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 301 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 302 | CLANG_WARN_STRICT_PROTOTYPES = YES; 303 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 304 | CLANG_WARN_UNREACHABLE_CODE = YES; 305 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 306 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 307 | COPY_PHASE_STRIP = NO; 308 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 309 | ENABLE_NS_ASSERTIONS = NO; 310 | ENABLE_STRICT_OBJC_MSGSEND = YES; 311 | GCC_C_LANGUAGE_STANDARD = gnu99; 312 | GCC_NO_COMMON_BLOCKS = YES; 313 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 314 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 315 | GCC_WARN_UNDECLARED_SELECTOR = YES; 316 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 317 | GCC_WARN_UNUSED_FUNCTION = YES; 318 | GCC_WARN_UNUSED_VARIABLE = YES; 319 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 320 | MTL_ENABLE_DEBUG_INFO = NO; 321 | SDKROOT = iphoneos; 322 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 323 | VALIDATE_PRODUCT = YES; 324 | }; 325 | name = Release; 326 | }; 327 | 607FACF31AFB9204008FA782 /* Debug */ = { 328 | isa = XCBuildConfiguration; 329 | baseConfigurationReference = B62EF032B087E8B68F64BDDA /* Pods-FloraButton_Tests.debug.xcconfig */; 330 | buildSettings = { 331 | FRAMEWORK_SEARCH_PATHS = ( 332 | "$(SDKROOT)/Developer/Library/Frameworks", 333 | "$(inherited)", 334 | ); 335 | GCC_PREPROCESSOR_DEFINITIONS = ( 336 | "DEBUG=1", 337 | "$(inherited)", 338 | ); 339 | INFOPLIST_FILE = Tests/Info.plist; 340 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 341 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 342 | PRODUCT_NAME = "$(TARGET_NAME)"; 343 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 344 | SWIFT_VERSION = 4.0; 345 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FloraButton_Example.app/FloraButton_Example"; 346 | }; 347 | name = Debug; 348 | }; 349 | 607FACF41AFB9204008FA782 /* Release */ = { 350 | isa = XCBuildConfiguration; 351 | baseConfigurationReference = E60C80D15AE8B16E7FDFA536 /* Pods-FloraButton_Tests.release.xcconfig */; 352 | buildSettings = { 353 | FRAMEWORK_SEARCH_PATHS = ( 354 | "$(SDKROOT)/Developer/Library/Frameworks", 355 | "$(inherited)", 356 | ); 357 | INFOPLIST_FILE = Tests/Info.plist; 358 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 359 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 360 | PRODUCT_NAME = "$(TARGET_NAME)"; 361 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 362 | SWIFT_VERSION = 4.0; 363 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FloraButton_Example.app/FloraButton_Example"; 364 | }; 365 | name = Release; 366 | }; 367 | /* End XCBuildConfiguration section */ 368 | 369 | /* Begin XCConfigurationList section */ 370 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "FloraButton" */ = { 371 | isa = XCConfigurationList; 372 | buildConfigurations = ( 373 | 607FACED1AFB9204008FA782 /* Debug */, 374 | 607FACEE1AFB9204008FA782 /* Release */, 375 | ); 376 | defaultConfigurationIsVisible = 0; 377 | defaultConfigurationName = Release; 378 | }; 379 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "FloraButton_Tests" */ = { 380 | isa = XCConfigurationList; 381 | buildConfigurations = ( 382 | 607FACF31AFB9204008FA782 /* Debug */, 383 | 607FACF41AFB9204008FA782 /* Release */, 384 | ); 385 | defaultConfigurationIsVisible = 0; 386 | defaultConfigurationName = Release; 387 | }; 388 | /* End XCConfigurationList section */ 389 | }; 390 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 391 | } 392 | -------------------------------------------------------------------------------- /Example/FloraButton.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/FloraButton.xcodeproj/xcshareddata/xcschemes/FloraButton-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/FloraButton.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/FloraButton.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/PDFloraButton/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PriyamDutta/PDFloraButton/2af6beb8ec50589231725b53ea10987157a1482c/Example/PDFloraButton/.DS_Store -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 082F50CD1D7168EC00DE883A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 082F50CC1D7168EC00DE883A /* AppDelegate.swift */; }; 11 | 082F50CF1D7168EC00DE883A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 082F50CE1D7168EC00DE883A /* ViewController.swift */; }; 12 | 082F50D21D7168EC00DE883A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 082F50D01D7168EC00DE883A /* Main.storyboard */; }; 13 | 082F50D41D7168EC00DE883A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 082F50D31D7168EC00DE883A /* Assets.xcassets */; }; 14 | 082F50D71D7168EC00DE883A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 082F50D51D7168EC00DE883A /* LaunchScreen.storyboard */; }; 15 | 082F50DF1D71696200DE883A /* PDFloraButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 082F50DE1D71696200DE883A /* PDFloraButton.swift */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 082F50C91D7168EC00DE883A /* PDFloraButton.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PDFloraButton.app; sourceTree = BUILT_PRODUCTS_DIR; }; 20 | 082F50CC1D7168EC00DE883A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 21 | 082F50CE1D7168EC00DE883A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 22 | 082F50D11D7168EC00DE883A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 23 | 082F50D31D7168EC00DE883A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 24 | 082F50D61D7168EC00DE883A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 25 | 082F50D81D7168EC00DE883A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 082F50DE1D71696200DE883A /* PDFloraButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PDFloraButton.swift; sourceTree = ""; }; 27 | /* End PBXFileReference section */ 28 | 29 | /* Begin PBXFrameworksBuildPhase section */ 30 | 082F50C61D7168EC00DE883A /* Frameworks */ = { 31 | isa = PBXFrameworksBuildPhase; 32 | buildActionMask = 2147483647; 33 | files = ( 34 | ); 35 | runOnlyForDeploymentPostprocessing = 0; 36 | }; 37 | /* End PBXFrameworksBuildPhase section */ 38 | 39 | /* Begin PBXGroup section */ 40 | 082F50C01D7168EC00DE883A = { 41 | isa = PBXGroup; 42 | children = ( 43 | 082F50CB1D7168EC00DE883A /* PDFloraButton */, 44 | 082F50CA1D7168EC00DE883A /* Products */, 45 | ); 46 | sourceTree = ""; 47 | }; 48 | 082F50CA1D7168EC00DE883A /* Products */ = { 49 | isa = PBXGroup; 50 | children = ( 51 | 082F50C91D7168EC00DE883A /* PDFloraButton.app */, 52 | ); 53 | name = Products; 54 | sourceTree = ""; 55 | }; 56 | 082F50CB1D7168EC00DE883A /* PDFloraButton */ = { 57 | isa = PBXGroup; 58 | children = ( 59 | 082F50CC1D7168EC00DE883A /* AppDelegate.swift */, 60 | 082F50CE1D7168EC00DE883A /* ViewController.swift */, 61 | 082F50D01D7168EC00DE883A /* Main.storyboard */, 62 | 082F50D31D7168EC00DE883A /* Assets.xcassets */, 63 | 082F50D51D7168EC00DE883A /* LaunchScreen.storyboard */, 64 | 082F50D81D7168EC00DE883A /* Info.plist */, 65 | 082F50DE1D71696200DE883A /* PDFloraButton.swift */, 66 | ); 67 | path = PDFloraButton; 68 | sourceTree = ""; 69 | }; 70 | /* End PBXGroup section */ 71 | 72 | /* Begin PBXNativeTarget section */ 73 | 082F50C81D7168EC00DE883A /* PDFloraButton */ = { 74 | isa = PBXNativeTarget; 75 | buildConfigurationList = 082F50DB1D7168EC00DE883A /* Build configuration list for PBXNativeTarget "PDFloraButton" */; 76 | buildPhases = ( 77 | 082F50C51D7168EC00DE883A /* Sources */, 78 | 082F50C61D7168EC00DE883A /* Frameworks */, 79 | 082F50C71D7168EC00DE883A /* Resources */, 80 | ); 81 | buildRules = ( 82 | ); 83 | dependencies = ( 84 | ); 85 | name = PDFloraButton; 86 | productName = PDFloraButton; 87 | productReference = 082F50C91D7168EC00DE883A /* PDFloraButton.app */; 88 | productType = "com.apple.product-type.application"; 89 | }; 90 | /* End PBXNativeTarget section */ 91 | 92 | /* Begin PBXProject section */ 93 | 082F50C11D7168EC00DE883A /* Project object */ = { 94 | isa = PBXProject; 95 | attributes = { 96 | LastSwiftUpdateCheck = 0730; 97 | LastUpgradeCheck = 1010; 98 | ORGANIZATIONNAME = "Priyam Dutta"; 99 | TargetAttributes = { 100 | 082F50C81D7168EC00DE883A = { 101 | CreatedOnToolsVersion = 7.3.1; 102 | DevelopmentTeam = L73KSQTBPT; 103 | LastSwiftMigration = 0800; 104 | }; 105 | }; 106 | }; 107 | buildConfigurationList = 082F50C41D7168EC00DE883A /* Build configuration list for PBXProject "PDFloraButton" */; 108 | compatibilityVersion = "Xcode 3.2"; 109 | developmentRegion = en; 110 | hasScannedForEncodings = 0; 111 | knownRegions = ( 112 | en, 113 | Base, 114 | ); 115 | mainGroup = 082F50C01D7168EC00DE883A; 116 | productRefGroup = 082F50CA1D7168EC00DE883A /* Products */; 117 | projectDirPath = ""; 118 | projectRoot = ""; 119 | targets = ( 120 | 082F50C81D7168EC00DE883A /* PDFloraButton */, 121 | ); 122 | }; 123 | /* End PBXProject section */ 124 | 125 | /* Begin PBXResourcesBuildPhase section */ 126 | 082F50C71D7168EC00DE883A /* Resources */ = { 127 | isa = PBXResourcesBuildPhase; 128 | buildActionMask = 2147483647; 129 | files = ( 130 | 082F50D71D7168EC00DE883A /* LaunchScreen.storyboard in Resources */, 131 | 082F50D41D7168EC00DE883A /* Assets.xcassets in Resources */, 132 | 082F50D21D7168EC00DE883A /* Main.storyboard in Resources */, 133 | ); 134 | runOnlyForDeploymentPostprocessing = 0; 135 | }; 136 | /* End PBXResourcesBuildPhase section */ 137 | 138 | /* Begin PBXSourcesBuildPhase section */ 139 | 082F50C51D7168EC00DE883A /* Sources */ = { 140 | isa = PBXSourcesBuildPhase; 141 | buildActionMask = 2147483647; 142 | files = ( 143 | 082F50CF1D7168EC00DE883A /* ViewController.swift in Sources */, 144 | 082F50CD1D7168EC00DE883A /* AppDelegate.swift in Sources */, 145 | 082F50DF1D71696200DE883A /* PDFloraButton.swift in Sources */, 146 | ); 147 | runOnlyForDeploymentPostprocessing = 0; 148 | }; 149 | /* End PBXSourcesBuildPhase section */ 150 | 151 | /* Begin PBXVariantGroup section */ 152 | 082F50D01D7168EC00DE883A /* Main.storyboard */ = { 153 | isa = PBXVariantGroup; 154 | children = ( 155 | 082F50D11D7168EC00DE883A /* Base */, 156 | ); 157 | name = Main.storyboard; 158 | sourceTree = ""; 159 | }; 160 | 082F50D51D7168EC00DE883A /* LaunchScreen.storyboard */ = { 161 | isa = PBXVariantGroup; 162 | children = ( 163 | 082F50D61D7168EC00DE883A /* Base */, 164 | ); 165 | name = LaunchScreen.storyboard; 166 | sourceTree = ""; 167 | }; 168 | /* End PBXVariantGroup section */ 169 | 170 | /* Begin XCBuildConfiguration section */ 171 | 082F50D91D7168EC00DE883A /* Debug */ = { 172 | isa = XCBuildConfiguration; 173 | buildSettings = { 174 | ALWAYS_SEARCH_USER_PATHS = NO; 175 | CLANG_ANALYZER_NONNULL = YES; 176 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 177 | CLANG_CXX_LIBRARY = "libc++"; 178 | CLANG_ENABLE_MODULES = YES; 179 | CLANG_ENABLE_OBJC_ARC = YES; 180 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 181 | CLANG_WARN_BOOL_CONVERSION = YES; 182 | CLANG_WARN_COMMA = YES; 183 | CLANG_WARN_CONSTANT_CONVERSION = YES; 184 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 185 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 186 | CLANG_WARN_EMPTY_BODY = YES; 187 | CLANG_WARN_ENUM_CONVERSION = YES; 188 | CLANG_WARN_INFINITE_RECURSION = YES; 189 | CLANG_WARN_INT_CONVERSION = YES; 190 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 191 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 192 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 193 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 194 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 195 | CLANG_WARN_STRICT_PROTOTYPES = YES; 196 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 197 | CLANG_WARN_UNREACHABLE_CODE = YES; 198 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 199 | CODE_SIGN_IDENTITY = "iPhone Developer"; 200 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 201 | COPY_PHASE_STRIP = NO; 202 | DEBUG_INFORMATION_FORMAT = dwarf; 203 | ENABLE_STRICT_OBJC_MSGSEND = YES; 204 | ENABLE_TESTABILITY = YES; 205 | GCC_C_LANGUAGE_STANDARD = gnu99; 206 | GCC_DYNAMIC_NO_PIC = NO; 207 | GCC_NO_COMMON_BLOCKS = YES; 208 | GCC_OPTIMIZATION_LEVEL = 0; 209 | GCC_PREPROCESSOR_DEFINITIONS = ( 210 | "DEBUG=1", 211 | "$(inherited)", 212 | ); 213 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 214 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 215 | GCC_WARN_UNDECLARED_SELECTOR = YES; 216 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 217 | GCC_WARN_UNUSED_FUNCTION = YES; 218 | GCC_WARN_UNUSED_VARIABLE = YES; 219 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 220 | MTL_ENABLE_DEBUG_INFO = YES; 221 | ONLY_ACTIVE_ARCH = YES; 222 | SDKROOT = iphoneos; 223 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 224 | TARGETED_DEVICE_FAMILY = "1,2"; 225 | }; 226 | name = Debug; 227 | }; 228 | 082F50DA1D7168EC00DE883A /* Release */ = { 229 | isa = XCBuildConfiguration; 230 | buildSettings = { 231 | ALWAYS_SEARCH_USER_PATHS = NO; 232 | CLANG_ANALYZER_NONNULL = YES; 233 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 234 | CLANG_CXX_LIBRARY = "libc++"; 235 | CLANG_ENABLE_MODULES = YES; 236 | CLANG_ENABLE_OBJC_ARC = YES; 237 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 238 | CLANG_WARN_BOOL_CONVERSION = YES; 239 | CLANG_WARN_COMMA = YES; 240 | CLANG_WARN_CONSTANT_CONVERSION = YES; 241 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 242 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 243 | CLANG_WARN_EMPTY_BODY = YES; 244 | CLANG_WARN_ENUM_CONVERSION = YES; 245 | CLANG_WARN_INFINITE_RECURSION = YES; 246 | CLANG_WARN_INT_CONVERSION = YES; 247 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 248 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 249 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 250 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 251 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 252 | CLANG_WARN_STRICT_PROTOTYPES = YES; 253 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 254 | CLANG_WARN_UNREACHABLE_CODE = YES; 255 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 256 | CODE_SIGN_IDENTITY = "iPhone Developer"; 257 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 258 | COPY_PHASE_STRIP = NO; 259 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 260 | ENABLE_NS_ASSERTIONS = NO; 261 | ENABLE_STRICT_OBJC_MSGSEND = YES; 262 | GCC_C_LANGUAGE_STANDARD = gnu99; 263 | GCC_NO_COMMON_BLOCKS = YES; 264 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 265 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 266 | GCC_WARN_UNDECLARED_SELECTOR = YES; 267 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 268 | GCC_WARN_UNUSED_FUNCTION = YES; 269 | GCC_WARN_UNUSED_VARIABLE = YES; 270 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 271 | MTL_ENABLE_DEBUG_INFO = NO; 272 | SDKROOT = iphoneos; 273 | SWIFT_COMPILATION_MODE = wholemodule; 274 | TARGETED_DEVICE_FAMILY = "1,2"; 275 | VALIDATE_PRODUCT = YES; 276 | }; 277 | name = Release; 278 | }; 279 | 082F50DC1D7168EC00DE883A /* Debug */ = { 280 | isa = XCBuildConfiguration; 281 | buildSettings = { 282 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 283 | DEVELOPMENT_TEAM = L73KSQTBPT; 284 | INFOPLIST_FILE = PDFloraButton/Info.plist; 285 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 286 | PRODUCT_BUNDLE_IDENTIFIER = in.co.iOSPriyam.PDFloraB; 287 | PRODUCT_NAME = "$(TARGET_NAME)"; 288 | SWIFT_VERSION = 5.0; 289 | }; 290 | name = Debug; 291 | }; 292 | 082F50DD1D7168EC00DE883A /* Release */ = { 293 | isa = XCBuildConfiguration; 294 | buildSettings = { 295 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 296 | DEVELOPMENT_TEAM = L73KSQTBPT; 297 | INFOPLIST_FILE = PDFloraButton/Info.plist; 298 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 299 | PRODUCT_BUNDLE_IDENTIFIER = in.co.iOSPriyam.PDFloraB; 300 | PRODUCT_NAME = "$(TARGET_NAME)"; 301 | SWIFT_VERSION = 5.0; 302 | }; 303 | name = Release; 304 | }; 305 | /* End XCBuildConfiguration section */ 306 | 307 | /* Begin XCConfigurationList section */ 308 | 082F50C41D7168EC00DE883A /* Build configuration list for PBXProject "PDFloraButton" */ = { 309 | isa = XCConfigurationList; 310 | buildConfigurations = ( 311 | 082F50D91D7168EC00DE883A /* Debug */, 312 | 082F50DA1D7168EC00DE883A /* Release */, 313 | ); 314 | defaultConfigurationIsVisible = 0; 315 | defaultConfigurationName = Release; 316 | }; 317 | 082F50DB1D7168EC00DE883A /* Build configuration list for PBXNativeTarget "PDFloraButton" */ = { 318 | isa = XCConfigurationList; 319 | buildConfigurations = ( 320 | 082F50DC1D7168EC00DE883A /* Debug */, 321 | 082F50DD1D7168EC00DE883A /* Release */, 322 | ); 323 | defaultConfigurationIsVisible = 0; 324 | defaultConfigurationName = Release; 325 | }; 326 | /* End XCConfigurationList section */ 327 | }; 328 | rootObject = 082F50C11D7168EC00DE883A /* Project object */; 329 | } 330 | -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // PDFloraButton 4 | // 5 | // Created by Priyam Dutta on 27/08/16. 6 | // Copyright © 2016 Priyam Dutta. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | internal 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 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Flora 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Example/PDFloraButton/PDFloraButton/PDFloraButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PDFloraButton.swift 3 | // PDFloraButton 4 | // 5 | // Created by Priyam Dutta on 27/08/16. 6 | // Copyright © 2016 Priyam Dutta. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | enum ButtonPosition { 12 | case center 13 | case topLeft 14 | case topRight 15 | case bottomLeft 16 | case bottomRight 17 | case midTop 18 | case midBottom 19 | case midLeft 20 | case midRight 21 | } 22 | 23 | func getRadian(degree: CGFloat) -> CGFloat { 24 | return CGFloat(degree * .pi/180) 25 | } 26 | 27 | final class PDFloraButton: UIButton { 28 | 29 | private let radius: CGFloat = 100.0 30 | private let childButtonSize: CGFloat = 30.0 31 | private let circumference: CGFloat = 360.0 32 | private let delayInterval = 0.0 33 | private let duration = 0.25 34 | private let damping: CGFloat = 0.9 35 | private let initialVelocity: CGFloat = 0.9 36 | private var anchorPoint: CGPoint! 37 | 38 | private var xPadding: CGFloat = 10.0 39 | private var yPadding: CGFloat = 10.0 40 | private var buttonSize: CGFloat = 0.0 41 | private var childButtons = 0 42 | private var buttonPosition: ButtonPosition = .center 43 | private var childButtonsArray = [UIButton]() 44 | private var degree: CGFloat = 0.0 45 | private var imageArray = [String]() 46 | 47 | var isOpen = false 48 | var buttonActionDidSelected: ((_ indexSelected: Int)->())! 49 | 50 | convenience init(withPosition position: ButtonPosition, size: CGFloat, numberOfPetals: Int, images: [String]) { 51 | 52 | self.init(frame: CGRect(x: 0, y: 0, width: size, height: size)) 53 | self.layer.cornerRadius = size/2.0 54 | 55 | childButtons = numberOfPetals 56 | buttonPosition = position 57 | imageArray = images 58 | 59 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(0.01 * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC)) { 60 | switch position { 61 | case .topLeft: 62 | self.center = CGPoint(x: (self.superview?.frame)!.minX+(size/2.0)+self.xPadding, y: (self.superview?.frame)!.minY+(size/2.0)+self.yPadding) 63 | case .topRight: 64 | self.center = CGPoint(x: (self.superview?.frame)!.maxX-(size/2.0)-self.xPadding, y: (self.superview?.frame)!.minY+(size/2.0)+self.yPadding) 65 | case .bottomLeft: 66 | self.center = CGPoint(x: (self.superview?.frame)!.minX+(size/2.0)+self.xPadding, y: (self.superview?.frame)!.maxY-(size/2.0)-self.yPadding) 67 | case .bottomRight: 68 | self.center = CGPoint(x: (self.superview?.frame)!.maxX-(size/2.0)-self.xPadding, y: (self.superview?.frame)!.maxY-(size/2.0)-self.yPadding) 69 | case .midTop: 70 | self.center = CGPoint(x: (self.superview?.frame)!.midX, y: (self.superview?.frame)!.minY+(size/2.0)+self.yPadding) 71 | case .midBottom: 72 | self.center = CGPoint(x: (self.superview?.frame)!.midX, y: (self.superview?.frame)!.maxY-(size/2.0)-self.yPadding) 73 | case .midLeft: 74 | self.center = CGPoint(x: (self.superview?.frame)!.minX+(size/2.0)+self.xPadding, y: (self.superview?.frame)!.midY) 75 | case .midRight: 76 | self.center = CGPoint(x: (self.superview?.frame)!.maxX-(size/2.0)-(self.xPadding), y: (self.superview?.frame)!.midY) 77 | default: 78 | self.center = CGPoint(x: (self.superview?.frame)!.midX, y: (self.superview?.frame)!.midY) 79 | } 80 | self.anchorPoint = self.center 81 | self.createButtons(numbers: numberOfPetals) 82 | } 83 | } 84 | 85 | override init(frame: CGRect) { 86 | super.init(frame: frame) 87 | backgroundColor = .brown 88 | self.addTarget(self, action: #selector(self.animateChildButtons(_:)), for: .touchUpInside) 89 | } 90 | 91 | required init?(coder aDecoder: NSCoder) { 92 | fatalError("init(coder:) has not been implemented") 93 | } 94 | 95 | // Create Buttons 96 | private func createButtons(numbers: Int) { 97 | for index in 0.. '../' 4 | 5 | 6 | end 7 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FloraButton (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - FloraButton (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | FloraButton: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | FloraButton: da9ba1677e4162378e8e421d386f6e4328ff40f3 13 | 14 | PODFILE CHECKSUM: 7eb426f53f8a6f1ba21a15edc09b0c82307d746c 15 | 16 | COCOAPODS: 1.6.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/FloraButton.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FloraButton", 3 | "version": "0.1.0", 4 | "summary": "A short description of FloraButton.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/PriyamDutta/FloraButton", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "PriyamDutta": "priyam.sm93@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/PriyamDutta/FloraButton.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "FloraButton/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FloraButton (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - FloraButton (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | FloraButton: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | FloraButton: da9ba1677e4162378e8e421d386f6e4328ff40f3 13 | 14 | PODFILE CHECKSUM: 7eb426f53f8a6f1ba21a15edc09b0c82307d746c 15 | 16 | COCOAPODS: 1.6.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 072A202AB8F942F14F5F2BE1847DF98D /* Pods-FloraButton_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A4A4F915818185EACCC25ABB0C542D09 /* Pods-FloraButton_Tests-dummy.m */; }; 11 | 0869E4D52279DE01007397D2 /* .gitkeep in Resources */ = {isa = PBXBuildFile; fileRef = 0869E4D12279DE01007397D2 /* .gitkeep */; }; 12 | 0869E4D62279DE01007397D2 /* PDFloraButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0869E4D22279DE01007397D2 /* PDFloraButton.swift */; }; 13 | 0869E4D72279DE01007397D2 /* .gitkeep in Resources */ = {isa = PBXBuildFile; fileRef = 0869E4D42279DE01007397D2 /* .gitkeep */; }; 14 | 3ED4206862960027E1EA63112601F6A7 /* FloraButton-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 91174D6B810929187C14377FD5D0C4A5 /* FloraButton-dummy.m */; }; 15 | 7E985343DD5BAD5A14B2D55F7B1A4320 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 16 | A9E6EE1E68ACAC3DDF72D558C9646E18 /* Pods-FloraButton_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 70796307E9F6494236A9FC4EE9207FBD /* Pods-FloraButton_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | E5EE36A01EE4AD442F61BA1CF3AC0D0A /* FloraButton-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 59C5235F994669D44D4DB7B0D1C312D2 /* FloraButton-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | EFEF1F77A9A50A90CFDFA1F9E154786D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | B781D40E1A4B46199992A57FABD40030 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = D10661BC529C6BC35AE927B1AD3E010C; 27 | remoteInfo = FloraButton; 28 | }; 29 | /* End PBXContainerItemProxy section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 0869E4D12279DE01007397D2 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; 33 | 0869E4D22279DE01007397D2 /* PDFloraButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PDFloraButton.swift; sourceTree = ""; }; 34 | 0869E4D42279DE01007397D2 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; 35 | 1AE3DB2C5386338EF02057EB40D70A2C /* Pods-FloraButton_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FloraButton_Tests-Info.plist"; sourceTree = ""; }; 36 | 25118BF1BEE54EAC6FC50445F047F80A /* FloraButton.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FloraButton.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 3885D822389DC48CC06D7645368E0595 /* Pods-FloraButton_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FloraButton_Tests-frameworks.sh"; sourceTree = ""; }; 38 | 3DBFBE748A7FB55BA8D9FA6EA0C2719C /* Pods-FloraButton_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FloraButton_Tests-acknowledgements.plist"; sourceTree = ""; }; 39 | 4AAA954AEFA441EB4BD2B6396C918EE5 /* Pods-FloraButton_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FloraButton_Tests.release.xcconfig"; sourceTree = ""; }; 40 | 5091BB491A59974E4802117667914627 /* Pods-FloraButton_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FloraButton_Tests-acknowledgements.markdown"; sourceTree = ""; }; 41 | 59C5235F994669D44D4DB7B0D1C312D2 /* FloraButton-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FloraButton-umbrella.h"; sourceTree = ""; }; 42 | 5A23B756D893C50FE26B0468C62E77C0 /* FloraButton-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FloraButton-prefix.pch"; sourceTree = ""; }; 43 | 65618F2113EDA1C697FD7DE5DB0471D5 /* Pods_FloraButton_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FloraButton_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 70796307E9F6494236A9FC4EE9207FBD /* Pods-FloraButton_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FloraButton_Tests-umbrella.h"; sourceTree = ""; }; 45 | 7B0A6320B011036040B807E58E3219D8 /* FloraButton.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = FloraButton.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 46 | 91174D6B810929187C14377FD5D0C4A5 /* FloraButton-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FloraButton-dummy.m"; sourceTree = ""; }; 47 | 98CA694FD803DCA9F2C896321560EE43 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 48 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 49 | A4A4F915818185EACCC25ABB0C542D09 /* Pods-FloraButton_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FloraButton_Tests-dummy.m"; sourceTree = ""; }; 50 | B7ACD9C688DF6C623A49BBBFFF9D637E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 51 | C7F38CA9253EA602DAEFE28B1EF40897 /* FloraButton.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = FloraButton.modulemap; sourceTree = ""; }; 52 | CB2DB44E40CD938543E51F503F24636E /* Pods-FloraButton_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-FloraButton_Tests.modulemap"; sourceTree = ""; }; 53 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 54 | F78C16CE889261539DC35E70113B5FE0 /* FloraButton.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FloraButton.xcconfig; sourceTree = ""; }; 55 | F8C83844D7E2A80ED5FADF084D3B70CC /* Pods-FloraButton_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FloraButton_Tests.debug.xcconfig"; sourceTree = ""; }; 56 | FCBB0B4430D5D5357D260B10AB56138D /* FloraButton-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "FloraButton-Info.plist"; sourceTree = ""; }; 57 | /* End PBXFileReference section */ 58 | 59 | /* Begin PBXFrameworksBuildPhase section */ 60 | 752DA93145A360F0E89F58C325871038 /* Frameworks */ = { 61 | isa = PBXFrameworksBuildPhase; 62 | buildActionMask = 2147483647; 63 | files = ( 64 | EFEF1F77A9A50A90CFDFA1F9E154786D /* Foundation.framework in Frameworks */, 65 | ); 66 | runOnlyForDeploymentPostprocessing = 0; 67 | }; 68 | C90DAEED17D11FD33FD5DE02F23E68D0 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 7E985343DD5BAD5A14B2D55F7B1A4320 /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | /* End PBXFrameworksBuildPhase section */ 77 | 78 | /* Begin PBXGroup section */ 79 | 03ABFAAC0881A6581AA1086FB5D8DCC8 /* FloraButton */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | 0869E4CF2279DE01007397D2 /* FloraButton */, 83 | 6244C5503407F146AD8C13E1B3358BB0 /* Pod */, 84 | 2720554B7D01DAED16662DA61C3A39D3 /* Support Files */, 85 | ); 86 | name = FloraButton; 87 | path = ../..; 88 | sourceTree = ""; 89 | }; 90 | 0869E4CF2279DE01007397D2 /* FloraButton */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 0869E4D02279DE01007397D2 /* Classes */, 94 | 0869E4D32279DE01007397D2 /* Assets */, 95 | ); 96 | path = FloraButton; 97 | sourceTree = ""; 98 | }; 99 | 0869E4D02279DE01007397D2 /* Classes */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 0869E4D12279DE01007397D2 /* .gitkeep */, 103 | 0869E4D22279DE01007397D2 /* PDFloraButton.swift */, 104 | ); 105 | path = Classes; 106 | sourceTree = ""; 107 | }; 108 | 0869E4D32279DE01007397D2 /* Assets */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 0869E4D42279DE01007397D2 /* .gitkeep */, 112 | ); 113 | path = Assets; 114 | sourceTree = ""; 115 | }; 116 | 2720554B7D01DAED16662DA61C3A39D3 /* Support Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | C7F38CA9253EA602DAEFE28B1EF40897 /* FloraButton.modulemap */, 120 | F78C16CE889261539DC35E70113B5FE0 /* FloraButton.xcconfig */, 121 | 91174D6B810929187C14377FD5D0C4A5 /* FloraButton-dummy.m */, 122 | FCBB0B4430D5D5357D260B10AB56138D /* FloraButton-Info.plist */, 123 | 5A23B756D893C50FE26B0468C62E77C0 /* FloraButton-prefix.pch */, 124 | 59C5235F994669D44D4DB7B0D1C312D2 /* FloraButton-umbrella.h */, 125 | ); 126 | name = "Support Files"; 127 | path = "Example/Pods/Target Support Files/FloraButton"; 128 | sourceTree = ""; 129 | }; 130 | 4548C9189E90DB8A25D6CDF27C28AAA1 /* Targets Support Files */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 7C5977FA1BB234C7BD5849E85650ECF1 /* Pods-FloraButton_Tests */, 134 | ); 135 | name = "Targets Support Files"; 136 | sourceTree = ""; 137 | }; 138 | 6244C5503407F146AD8C13E1B3358BB0 /* Pod */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | 7B0A6320B011036040B807E58E3219D8 /* FloraButton.podspec */, 142 | B7ACD9C688DF6C623A49BBBFFF9D637E /* LICENSE */, 143 | 98CA694FD803DCA9F2C896321560EE43 /* README.md */, 144 | ); 145 | name = Pod; 146 | sourceTree = ""; 147 | }; 148 | 64C495645653D7815C77862D7969DC57 /* Development Pods */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | 03ABFAAC0881A6581AA1086FB5D8DCC8 /* FloraButton */, 152 | ); 153 | name = "Development Pods"; 154 | sourceTree = ""; 155 | }; 156 | 7C5977FA1BB234C7BD5849E85650ECF1 /* Pods-FloraButton_Tests */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | CB2DB44E40CD938543E51F503F24636E /* Pods-FloraButton_Tests.modulemap */, 160 | 5091BB491A59974E4802117667914627 /* Pods-FloraButton_Tests-acknowledgements.markdown */, 161 | 3DBFBE748A7FB55BA8D9FA6EA0C2719C /* Pods-FloraButton_Tests-acknowledgements.plist */, 162 | A4A4F915818185EACCC25ABB0C542D09 /* Pods-FloraButton_Tests-dummy.m */, 163 | 3885D822389DC48CC06D7645368E0595 /* Pods-FloraButton_Tests-frameworks.sh */, 164 | 1AE3DB2C5386338EF02057EB40D70A2C /* Pods-FloraButton_Tests-Info.plist */, 165 | 70796307E9F6494236A9FC4EE9207FBD /* Pods-FloraButton_Tests-umbrella.h */, 166 | F8C83844D7E2A80ED5FADF084D3B70CC /* Pods-FloraButton_Tests.debug.xcconfig */, 167 | 4AAA954AEFA441EB4BD2B6396C918EE5 /* Pods-FloraButton_Tests.release.xcconfig */, 168 | ); 169 | name = "Pods-FloraButton_Tests"; 170 | path = "Target Support Files/Pods-FloraButton_Tests"; 171 | sourceTree = ""; 172 | }; 173 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */, 177 | ); 178 | name = iOS; 179 | sourceTree = ""; 180 | }; 181 | BE38617E19DC235CF1D71A231CA3AEE8 /* Products */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | 25118BF1BEE54EAC6FC50445F047F80A /* FloraButton.framework */, 185 | 65618F2113EDA1C697FD7DE5DB0471D5 /* Pods_FloraButton_Tests.framework */, 186 | ); 187 | name = Products; 188 | sourceTree = ""; 189 | }; 190 | CF1408CF629C7361332E53B88F7BD30C = { 191 | isa = PBXGroup; 192 | children = ( 193 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 194 | 64C495645653D7815C77862D7969DC57 /* Development Pods */, 195 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 196 | BE38617E19DC235CF1D71A231CA3AEE8 /* Products */, 197 | 4548C9189E90DB8A25D6CDF27C28AAA1 /* Targets Support Files */, 198 | ); 199 | sourceTree = ""; 200 | }; 201 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 202 | isa = PBXGroup; 203 | children = ( 204 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */, 205 | ); 206 | name = Frameworks; 207 | sourceTree = ""; 208 | }; 209 | /* End PBXGroup section */ 210 | 211 | /* Begin PBXHeadersBuildPhase section */ 212 | D05DF450B526602596631A92E8B41C94 /* Headers */ = { 213 | isa = PBXHeadersBuildPhase; 214 | buildActionMask = 2147483647; 215 | files = ( 216 | E5EE36A01EE4AD442F61BA1CF3AC0D0A /* FloraButton-umbrella.h in Headers */, 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | }; 220 | F68C1AAB870A5FE788D7616280F7C5F9 /* Headers */ = { 221 | isa = PBXHeadersBuildPhase; 222 | buildActionMask = 2147483647; 223 | files = ( 224 | A9E6EE1E68ACAC3DDF72D558C9646E18 /* Pods-FloraButton_Tests-umbrella.h in Headers */, 225 | ); 226 | runOnlyForDeploymentPostprocessing = 0; 227 | }; 228 | /* End PBXHeadersBuildPhase section */ 229 | 230 | /* Begin PBXNativeTarget section */ 231 | D10661BC529C6BC35AE927B1AD3E010C /* FloraButton */ = { 232 | isa = PBXNativeTarget; 233 | buildConfigurationList = 920D4F381FACC9CBCE893E28912E7BC6 /* Build configuration list for PBXNativeTarget "FloraButton" */; 234 | buildPhases = ( 235 | D05DF450B526602596631A92E8B41C94 /* Headers */, 236 | 175CED5977B3DA6739B7E35C7560064A /* Sources */, 237 | 752DA93145A360F0E89F58C325871038 /* Frameworks */, 238 | EB41DEF80FFD785EF57A2C0C6A0CB9DB /* Resources */, 239 | ); 240 | buildRules = ( 241 | ); 242 | dependencies = ( 243 | ); 244 | name = FloraButton; 245 | productName = FloraButton; 246 | productReference = 25118BF1BEE54EAC6FC50445F047F80A /* FloraButton.framework */; 247 | productType = "com.apple.product-type.framework"; 248 | }; 249 | D1C3C31B6C1B012BA426D6DA1E0BCACE /* Pods-FloraButton_Tests */ = { 250 | isa = PBXNativeTarget; 251 | buildConfigurationList = 6A095185AECC58AC051396DB89201B77 /* Build configuration list for PBXNativeTarget "Pods-FloraButton_Tests" */; 252 | buildPhases = ( 253 | F68C1AAB870A5FE788D7616280F7C5F9 /* Headers */, 254 | A254B3A758C9AC0783B272DC7B22A24F /* Sources */, 255 | C90DAEED17D11FD33FD5DE02F23E68D0 /* Frameworks */, 256 | 01A38EEC551ACB0134CA0C1445514119 /* Resources */, 257 | ); 258 | buildRules = ( 259 | ); 260 | dependencies = ( 261 | B4E37D823022401EE6FE203116D9E459 /* PBXTargetDependency */, 262 | ); 263 | name = "Pods-FloraButton_Tests"; 264 | productName = "Pods-FloraButton_Tests"; 265 | productReference = 65618F2113EDA1C697FD7DE5DB0471D5 /* Pods_FloraButton_Tests.framework */; 266 | productType = "com.apple.product-type.framework"; 267 | }; 268 | /* End PBXNativeTarget section */ 269 | 270 | /* Begin PBXProject section */ 271 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 272 | isa = PBXProject; 273 | attributes = { 274 | LastSwiftUpdateCheck = 0930; 275 | LastUpgradeCheck = 0930; 276 | }; 277 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 278 | compatibilityVersion = "Xcode 3.2"; 279 | developmentRegion = English; 280 | hasScannedForEncodings = 0; 281 | knownRegions = ( 282 | English, 283 | en, 284 | ); 285 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 286 | productRefGroup = BE38617E19DC235CF1D71A231CA3AEE8 /* Products */; 287 | projectDirPath = ""; 288 | projectRoot = ""; 289 | targets = ( 290 | D10661BC529C6BC35AE927B1AD3E010C /* FloraButton */, 291 | D1C3C31B6C1B012BA426D6DA1E0BCACE /* Pods-FloraButton_Tests */, 292 | ); 293 | }; 294 | /* End PBXProject section */ 295 | 296 | /* Begin PBXResourcesBuildPhase section */ 297 | 01A38EEC551ACB0134CA0C1445514119 /* Resources */ = { 298 | isa = PBXResourcesBuildPhase; 299 | buildActionMask = 2147483647; 300 | files = ( 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | EB41DEF80FFD785EF57A2C0C6A0CB9DB /* Resources */ = { 305 | isa = PBXResourcesBuildPhase; 306 | buildActionMask = 2147483647; 307 | files = ( 308 | 0869E4D52279DE01007397D2 /* .gitkeep in Resources */, 309 | 0869E4D72279DE01007397D2 /* .gitkeep in Resources */, 310 | ); 311 | runOnlyForDeploymentPostprocessing = 0; 312 | }; 313 | /* End PBXResourcesBuildPhase section */ 314 | 315 | /* Begin PBXSourcesBuildPhase section */ 316 | 175CED5977B3DA6739B7E35C7560064A /* Sources */ = { 317 | isa = PBXSourcesBuildPhase; 318 | buildActionMask = 2147483647; 319 | files = ( 320 | 0869E4D62279DE01007397D2 /* PDFloraButton.swift in Sources */, 321 | 3ED4206862960027E1EA63112601F6A7 /* FloraButton-dummy.m in Sources */, 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | }; 325 | A254B3A758C9AC0783B272DC7B22A24F /* Sources */ = { 326 | isa = PBXSourcesBuildPhase; 327 | buildActionMask = 2147483647; 328 | files = ( 329 | 072A202AB8F942F14F5F2BE1847DF98D /* Pods-FloraButton_Tests-dummy.m in Sources */, 330 | ); 331 | runOnlyForDeploymentPostprocessing = 0; 332 | }; 333 | /* End PBXSourcesBuildPhase section */ 334 | 335 | /* Begin PBXTargetDependency section */ 336 | B4E37D823022401EE6FE203116D9E459 /* PBXTargetDependency */ = { 337 | isa = PBXTargetDependency; 338 | name = FloraButton; 339 | target = D10661BC529C6BC35AE927B1AD3E010C /* FloraButton */; 340 | targetProxy = B781D40E1A4B46199992A57FABD40030 /* PBXContainerItemProxy */; 341 | }; 342 | /* End PBXTargetDependency section */ 343 | 344 | /* Begin XCBuildConfiguration section */ 345 | 7520FAAF35E972802415E952710CB6E1 /* Debug */ = { 346 | isa = XCBuildConfiguration; 347 | baseConfigurationReference = F78C16CE889261539DC35E70113B5FE0 /* FloraButton.xcconfig */; 348 | buildSettings = { 349 | CODE_SIGN_IDENTITY = ""; 350 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 351 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 352 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 353 | CURRENT_PROJECT_VERSION = 1; 354 | DEFINES_MODULE = YES; 355 | DYLIB_COMPATIBILITY_VERSION = 1; 356 | DYLIB_CURRENT_VERSION = 1; 357 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 358 | GCC_PREFIX_HEADER = "Target Support Files/FloraButton/FloraButton-prefix.pch"; 359 | INFOPLIST_FILE = "Target Support Files/FloraButton/FloraButton-Info.plist"; 360 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 361 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 362 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 363 | MODULEMAP_FILE = "Target Support Files/FloraButton/FloraButton.modulemap"; 364 | PRODUCT_MODULE_NAME = FloraButton; 365 | PRODUCT_NAME = FloraButton; 366 | SDKROOT = iphoneos; 367 | SKIP_INSTALL = YES; 368 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 369 | SWIFT_VERSION = 4.0; 370 | TARGETED_DEVICE_FAMILY = "1,2"; 371 | VERSIONING_SYSTEM = "apple-generic"; 372 | VERSION_INFO_PREFIX = ""; 373 | }; 374 | name = Debug; 375 | }; 376 | 77FFEECB254F146C0AAF79E22B6844B9 /* Release */ = { 377 | isa = XCBuildConfiguration; 378 | baseConfigurationReference = F78C16CE889261539DC35E70113B5FE0 /* FloraButton.xcconfig */; 379 | buildSettings = { 380 | CODE_SIGN_IDENTITY = ""; 381 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 382 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 383 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 384 | CURRENT_PROJECT_VERSION = 1; 385 | DEFINES_MODULE = YES; 386 | DYLIB_COMPATIBILITY_VERSION = 1; 387 | DYLIB_CURRENT_VERSION = 1; 388 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 389 | GCC_PREFIX_HEADER = "Target Support Files/FloraButton/FloraButton-prefix.pch"; 390 | INFOPLIST_FILE = "Target Support Files/FloraButton/FloraButton-Info.plist"; 391 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 392 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 393 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 394 | MODULEMAP_FILE = "Target Support Files/FloraButton/FloraButton.modulemap"; 395 | PRODUCT_MODULE_NAME = FloraButton; 396 | PRODUCT_NAME = FloraButton; 397 | SDKROOT = iphoneos; 398 | SKIP_INSTALL = YES; 399 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 400 | SWIFT_VERSION = 4.0; 401 | TARGETED_DEVICE_FAMILY = "1,2"; 402 | VALIDATE_PRODUCT = YES; 403 | VERSIONING_SYSTEM = "apple-generic"; 404 | VERSION_INFO_PREFIX = ""; 405 | }; 406 | name = Release; 407 | }; 408 | 8BA0EFCD84F697BA7C2C05B922CB5018 /* Debug */ = { 409 | isa = XCBuildConfiguration; 410 | baseConfigurationReference = F8C83844D7E2A80ED5FADF084D3B70CC /* Pods-FloraButton_Tests.debug.xcconfig */; 411 | buildSettings = { 412 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 413 | CODE_SIGN_IDENTITY = ""; 414 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 415 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 416 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 417 | CURRENT_PROJECT_VERSION = 1; 418 | DEFINES_MODULE = YES; 419 | DYLIB_COMPATIBILITY_VERSION = 1; 420 | DYLIB_CURRENT_VERSION = 1; 421 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 422 | INFOPLIST_FILE = "Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests-Info.plist"; 423 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 424 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 425 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 426 | MACH_O_TYPE = staticlib; 427 | MODULEMAP_FILE = "Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests.modulemap"; 428 | OTHER_LDFLAGS = ""; 429 | OTHER_LIBTOOLFLAGS = ""; 430 | PODS_ROOT = "$(SRCROOT)"; 431 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 432 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 433 | SDKROOT = iphoneos; 434 | SKIP_INSTALL = YES; 435 | TARGETED_DEVICE_FAMILY = "1,2"; 436 | VERSIONING_SYSTEM = "apple-generic"; 437 | VERSION_INFO_PREFIX = ""; 438 | }; 439 | name = Debug; 440 | }; 441 | 8CD66348A21AD60A5A5011BE7D51C7AA /* Release */ = { 442 | isa = XCBuildConfiguration; 443 | baseConfigurationReference = 4AAA954AEFA441EB4BD2B6396C918EE5 /* Pods-FloraButton_Tests.release.xcconfig */; 444 | buildSettings = { 445 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 446 | CODE_SIGN_IDENTITY = ""; 447 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 448 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 449 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 450 | CURRENT_PROJECT_VERSION = 1; 451 | DEFINES_MODULE = YES; 452 | DYLIB_COMPATIBILITY_VERSION = 1; 453 | DYLIB_CURRENT_VERSION = 1; 454 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 455 | INFOPLIST_FILE = "Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests-Info.plist"; 456 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 457 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 458 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 459 | MACH_O_TYPE = staticlib; 460 | MODULEMAP_FILE = "Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests.modulemap"; 461 | OTHER_LDFLAGS = ""; 462 | OTHER_LIBTOOLFLAGS = ""; 463 | PODS_ROOT = "$(SRCROOT)"; 464 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 465 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 466 | SDKROOT = iphoneos; 467 | SKIP_INSTALL = YES; 468 | TARGETED_DEVICE_FAMILY = "1,2"; 469 | VALIDATE_PRODUCT = YES; 470 | VERSIONING_SYSTEM = "apple-generic"; 471 | VERSION_INFO_PREFIX = ""; 472 | }; 473 | name = Release; 474 | }; 475 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */ = { 476 | isa = XCBuildConfiguration; 477 | buildSettings = { 478 | ALWAYS_SEARCH_USER_PATHS = NO; 479 | CLANG_ANALYZER_NONNULL = YES; 480 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 481 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 482 | CLANG_CXX_LIBRARY = "libc++"; 483 | CLANG_ENABLE_MODULES = YES; 484 | CLANG_ENABLE_OBJC_ARC = YES; 485 | CLANG_ENABLE_OBJC_WEAK = YES; 486 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 487 | CLANG_WARN_BOOL_CONVERSION = YES; 488 | CLANG_WARN_COMMA = YES; 489 | CLANG_WARN_CONSTANT_CONVERSION = YES; 490 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 491 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 492 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 493 | CLANG_WARN_EMPTY_BODY = YES; 494 | CLANG_WARN_ENUM_CONVERSION = YES; 495 | CLANG_WARN_INFINITE_RECURSION = YES; 496 | CLANG_WARN_INT_CONVERSION = YES; 497 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 498 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 499 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 500 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 501 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 502 | CLANG_WARN_STRICT_PROTOTYPES = YES; 503 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 504 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 505 | CLANG_WARN_UNREACHABLE_CODE = YES; 506 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 507 | COPY_PHASE_STRIP = NO; 508 | DEBUG_INFORMATION_FORMAT = dwarf; 509 | ENABLE_STRICT_OBJC_MSGSEND = YES; 510 | ENABLE_TESTABILITY = YES; 511 | GCC_C_LANGUAGE_STANDARD = gnu11; 512 | GCC_DYNAMIC_NO_PIC = NO; 513 | GCC_NO_COMMON_BLOCKS = YES; 514 | GCC_OPTIMIZATION_LEVEL = 0; 515 | GCC_PREPROCESSOR_DEFINITIONS = ( 516 | "POD_CONFIGURATION_DEBUG=1", 517 | "DEBUG=1", 518 | "$(inherited)", 519 | ); 520 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 521 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 522 | GCC_WARN_UNDECLARED_SELECTOR = YES; 523 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 524 | GCC_WARN_UNUSED_FUNCTION = YES; 525 | GCC_WARN_UNUSED_VARIABLE = YES; 526 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 527 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 528 | MTL_FAST_MATH = YES; 529 | ONLY_ACTIVE_ARCH = YES; 530 | PRODUCT_NAME = "$(TARGET_NAME)"; 531 | STRIP_INSTALLED_PRODUCT = NO; 532 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 533 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 534 | SWIFT_VERSION = 4.2; 535 | SYMROOT = "${SRCROOT}/../build"; 536 | }; 537 | name = Debug; 538 | }; 539 | F232B5ECA11A71BFA199A229B323F454 /* Release */ = { 540 | isa = XCBuildConfiguration; 541 | buildSettings = { 542 | ALWAYS_SEARCH_USER_PATHS = NO; 543 | CLANG_ANALYZER_NONNULL = YES; 544 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 545 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 546 | CLANG_CXX_LIBRARY = "libc++"; 547 | CLANG_ENABLE_MODULES = YES; 548 | CLANG_ENABLE_OBJC_ARC = YES; 549 | CLANG_ENABLE_OBJC_WEAK = YES; 550 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 551 | CLANG_WARN_BOOL_CONVERSION = YES; 552 | CLANG_WARN_COMMA = YES; 553 | CLANG_WARN_CONSTANT_CONVERSION = YES; 554 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 555 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 556 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 557 | CLANG_WARN_EMPTY_BODY = YES; 558 | CLANG_WARN_ENUM_CONVERSION = YES; 559 | CLANG_WARN_INFINITE_RECURSION = YES; 560 | CLANG_WARN_INT_CONVERSION = YES; 561 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 562 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 563 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 564 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 565 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 566 | CLANG_WARN_STRICT_PROTOTYPES = YES; 567 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 568 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 569 | CLANG_WARN_UNREACHABLE_CODE = YES; 570 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 571 | COPY_PHASE_STRIP = NO; 572 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 573 | ENABLE_NS_ASSERTIONS = NO; 574 | ENABLE_STRICT_OBJC_MSGSEND = YES; 575 | GCC_C_LANGUAGE_STANDARD = gnu11; 576 | GCC_NO_COMMON_BLOCKS = YES; 577 | GCC_PREPROCESSOR_DEFINITIONS = ( 578 | "POD_CONFIGURATION_RELEASE=1", 579 | "$(inherited)", 580 | ); 581 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 582 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 583 | GCC_WARN_UNDECLARED_SELECTOR = YES; 584 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 585 | GCC_WARN_UNUSED_FUNCTION = YES; 586 | GCC_WARN_UNUSED_VARIABLE = YES; 587 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 588 | MTL_ENABLE_DEBUG_INFO = NO; 589 | MTL_FAST_MATH = YES; 590 | PRODUCT_NAME = "$(TARGET_NAME)"; 591 | STRIP_INSTALLED_PRODUCT = NO; 592 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 593 | SWIFT_VERSION = 4.2; 594 | SYMROOT = "${SRCROOT}/../build"; 595 | }; 596 | name = Release; 597 | }; 598 | /* End XCBuildConfiguration section */ 599 | 600 | /* Begin XCConfigurationList section */ 601 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 602 | isa = XCConfigurationList; 603 | buildConfigurations = ( 604 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */, 605 | F232B5ECA11A71BFA199A229B323F454 /* Release */, 606 | ); 607 | defaultConfigurationIsVisible = 0; 608 | defaultConfigurationName = Release; 609 | }; 610 | 6A095185AECC58AC051396DB89201B77 /* Build configuration list for PBXNativeTarget "Pods-FloraButton_Tests" */ = { 611 | isa = XCConfigurationList; 612 | buildConfigurations = ( 613 | 8BA0EFCD84F697BA7C2C05B922CB5018 /* Debug */, 614 | 8CD66348A21AD60A5A5011BE7D51C7AA /* Release */, 615 | ); 616 | defaultConfigurationIsVisible = 0; 617 | defaultConfigurationName = Release; 618 | }; 619 | 920D4F381FACC9CBCE893E28912E7BC6 /* Build configuration list for PBXNativeTarget "FloraButton" */ = { 620 | isa = XCConfigurationList; 621 | buildConfigurations = ( 622 | 7520FAAF35E972802415E952710CB6E1 /* Debug */, 623 | 77FFEECB254F146C0AAF79E22B6844B9 /* Release */, 624 | ); 625 | defaultConfigurationIsVisible = 0; 626 | defaultConfigurationName = Release; 627 | }; 628 | /* End XCConfigurationList section */ 629 | }; 630 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 631 | } 632 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FloraButton/FloraButton-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FloraButton/FloraButton-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FloraButton : NSObject 3 | @end 4 | @implementation PodsDummy_FloraButton 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FloraButton/FloraButton-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FloraButton/FloraButton-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double FloraButtonVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char FloraButtonVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FloraButton/FloraButton.modulemap: -------------------------------------------------------------------------------- 1 | framework module FloraButton { 2 | umbrella header "FloraButton-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FloraButton/FloraButton.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FloraButton 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_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-FloraButton_Tests/Pods-FloraButton_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## FloraButton 5 | 6 | Copyright (c) 2019 PriyamDutta 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-FloraButton_Tests/Pods-FloraButton_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 | Copyright (c) 2019 PriyamDutta <priyam.sm93@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | FloraButton 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-FloraButton_Tests/Pods-FloraButton_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FloraButton_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FloraButton_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/FloraButton/FloraButton.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/FloraButton/FloraButton.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_FloraButton_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_FloraButton_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FloraButton" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FloraButton/FloraButton.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "FloraButton" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_FloraButton_Tests { 2 | umbrella header "Pods-FloraButton_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FloraButton_Tests/Pods-FloraButton_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FloraButton" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FloraButton/FloraButton.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "FloraButton" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import FloraButton 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /FloraButton.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint FloraButton.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'FloraButton' 11 | s.version = '2.0.0' 12 | s.summary = 'Use radial floating button for any corners and edges.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | Add this library to use the radial floating buttons aka "FloraButtons". 22 | DESC 23 | 24 | s.homepage = 'https://github.com/PriyamDutta/PDFloraButton' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'PriyamDutta' => 'iopriyam93@gmail.com' } 28 | s.source = { :git => 'https://github.com/PriyamDutta/PDFloraButton.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '8.0' 32 | s.swift_version = '4.0' 33 | 34 | s.source_files = 'FloraButton/Classes/**/*' 35 | 36 | # s.resource_bundles = { 37 | # 'FloraButton' => ['FloraButton/Assets/*.png'] 38 | # } 39 | 40 | # s.public_header_files = 'Pod/Classes/**/*.h' 41 | s.frameworks = 'UIKit' 42 | end 43 | -------------------------------------------------------------------------------- /FloraButton/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PriyamDutta/PDFloraButton/2af6beb8ec50589231725b53ea10987157a1482c/FloraButton/Assets/.gitkeep -------------------------------------------------------------------------------- /FloraButton/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PriyamDutta/PDFloraButton/2af6beb8ec50589231725b53ea10987157a1482c/FloraButton/Classes/.gitkeep -------------------------------------------------------------------------------- /FloraButton/Classes/PDFloraButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PDFloraButton.swift 3 | // PDFloraButton 4 | // 5 | // Created by Priyam Dutta on 27/08/16. 6 | // Copyright © 2016 Priyam Dutta. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public enum ButtonPosition { 12 | case center 13 | case topLeft 14 | case topRight 15 | case bottomLeft 16 | case bottomRight 17 | case midTop 18 | case midBottom 19 | case midLeft 20 | case midRight 21 | } 22 | 23 | private func getRadian(degree: CGFloat) -> CGFloat { 24 | return CGFloat(degree * .pi/180) 25 | } 26 | 27 | final public class PDFloraButton: UIButton { 28 | 29 | private let radius: CGFloat = 100.0 30 | private let childButtonSize: CGFloat = 30.0 31 | private let circumference: CGFloat = 360.0 32 | private let delayInterval = 0.0 33 | private let duration = 0.25 34 | private let damping: CGFloat = 0.9 35 | private let initialVelocity: CGFloat = 0.9 36 | private var anchorPoint: CGPoint! 37 | 38 | private var xPadding: CGFloat = 10.0 39 | private var yPadding: CGFloat = 10.0 40 | private var buttonSize: CGFloat = 0.0 41 | private var childButtons = 0 42 | private var buttonPosition: ButtonPosition = .center 43 | private var childButtonsArray = [UIButton]() 44 | private var degree: CGFloat = 0.0 45 | private var imageArray = [String]() 46 | 47 | public var isOpen = false 48 | public var buttonActionDidSelected: ((_ indexSelected: Int)->())! 49 | 50 | public convenience init(withPosition position: ButtonPosition, size: CGFloat, numberOfPetals: Int, images: [String]) { 51 | 52 | self.init(frame: CGRect(x: 0, y: 0, width: size, height: size)) 53 | self.layer.cornerRadius = size/2.0 54 | 55 | childButtons = numberOfPetals 56 | buttonPosition = position 57 | imageArray = images 58 | 59 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(0.01 * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC)) { 60 | switch position { 61 | case .topLeft: 62 | self.center = CGPoint(x: (self.superview?.frame)!.minX+(size/2.0)+self.xPadding, y: (self.superview?.frame)!.minY+(size/2.0)+self.yPadding) 63 | case .topRight: 64 | self.center = CGPoint(x: (self.superview?.frame)!.maxX-(size/2.0)-self.xPadding, y: (self.superview?.frame)!.minY+(size/2.0)+self.yPadding) 65 | case .bottomLeft: 66 | self.center = CGPoint(x: (self.superview?.frame)!.minX+(size/2.0)+self.xPadding, y: (self.superview?.frame)!.maxY-(size/2.0)-self.yPadding) 67 | case .bottomRight: 68 | self.center = CGPoint(x: (self.superview?.frame)!.maxX-(size/2.0)-self.xPadding, y: (self.superview?.frame)!.maxY-(size/2.0)-self.yPadding) 69 | case .midTop: 70 | self.center = CGPoint(x: (self.superview?.frame)!.midX, y: (self.superview?.frame)!.minY+(size/2.0)+self.yPadding) 71 | case .midBottom: 72 | self.center = CGPoint(x: (self.superview?.frame)!.midX, y: (self.superview?.frame)!.maxY-(size/2.0)-self.yPadding) 73 | case .midLeft: 74 | self.center = CGPoint(x: (self.superview?.frame)!.minX+(size/2.0)+self.xPadding, y: (self.superview?.frame)!.midY) 75 | case .midRight: 76 | self.center = CGPoint(x: (self.superview?.frame)!.maxX-(size/2.0)-(self.xPadding), y: (self.superview?.frame)!.midY) 77 | default: 78 | self.center = CGPoint(x: (self.superview?.frame)!.midX, y: (self.superview?.frame)!.midY) 79 | } 80 | self.anchorPoint = self.center 81 | self.createButtons(numbers: numberOfPetals) 82 | } 83 | } 84 | 85 | override init(frame: CGRect) { 86 | super.init(frame: frame) 87 | backgroundColor = .brown 88 | self.addTarget(self, action: #selector(self.animateChildButtons(_:)), for: .touchUpInside) 89 | } 90 | 91 | required init?(coder aDecoder: NSCoder) { 92 | fatalError("init(coder:) has not been implemented") 93 | } 94 | 95 | // Create Buttons 96 | private func createButtons(numbers: Int) { 97 | for index in 0.. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # PDFloraButton 3 | 4 | [![CI Status](https://img.shields.io/travis/PriyamDutta/FloraButton.svg?style=flat)](https://travis-ci.org/PriyamDutta/FloraButton) 5 | [![Version](https://img.shields.io/cocoapods/v/FloraButton.svg?style=flat)](https://cocoapods.org/pods/FloraButton) 6 | [![License](https://img.shields.io/cocoapods/l/FloraButton.svg?style=flat)](https://cocoapods.org/pods/FloraButton) 7 | [![Platform](https://img.shields.io/cocoapods/p/FloraButton.svg?style=flat)](https://cocoapods.org/pods/FloraButton) 8 | 9 | Use PDFloraButton.swift class to add flora button over any view using minimum lines of code. 10 | You can add images also to the surrounding buttons by sending an array of images string. 11 | Hence! let you use easily. 12 | 13 | # Screenshot 14 | ![alt tag](https://github.com/PriyamDutta/PDFloraButton/blob/master/Screenshots/ScreenShot.png) 15 | 16 | # Predefined Positions 17 | center, topLeft, topRight, bottomLeft, bottomRight, midTop, midBottom, midLeft, midRight 18 | 19 | 20 | 21 | ![alt tag](https://github.com/PriyamDutta/PDFloraButton/blob/master/Screenshots/PDFloraButton.gif) 22 | 23 | # Easy usability Swift 3.0 24 | import UIKit 25 | 26 | class ViewController: UIViewController { 27 | 28 | let floraButton = PDFloraButton(withPosition: .center, size: 50.0, numberOfPetals: 20, images:[]) 29 | let floraButton2 = PDFloraButton(withPosition: .topLeft, size: 50.0, numberOfPetals: 4, images:[]) 30 | let floraButton3 = PDFloraButton(withPosition: .topRight, size: 50.0, numberOfPetals: 4, images:[]) 31 | let floraButton4 = PDFloraButton(withPosition: .bottomLeft, size: 50.0, numberOfPetals: 4, images:[]) 32 | let floraButton5 = PDFloraButton(withPosition: .bottomRight, size: 50.0, numberOfPetals: 4, images:[]) 33 | 34 | override func viewDidLoad() { 35 | super.viewDidLoad() 36 | self.view.addSubview(floraButton) 37 | self.view.addSubview(floraButton2) 38 | self.view.addSubview(floraButton3) 39 | self.view.addSubview(floraButton4) 40 | self.view.addSubview(floraButton5) 41 | 42 | floraButton.buttonActionDidSelected = { (indexSelected) in 43 | debugPrint("Selected Index: \(indexSelected)") 44 | } 45 | } 46 | } 47 | # Get Explained 48 | https://medium.com/@iopriyam93/ios-coordinate-system-trigonometry-5432c05909b1 49 | 50 | ## Example 51 | 52 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 53 | 54 | ## Requirements 55 | 56 | ## Installation 57 | 58 | FloraButton is available through [CocoaPods](https://cocoapods.org). To install 59 | it, simply add the following line to your Podfile: 60 | 61 | ```ruby 62 | pod 'FloraButton' 63 | ``` 64 | 65 | ## Author 66 | 67 | PriyamDutta, priyam.sm93@gmail.com 68 | 69 | ## License 70 | 71 | FloraButton is available under the MIT license. See the LICENSE file for more info. 72 | -------------------------------------------------------------------------------- /Screenshots/PDFloraButton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PriyamDutta/PDFloraButton/2af6beb8ec50589231725b53ea10987157a1482c/Screenshots/PDFloraButton.gif -------------------------------------------------------------------------------- /Screenshots/ScreenShot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PriyamDutta/PDFloraButton/2af6beb8ec50589231725b53ea10987157a1482c/Screenshots/ScreenShot.png -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------