├── .github └── FUNDING.yml ├── .gitignore ├── Design ├── box.gif ├── cover.png ├── cover.psd ├── linear.gif └── single.gif ├── Example ├── Cartfile ├── Example.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Example.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Example │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── background.imageset │ │ │ ├── Contents.json │ │ │ ├── maxresdefault-1.jpg │ │ │ ├── maxresdefault-2.jpg │ │ │ └── maxresdefault.jpg │ │ ├── icon1.imageset │ │ │ ├── Contents.json │ │ │ ├── s-1.png │ │ │ ├── s-2.png │ │ │ └── s.png │ │ ├── icon2.imageset │ │ │ ├── Contents.json │ │ │ ├── t-1.png │ │ │ ├── t-2.png │ │ │ └── t.png │ │ ├── icon3.imageset │ │ │ ├── Contents.json │ │ │ ├── o-1.png │ │ │ ├── o-2.png │ │ │ └── o.png │ │ └── icon4.imageset │ │ │ ├── Contents.json │ │ │ ├── x-1.png │ │ │ ├── x-2.png │ │ │ └── x.png │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Headers │ ├── Private │ │ └── Fluky │ │ │ └── Fluky.h │ └── Public │ │ └── Fluky │ │ ├── Fluky-umbrella.h │ │ ├── Fluky.h │ │ └── Fluky.modulemap │ ├── Local Podspecs │ ├── Constrictor.podspec.json │ └── Fluky.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ └── project.pbxproj │ └── Target Support Files │ ├── Fluky │ ├── Fluky-dummy.m │ ├── Fluky-prefix.pch │ ├── Fluky-umbrella.h │ ├── Fluky.modulemap │ └── Fluky.xcconfig │ └── Pods-Example │ ├── Info.plist │ ├── Pods-Example-acknowledgements.markdown │ ├── Pods-Example-acknowledgements.plist │ ├── Pods-Example-dummy.m │ ├── Pods-Example-frameworks.sh │ ├── Pods-Example-resources.sh │ ├── Pods-Example-umbrella.h │ ├── Pods-Example.debug.xcconfig │ ├── Pods-Example.modulemap │ └── Pods-Example.release.xcconfig ├── Fluky.podspec ├── Fluky ├── Fluky.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── Fluky │ ├── Enumerations │ └── FlukyType.swift │ ├── Extensions │ ├── Anchor.swift │ ├── Array+Chunk.swift │ ├── FlukyImageView+Create.swift │ ├── FlukyProtocol+Animate.swift │ ├── FlukyProtocol+Default.swift │ ├── NSObject+Create.swift │ ├── Sequence+Transform.swift │ ├── UIStackView+Add.swift │ ├── UIStackView+Create.swift │ └── UIView+Add.swift │ ├── Factory │ └── Fluky.swift │ ├── Fluky.h │ ├── Helpers │ └── Calculator.swift │ ├── Info.plist │ ├── Protocols │ └── FlukyProtocol.swift │ ├── Style │ ├── Damping.swift │ ├── Duration.swift │ ├── Spacing.swift │ └── Spring.swift │ ├── Typealias │ └── FlukyView.swift │ └── Views │ ├── FlukyBoxView.swift │ ├── FlukyImageView.swift │ ├── FlukyLinearView.swift │ └── FlukySingleView.swift ├── LICENSE ├── Package.swift └── README.md /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: pedrommcarrasco 2 | custom: ['https://www.buymeacoffee.com/pedrommcarrasco', 'https://www.paypal.me/pedrommcarrasco'] 3 | -------------------------------------------------------------------------------- /.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 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | ## Playgrounds 32 | timeline.xctimeline 33 | playground.xcworkspace 34 | 35 | # Swift Package Manager 36 | # 37 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 38 | # Packages/ 39 | # Package.pins 40 | # Package.resolved 41 | .build/ 42 | 43 | # CocoaPods 44 | # 45 | # We recommend against adding the Pods directory to your .gitignore. However 46 | # you should judge for yourself, the pros and cons are mentioned at: 47 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 48 | # 49 | # Pods/ 50 | 51 | # Carthage 52 | # 53 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 54 | # Carthage/Checkouts 55 | 56 | Carthage/Build 57 | 58 | # fastlane 59 | # 60 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 61 | # screenshots whenever they are needed. 62 | # For more information about the recommended setup visit: 63 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 64 | 65 | fastlane/report.xml 66 | fastlane/Preview.html 67 | fastlane/screenshots/**/*.png 68 | fastlane/test_output 69 | 70 | \.DS_Store 71 | -------------------------------------------------------------------------------- /Design/box.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Design/box.gif -------------------------------------------------------------------------------- /Design/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Design/cover.png -------------------------------------------------------------------------------- /Design/cover.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Design/cover.psd -------------------------------------------------------------------------------- /Design/linear.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Design/linear.gif -------------------------------------------------------------------------------- /Design/single.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Design/single.gif -------------------------------------------------------------------------------- /Example/Cartfile: -------------------------------------------------------------------------------- 1 | github "pedrommcarrasco/Fluky" -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 203559FA20B371B900A82EB8 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 203559F920B371B900A82EB8 /* AppDelegate.swift */; }; 11 | 203559FC20B371B900A82EB8 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 203559FB20B371B900A82EB8 /* ViewController.swift */; }; 12 | 203559FF20B371B900A82EB8 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 203559FD20B371B900A82EB8 /* Main.storyboard */; }; 13 | 20355A0120B371BB00A82EB8 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 20355A0020B371BB00A82EB8 /* Assets.xcassets */; }; 14 | 20355A0420B371BB00A82EB8 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 20355A0220B371BB00A82EB8 /* LaunchScreen.storyboard */; }; 15 | 8ECA734855E07CD56060EDE9 /* libPods-Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F9164658DAF9914261ECF13F /* libPods-Example.a */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 203559F620B371B900A82EB8 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 20 | 203559F920B371B900A82EB8 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 21 | 203559FB20B371B900A82EB8 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 22 | 203559FE20B371B900A82EB8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 23 | 20355A0020B371BB00A82EB8 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 24 | 20355A0320B371BB00A82EB8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 25 | 20355A0520B371BB00A82EB8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 68C87651C3AC19C7DB6EDE86 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = ""; }; 27 | 810D2625B22C3D585D7157A4 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = ""; }; 28 | F9164658DAF9914261ECF13F /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | /* End PBXFileReference section */ 30 | 31 | /* Begin PBXFrameworksBuildPhase section */ 32 | 203559F320B371B900A82EB8 /* Frameworks */ = { 33 | isa = PBXFrameworksBuildPhase; 34 | buildActionMask = 2147483647; 35 | files = ( 36 | 8ECA734855E07CD56060EDE9 /* libPods-Example.a in Frameworks */, 37 | ); 38 | runOnlyForDeploymentPostprocessing = 0; 39 | }; 40 | /* End PBXFrameworksBuildPhase section */ 41 | 42 | /* Begin PBXGroup section */ 43 | 1971680AD76A225740D46043 /* Pods */ = { 44 | isa = PBXGroup; 45 | children = ( 46 | 68C87651C3AC19C7DB6EDE86 /* Pods-Example.debug.xcconfig */, 47 | 810D2625B22C3D585D7157A4 /* Pods-Example.release.xcconfig */, 48 | ); 49 | name = Pods; 50 | sourceTree = ""; 51 | }; 52 | 203559ED20B371B900A82EB8 = { 53 | isa = PBXGroup; 54 | children = ( 55 | 203559F820B371B900A82EB8 /* Example */, 56 | 203559F720B371B900A82EB8 /* Products */, 57 | 1971680AD76A225740D46043 /* Pods */, 58 | 46412AEAB7B7DE7CAF1E120E /* Frameworks */, 59 | ); 60 | sourceTree = ""; 61 | }; 62 | 203559F720B371B900A82EB8 /* Products */ = { 63 | isa = PBXGroup; 64 | children = ( 65 | 203559F620B371B900A82EB8 /* Example.app */, 66 | ); 67 | name = Products; 68 | sourceTree = ""; 69 | }; 70 | 203559F820B371B900A82EB8 /* Example */ = { 71 | isa = PBXGroup; 72 | children = ( 73 | 203559F920B371B900A82EB8 /* AppDelegate.swift */, 74 | 203559FB20B371B900A82EB8 /* ViewController.swift */, 75 | 203559FD20B371B900A82EB8 /* Main.storyboard */, 76 | 20355A0020B371BB00A82EB8 /* Assets.xcassets */, 77 | 20355A0220B371BB00A82EB8 /* LaunchScreen.storyboard */, 78 | 20355A0520B371BB00A82EB8 /* Info.plist */, 79 | ); 80 | path = Example; 81 | sourceTree = ""; 82 | }; 83 | 46412AEAB7B7DE7CAF1E120E /* Frameworks */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | F9164658DAF9914261ECF13F /* libPods-Example.a */, 87 | ); 88 | name = Frameworks; 89 | sourceTree = ""; 90 | }; 91 | /* End PBXGroup section */ 92 | 93 | /* Begin PBXNativeTarget section */ 94 | 203559F520B371B900A82EB8 /* Example */ = { 95 | isa = PBXNativeTarget; 96 | buildConfigurationList = 20355A0820B371BB00A82EB8 /* Build configuration list for PBXNativeTarget "Example" */; 97 | buildPhases = ( 98 | E3BE9F3FF71AE0B9786F4AD0 /* [CP] Check Pods Manifest.lock */, 99 | 203559F220B371B900A82EB8 /* Sources */, 100 | 203559F320B371B900A82EB8 /* Frameworks */, 101 | 203559F420B371B900A82EB8 /* Resources */, 102 | ); 103 | buildRules = ( 104 | ); 105 | dependencies = ( 106 | ); 107 | name = Example; 108 | productName = Example; 109 | productReference = 203559F620B371B900A82EB8 /* Example.app */; 110 | productType = "com.apple.product-type.application"; 111 | }; 112 | /* End PBXNativeTarget section */ 113 | 114 | /* Begin PBXProject section */ 115 | 203559EE20B371B900A82EB8 /* Project object */ = { 116 | isa = PBXProject; 117 | attributes = { 118 | LastSwiftUpdateCheck = 0930; 119 | LastUpgradeCheck = 0930; 120 | ORGANIZATIONNAME = "Pedro Carrasco"; 121 | TargetAttributes = { 122 | 203559F520B371B900A82EB8 = { 123 | CreatedOnToolsVersion = 9.3; 124 | LastSwiftMigration = 1000; 125 | }; 126 | }; 127 | }; 128 | buildConfigurationList = 203559F120B371B900A82EB8 /* Build configuration list for PBXProject "Example" */; 129 | compatibilityVersion = "Xcode 9.3"; 130 | developmentRegion = en; 131 | hasScannedForEncodings = 0; 132 | knownRegions = ( 133 | en, 134 | Base, 135 | ); 136 | mainGroup = 203559ED20B371B900A82EB8; 137 | productRefGroup = 203559F720B371B900A82EB8 /* Products */; 138 | projectDirPath = ""; 139 | projectRoot = ""; 140 | targets = ( 141 | 203559F520B371B900A82EB8 /* Example */, 142 | ); 143 | }; 144 | /* End PBXProject section */ 145 | 146 | /* Begin PBXResourcesBuildPhase section */ 147 | 203559F420B371B900A82EB8 /* Resources */ = { 148 | isa = PBXResourcesBuildPhase; 149 | buildActionMask = 2147483647; 150 | files = ( 151 | 20355A0420B371BB00A82EB8 /* LaunchScreen.storyboard in Resources */, 152 | 20355A0120B371BB00A82EB8 /* Assets.xcassets in Resources */, 153 | 203559FF20B371B900A82EB8 /* Main.storyboard in Resources */, 154 | ); 155 | runOnlyForDeploymentPostprocessing = 0; 156 | }; 157 | /* End PBXResourcesBuildPhase section */ 158 | 159 | /* Begin PBXShellScriptBuildPhase section */ 160 | E3BE9F3FF71AE0B9786F4AD0 /* [CP] Check Pods Manifest.lock */ = { 161 | isa = PBXShellScriptBuildPhase; 162 | buildActionMask = 2147483647; 163 | files = ( 164 | ); 165 | inputPaths = ( 166 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 167 | "${PODS_ROOT}/Manifest.lock", 168 | ); 169 | name = "[CP] Check Pods Manifest.lock"; 170 | outputPaths = ( 171 | "$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt", 172 | ); 173 | runOnlyForDeploymentPostprocessing = 0; 174 | shellPath = /bin/sh; 175 | 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"; 176 | showEnvVarsInLog = 0; 177 | }; 178 | /* End PBXShellScriptBuildPhase section */ 179 | 180 | /* Begin PBXSourcesBuildPhase section */ 181 | 203559F220B371B900A82EB8 /* Sources */ = { 182 | isa = PBXSourcesBuildPhase; 183 | buildActionMask = 2147483647; 184 | files = ( 185 | 203559FC20B371B900A82EB8 /* ViewController.swift in Sources */, 186 | 203559FA20B371B900A82EB8 /* AppDelegate.swift in Sources */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | /* End PBXSourcesBuildPhase section */ 191 | 192 | /* Begin PBXVariantGroup section */ 193 | 203559FD20B371B900A82EB8 /* Main.storyboard */ = { 194 | isa = PBXVariantGroup; 195 | children = ( 196 | 203559FE20B371B900A82EB8 /* Base */, 197 | ); 198 | name = Main.storyboard; 199 | sourceTree = ""; 200 | }; 201 | 20355A0220B371BB00A82EB8 /* LaunchScreen.storyboard */ = { 202 | isa = PBXVariantGroup; 203 | children = ( 204 | 20355A0320B371BB00A82EB8 /* Base */, 205 | ); 206 | name = LaunchScreen.storyboard; 207 | sourceTree = ""; 208 | }; 209 | /* End PBXVariantGroup section */ 210 | 211 | /* Begin XCBuildConfiguration section */ 212 | 20355A0620B371BB00A82EB8 /* Debug */ = { 213 | isa = XCBuildConfiguration; 214 | buildSettings = { 215 | ALWAYS_SEARCH_USER_PATHS = NO; 216 | CLANG_ANALYZER_NONNULL = YES; 217 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 218 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 219 | CLANG_CXX_LIBRARY = "libc++"; 220 | CLANG_ENABLE_MODULES = YES; 221 | CLANG_ENABLE_OBJC_ARC = YES; 222 | CLANG_ENABLE_OBJC_WEAK = YES; 223 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 224 | CLANG_WARN_BOOL_CONVERSION = YES; 225 | CLANG_WARN_COMMA = YES; 226 | CLANG_WARN_CONSTANT_CONVERSION = YES; 227 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 228 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 229 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 230 | CLANG_WARN_EMPTY_BODY = YES; 231 | CLANG_WARN_ENUM_CONVERSION = YES; 232 | CLANG_WARN_INFINITE_RECURSION = YES; 233 | CLANG_WARN_INT_CONVERSION = YES; 234 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 235 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 236 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 237 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 238 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 239 | CLANG_WARN_STRICT_PROTOTYPES = YES; 240 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 241 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 242 | CLANG_WARN_UNREACHABLE_CODE = YES; 243 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 244 | CODE_SIGN_IDENTITY = "iPhone Developer"; 245 | COPY_PHASE_STRIP = NO; 246 | DEBUG_INFORMATION_FORMAT = dwarf; 247 | ENABLE_STRICT_OBJC_MSGSEND = YES; 248 | ENABLE_TESTABILITY = YES; 249 | GCC_C_LANGUAGE_STANDARD = gnu11; 250 | GCC_DYNAMIC_NO_PIC = NO; 251 | GCC_NO_COMMON_BLOCKS = YES; 252 | GCC_OPTIMIZATION_LEVEL = 0; 253 | GCC_PREPROCESSOR_DEFINITIONS = ( 254 | "DEBUG=1", 255 | "$(inherited)", 256 | ); 257 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 258 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 259 | GCC_WARN_UNDECLARED_SELECTOR = YES; 260 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 261 | GCC_WARN_UNUSED_FUNCTION = YES; 262 | GCC_WARN_UNUSED_VARIABLE = YES; 263 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 264 | MTL_ENABLE_DEBUG_INFO = YES; 265 | ONLY_ACTIVE_ARCH = YES; 266 | SDKROOT = iphoneos; 267 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 268 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 269 | SWIFT_VERSION = 4.2; 270 | }; 271 | name = Debug; 272 | }; 273 | 20355A0720B371BB00A82EB8 /* Release */ = { 274 | isa = XCBuildConfiguration; 275 | buildSettings = { 276 | ALWAYS_SEARCH_USER_PATHS = NO; 277 | CLANG_ANALYZER_NONNULL = YES; 278 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 279 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 280 | CLANG_CXX_LIBRARY = "libc++"; 281 | CLANG_ENABLE_MODULES = YES; 282 | CLANG_ENABLE_OBJC_ARC = YES; 283 | CLANG_ENABLE_OBJC_WEAK = YES; 284 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 285 | CLANG_WARN_BOOL_CONVERSION = YES; 286 | CLANG_WARN_COMMA = YES; 287 | CLANG_WARN_CONSTANT_CONVERSION = YES; 288 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 289 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 290 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 291 | CLANG_WARN_EMPTY_BODY = YES; 292 | CLANG_WARN_ENUM_CONVERSION = YES; 293 | CLANG_WARN_INFINITE_RECURSION = YES; 294 | CLANG_WARN_INT_CONVERSION = YES; 295 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 296 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 297 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 298 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 299 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 300 | CLANG_WARN_STRICT_PROTOTYPES = YES; 301 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 302 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 303 | CLANG_WARN_UNREACHABLE_CODE = YES; 304 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 305 | CODE_SIGN_IDENTITY = "iPhone Developer"; 306 | COPY_PHASE_STRIP = NO; 307 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 308 | ENABLE_NS_ASSERTIONS = NO; 309 | ENABLE_STRICT_OBJC_MSGSEND = YES; 310 | GCC_C_LANGUAGE_STANDARD = gnu11; 311 | GCC_NO_COMMON_BLOCKS = YES; 312 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 313 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 314 | GCC_WARN_UNDECLARED_SELECTOR = YES; 315 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 316 | GCC_WARN_UNUSED_FUNCTION = YES; 317 | GCC_WARN_UNUSED_VARIABLE = YES; 318 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 319 | MTL_ENABLE_DEBUG_INFO = NO; 320 | SDKROOT = iphoneos; 321 | SWIFT_COMPILATION_MODE = wholemodule; 322 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 323 | SWIFT_VERSION = 4.2; 324 | VALIDATE_PRODUCT = YES; 325 | }; 326 | name = Release; 327 | }; 328 | 20355A0920B371BB00A82EB8 /* Debug */ = { 329 | isa = XCBuildConfiguration; 330 | baseConfigurationReference = 68C87651C3AC19C7DB6EDE86 /* Pods-Example.debug.xcconfig */; 331 | buildSettings = { 332 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 333 | CODE_SIGN_STYLE = Automatic; 334 | DEVELOPMENT_TEAM = 7GE4Q65N57; 335 | INFOPLIST_FILE = Example/Info.plist; 336 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 337 | LD_RUNPATH_SEARCH_PATHS = ( 338 | "$(inherited)", 339 | "@executable_path/Frameworks", 340 | ); 341 | PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Example; 342 | PRODUCT_NAME = "$(TARGET_NAME)"; 343 | SWIFT_VERSION = 4.0; 344 | TARGETED_DEVICE_FAMILY = "1,2"; 345 | }; 346 | name = Debug; 347 | }; 348 | 20355A0A20B371BB00A82EB8 /* Release */ = { 349 | isa = XCBuildConfiguration; 350 | baseConfigurationReference = 810D2625B22C3D585D7157A4 /* Pods-Example.release.xcconfig */; 351 | buildSettings = { 352 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 353 | CODE_SIGN_STYLE = Automatic; 354 | DEVELOPMENT_TEAM = 7GE4Q65N57; 355 | INFOPLIST_FILE = Example/Info.plist; 356 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 357 | LD_RUNPATH_SEARCH_PATHS = ( 358 | "$(inherited)", 359 | "@executable_path/Frameworks", 360 | ); 361 | PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Example; 362 | PRODUCT_NAME = "$(TARGET_NAME)"; 363 | SWIFT_VERSION = 4.0; 364 | TARGETED_DEVICE_FAMILY = "1,2"; 365 | }; 366 | name = Release; 367 | }; 368 | /* End XCBuildConfiguration section */ 369 | 370 | /* Begin XCConfigurationList section */ 371 | 203559F120B371B900A82EB8 /* Build configuration list for PBXProject "Example" */ = { 372 | isa = XCConfigurationList; 373 | buildConfigurations = ( 374 | 20355A0620B371BB00A82EB8 /* Debug */, 375 | 20355A0720B371BB00A82EB8 /* Release */, 376 | ); 377 | defaultConfigurationIsVisible = 0; 378 | defaultConfigurationName = Release; 379 | }; 380 | 20355A0820B371BB00A82EB8 /* Build configuration list for PBXNativeTarget "Example" */ = { 381 | isa = XCConfigurationList; 382 | buildConfigurations = ( 383 | 20355A0920B371BB00A82EB8 /* Debug */, 384 | 20355A0A20B371BB00A82EB8 /* Release */, 385 | ); 386 | defaultConfigurationIsVisible = 0; 387 | defaultConfigurationName = Release; 388 | }; 389 | /* End XCConfigurationList section */ 390 | }; 391 | rootObject = 203559EE20B371B900A82EB8 /* Project object */; 392 | } 393 | -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Example.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Example/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // Example 4 | // 5 | // Created by Pedro Carrasco on 21/05/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. 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 active 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/Example/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/background.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "maxresdefault-1.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "maxresdefault.jpg", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "maxresdefault-2.jpg", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/background.imageset/maxresdefault-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/background.imageset/maxresdefault-1.jpg -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/background.imageset/maxresdefault-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/background.imageset/maxresdefault-2.jpg -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/background.imageset/maxresdefault.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/background.imageset/maxresdefault.jpg -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "s.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "s-1.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "s-2.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon1.imageset/s-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon1.imageset/s-1.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon1.imageset/s-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon1.imageset/s-2.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon1.imageset/s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon1.imageset/s.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "t.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "t-1.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "t-2.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon2.imageset/t-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon2.imageset/t-1.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon2.imageset/t-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon2.imageset/t-2.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon2.imageset/t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon2.imageset/t.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "o.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "o-1.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "o-2.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon3.imageset/o-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon3.imageset/o-1.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon3.imageset/o-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon3.imageset/o-2.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon3.imageset/o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon3.imageset/o.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "x.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "x-1.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "x-2.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon4.imageset/x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon4.imageset/x-1.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon4.imageset/x-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon4.imageset/x-2.png -------------------------------------------------------------------------------- /Example/Example/Assets.xcassets/icon4.imageset/x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedrommcarrasco/Fluky/e5b546ac08370c9514d46ee99caa65f069d348cc/Example/Example/Assets.xcassets/icon4.imageset/x.png -------------------------------------------------------------------------------- /Example/Example/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 | -------------------------------------------------------------------------------- /Example/Example/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Example/Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /Example/Example/ViewController.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Fluky 3 | 4 | class ViewController: UIViewController { 5 | 6 | let images = [UIImage(named: "icon1")!, UIImage(named: "icon2")!, UIImage(named: "icon3")!, UIImage(named: "icon4")!] 7 | 8 | override func viewDidLoad() { 9 | super.viewDidLoad() 10 | 11 | navigationController?.navigationBar.isHidden = true 12 | view.backgroundColor = UIColor(red: 0.10, green: 0.10, blue: 0.14, alpha: 1.0) 13 | 14 | let single = Fluky.view(as: .single, with: images) 15 | let linear = Fluky.view(as: .linear, with: images) 16 | let box = Fluky.view(as: .box, with: images) 17 | 18 | let flukyViews = [single, linear, box] 19 | 20 | flukyViews.forEach { 21 | self.view.addSubview($0) 22 | $0.translatesAutoresizingMaskIntoConstraints = false 23 | } 24 | 25 | NSLayoutConstraint.activate( 26 | [ 27 | single.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor), 28 | single.leadingAnchor.constraint(equalTo: view.leadingAnchor), 29 | single.trailingAnchor.constraint(equalTo: view.trailingAnchor), 30 | single.heightAnchor.constraint(equalToConstant: 60.0), 31 | 32 | linear.centerYAnchor.constraint(equalTo: view.centerYAnchor), 33 | linear.leadingAnchor.constraint(equalTo: view.leadingAnchor), 34 | linear.trailingAnchor.constraint(equalTo: view.trailingAnchor), 35 | linear.heightAnchor.constraint(equalToConstant: 60.0), 36 | 37 | box.bottomAnchor.constraint(equalTo: view.bottomAnchor), 38 | box.leadingAnchor.constraint(equalTo: view.leadingAnchor), 39 | box.trailingAnchor.constraint(equalTo: view.trailingAnchor), 40 | box.heightAnchor.constraint(equalToConstant: 80.0) 41 | ] 42 | ) 43 | 44 | flukyViews.forEach { $0.start() } 45 | 46 | DispatchQueue.main.asyncAfter(deadline: .now() + 10, execute: { flukyViews.forEach { $0.stop() } }) 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, 11.0' 3 | 4 | target 'Example' do 5 | # Comment the next line if you're not using Swift and don't want to use dynamic frameworks 6 | 7 | # Pods for Example 8 | pod 'Fluky', :path => ".." 9 | 10 | end 11 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Fluky (1.0.0) 3 | 4 | DEPENDENCIES: 5 | - Fluky (from `..`) 6 | 7 | EXTERNAL SOURCES: 8 | Fluky: 9 | :path: ".." 10 | 11 | SPEC CHECKSUMS: 12 | Fluky: 42866ba0c927818044aa41a8ae297b98c7729546 13 | 14 | PODFILE CHECKSUM: 2d50bf507104a05b78271e7d8aa16838f4b19028 15 | 16 | COCOAPODS: 1.6.0.beta.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Headers/Private/Fluky/Fluky.h: -------------------------------------------------------------------------------- 1 | ../../../../../Fluky/Fluky/Fluky.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Public/Fluky/Fluky-umbrella.h: -------------------------------------------------------------------------------- 1 | /Users/pedro.carrasco/Desktop/Personal/Fluky/Example/Pods/Target Support Files/Fluky/Fluky-umbrella.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Public/Fluky/Fluky.h: -------------------------------------------------------------------------------- 1 | ../../../../../Fluky/Fluky/Fluky.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Public/Fluky/Fluky.modulemap: -------------------------------------------------------------------------------- 1 | /Users/pedro.carrasco/Desktop/Personal/Fluky/Example/Pods/Target Support Files/Fluky/Fluky.modulemap -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/Constrictor.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Constrictor", 3 | "swift_version": "4.2", 4 | "version": "3.0.1", 5 | "summary": "🐍 AutoLayout's µFramework", 6 | "description": "(Boe) Constrictor's AutoLayout µFramework with the goal of simplying your constraints by reducing the amount of code you have to write.", 7 | "homepage": "https://github.com/pedrommcarrasco/Constrictor", 8 | "license": { 9 | "type": "MIT", 10 | "file": "LICENSE" 11 | }, 12 | "authors": "Pedro Carrasco", 13 | "social_media_url": "http://twitter.com/pedrommcarrasco", 14 | "platforms": { 15 | "ios": "9.0" 16 | }, 17 | "source": { 18 | "git": "https://github.com/pedrommcarrasco/Constrictor.git", 19 | "tag": "3.0.1" 20 | }, 21 | "source_files": "Constrictor/Constrictor/**/*", 22 | "exclude_files": "Constrictor/Constrictor/*.plist" 23 | } 24 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/Fluky.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Fluky", 3 | "swift_version": "4.2", 4 | "version": "1.0.0", 5 | "summary": "🎲 Loading based on random icons", 6 | "description": "Make every loading screen different with Fluky, your random loading screen inspired by PlayStation.", 7 | "homepage": "https://github.com/pedrommcarrasco/Fluky", 8 | "license": { 9 | "type": "MIT", 10 | "file": "LICENSE" 11 | }, 12 | "authors": "Pedro Carrasco", 13 | "social_media_url": "http://twitter.com/pedrommcarrasco", 14 | "platforms": { 15 | "ios": "9.0" 16 | }, 17 | "source": { 18 | "git": "https://github.com/pedrommcarrasco/Fluky.git", 19 | "tag": "1.0.0" 20 | }, 21 | "source_files": "Fluky/Fluky/**/*", 22 | "exclude_files": "Fluky/Fluky/*.plist" 23 | } 24 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Fluky (1.0.0) 3 | 4 | DEPENDENCIES: 5 | - Fluky (from `..`) 6 | 7 | EXTERNAL SOURCES: 8 | Fluky: 9 | :path: ".." 10 | 11 | SPEC CHECKSUMS: 12 | Fluky: 42866ba0c927818044aa41a8ae297b98c7729546 13 | 14 | PODFILE CHECKSUM: 2d50bf507104a05b78271e7d8aa16838f4b19028 15 | 16 | COCOAPODS: 1.6.0.beta.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 245AE20EB290C60E4C665C8558B02E24 /* FlukyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 581306AFE89239BB7383680D2442E55A /* FlukyView.swift */; }; 11 | 24C1A3B75D4267AAB9D6FE56E6216020 /* Anchor.swift in Sources */ = {isa = PBXBuildFile; fileRef = D25711AFC6E42778C9A48EA4343ECEEC /* Anchor.swift */; }; 12 | 252422110DA79515653CE698EA033453 /* FlukyProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA1BC7D43B47EE401D5A32E77D34CC90 /* FlukyProtocol.swift */; }; 13 | 3C4EEBFBEFAA02E9D4261744E4663A1A /* Fluky-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 04248E40C3A6FB80BA6C8E0E7366E82B /* Fluky-umbrella.h */; settings = {ATTRIBUTES = (Project, ); }; }; 14 | 5C86EBE2D41CB54CE9D293E64F59D670 /* Fluky-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C6D28C1CCB5A7236EFD9191D60192D77 /* Fluky-dummy.m */; }; 15 | 5D30880AE368F5584C6ADE7B5EB1433A /* Fluky.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA1F3BCE5BAAE20A4B867D0C16914FB9 /* Fluky.swift */; }; 16 | 67A6050FB8F875213EEDB5955CC7ED1A /* Damping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B3E576F3760A5D7FACB2815DAB3D0FC /* Damping.swift */; }; 17 | 6BB8D282279143E2A9A635FCE4DA17C9 /* UIView+Add.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B9F487EF66FE64DA53FDFE1CBD699DB /* UIView+Add.swift */; }; 18 | 721F18F5DED2CE5BFACCE258BAD28596 /* FlukyType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 277A5CF7AB011821344A4ADF316B886E /* FlukyType.swift */; }; 19 | 7D8E883A1B9B093AD520D97B78D999C3 /* Pods-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F8F633DEA56389DC4ED732ABBD8D8B20 /* Pods-Example-dummy.m */; }; 20 | 7DDF7AFE221DAA04F18876A8AC4E2AE2 /* Fluky.h in Headers */ = {isa = PBXBuildFile; fileRef = D50F6BE52382B60AED3D1941F51D6D56 /* Fluky.h */; settings = {ATTRIBUTES = (Project, ); }; }; 21 | 8E3320308DE1BFCF7E8520F23CF01514 /* UIStackView+Add.swift in Sources */ = {isa = PBXBuildFile; fileRef = 398E7FE57116E5D56CD9DAE255E38396 /* UIStackView+Add.swift */; }; 22 | 9146DD686515CA6AF576FA4EFF22BCED /* Duration.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5F20C9037A5F1A7004BCB5EE6D1F274 /* Duration.swift */; }; 23 | 941C98AC663405C5605646C3C2AD9202 /* FlukyProtocol+Default.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23E70AB4483499F02163200406D07720 /* FlukyProtocol+Default.swift */; }; 24 | 9860B67D2F3382336CDBF39EFACE1F0D /* Sequence+Transform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B6921B8B9DCCF21C4EF5E22ED3E68D8 /* Sequence+Transform.swift */; }; 25 | 9FCF9E8F25DB71F88D648FF1D8DDD023 /* Spring.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8EC8D3623FD1A7FB9B69EF208D90ECD /* Spring.swift */; }; 26 | AB431E83D89B158415E211BB4EA30BE1 /* FlukyLinearView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0C57BA59006594EC51586BBC7475464 /* FlukyLinearView.swift */; }; 27 | B1B0411698768FF46BA17DBDF4EA6ED9 /* FlukyBoxView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FEB6C5876F6A919F11624C26AF7BA42 /* FlukyBoxView.swift */; }; 28 | B2240B69739515B877572B27E3BFFFDD /* Pods-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D42D159A47DC837C70E4D53AB3E9015F /* Pods-Example-umbrella.h */; settings = {ATTRIBUTES = (Project, ); }; }; 29 | B2A2231C75508A88D2D8777E7F7A263F /* Spacing.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8AE26561A0A037919FD70584F3ED1670 /* Spacing.swift */; }; 30 | B401EC5A8D5A4D13A2C5922758A6AF0B /* UIStackView+Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09F4A067CEEFAA020E332371DE4E681F /* UIStackView+Create.swift */; }; 31 | B529C2E6128F58E8D6144486B4B68AAC /* FlukyProtocol+Animate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88A7732E61D8158B122834997568C124 /* FlukyProtocol+Animate.swift */; }; 32 | B8609C5852A3A04D67BA8171C4EB1529 /* Calculator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3447B8C2931AC8E3E5AADCEDD3DCB195 /* Calculator.swift */; }; 33 | BC3D3D53AE67FF4716E2C4BF1B9A0675 /* FlukyImageView+Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFDBABAEE469CD52889832ACDA6A9BE9 /* FlukyImageView+Create.swift */; }; 34 | C0840D60BEDE6EAE191FE326AEC935FD /* Array+Chunk.swift in Sources */ = {isa = PBXBuildFile; fileRef = 805EECE816412B70461A491D61F917FD /* Array+Chunk.swift */; }; 35 | D2416BDAE2828E67DEC6AFD6235D3114 /* FlukySingleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9BB55AE6811A79C7CCCC727F8824557 /* FlukySingleView.swift */; }; 36 | DEFC4686AFC355E78F8A2C347ADB2E2A /* NSObject+Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = 095ED3CE863DB0371C9D0E2AA396742C /* NSObject+Create.swift */; }; 37 | F88E6A6BAA6304A286DC5B8B1E2D0266 /* FlukyImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD80CD9373B8BE3882259CA676E6E488 /* FlukyImageView.swift */; }; 38 | /* End PBXBuildFile section */ 39 | 40 | /* Begin PBXContainerItemProxy section */ 41 | E73C931E69747ACB250398212B33F6FF /* PBXContainerItemProxy */ = { 42 | isa = PBXContainerItemProxy; 43 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 44 | proxyType = 1; 45 | remoteGlobalIDString = C9645D226202DB875F4E129B513B23DD; 46 | remoteInfo = Fluky; 47 | }; 48 | /* End PBXContainerItemProxy section */ 49 | 50 | /* Begin PBXFileReference section */ 51 | 04239285FD8E362D816F1B1D09001D65 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.debug.xcconfig"; sourceTree = ""; }; 52 | 04248E40C3A6FB80BA6C8E0E7366E82B /* Fluky-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Fluky-umbrella.h"; sourceTree = ""; }; 53 | 095ED3CE863DB0371C9D0E2AA396742C /* NSObject+Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "NSObject+Create.swift"; sourceTree = ""; }; 54 | 09F4A067CEEFAA020E332371DE4E681F /* UIStackView+Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIStackView+Create.swift"; sourceTree = ""; }; 55 | 1A16F27F1644EC00EFC28978691FD43B /* libFluky.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libFluky.a; path = libFluky.a; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 1B5B3C6E8CBFE54D91C75405759A8134 /* Fluky-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Fluky-prefix.pch"; sourceTree = ""; }; 57 | 23E70AB4483499F02163200406D07720 /* FlukyProtocol+Default.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "FlukyProtocol+Default.swift"; sourceTree = ""; }; 58 | 277A5CF7AB011821344A4ADF316B886E /* FlukyType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FlukyType.swift; sourceTree = ""; }; 59 | 2B6921B8B9DCCF21C4EF5E22ED3E68D8 /* Sequence+Transform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Sequence+Transform.swift"; sourceTree = ""; }; 60 | 2E8EC39680E13B51BA98DEFE401A39A3 /* Fluky.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Fluky.xcconfig; sourceTree = ""; }; 61 | 34406554533887B21CB2E81C64591C6C /* Fluky.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = Fluky.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 62 | 3447B8C2931AC8E3E5AADCEDD3DCB195 /* Calculator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Calculator.swift; sourceTree = ""; }; 63 | 3934CC4ED3E5E56B4560DA4444C63F20 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.release.xcconfig"; sourceTree = ""; }; 64 | 398E7FE57116E5D56CD9DAE255E38396 /* UIStackView+Add.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIStackView+Add.swift"; sourceTree = ""; }; 65 | 46A7E7C9112E1617130644A6FF52C693 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 66 | 4B3E576F3760A5D7FACB2815DAB3D0FC /* Damping.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Damping.swift; sourceTree = ""; }; 67 | 581306AFE89239BB7383680D2442E55A /* FlukyView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FlukyView.swift; sourceTree = ""; }; 68 | 5B9F487EF66FE64DA53FDFE1CBD699DB /* UIView+Add.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIView+Add.swift"; sourceTree = ""; }; 69 | 79DED4CC844EF01462EF409EF357B7AC /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-Example.a"; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | 7FEB6C5876F6A919F11624C26AF7BA42 /* FlukyBoxView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FlukyBoxView.swift; sourceTree = ""; }; 71 | 805EECE816412B70461A491D61F917FD /* Array+Chunk.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Array+Chunk.swift"; sourceTree = ""; }; 72 | 80F5D6764D6F0D4D838D6FEA2573494B /* Pods-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Example-acknowledgements.plist"; sourceTree = ""; }; 73 | 88A7732E61D8158B122834997568C124 /* FlukyProtocol+Animate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "FlukyProtocol+Animate.swift"; sourceTree = ""; }; 74 | 8AE26561A0A037919FD70584F3ED1670 /* Spacing.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Spacing.swift; sourceTree = ""; }; 75 | 8C76EEAC1F286BCF06BCA893938DFAD9 /* Fluky.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Fluky.modulemap; sourceTree = ""; }; 76 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 77 | A5F20C9037A5F1A7004BCB5EE6D1F274 /* Duration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Duration.swift; sourceTree = ""; }; 78 | AA1F3BCE5BAAE20A4B867D0C16914FB9 /* Fluky.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Fluky.swift; sourceTree = ""; }; 79 | AD80CD9373B8BE3882259CA676E6E488 /* FlukyImageView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FlukyImageView.swift; sourceTree = ""; }; 80 | AFDBABAEE469CD52889832ACDA6A9BE9 /* FlukyImageView+Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "FlukyImageView+Create.swift"; sourceTree = ""; }; 81 | B0C57BA59006594EC51586BBC7475464 /* FlukyLinearView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FlukyLinearView.swift; sourceTree = ""; }; 82 | B33ABD984166D937704E99B29A3C5598 /* Pods-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Example-acknowledgements.markdown"; sourceTree = ""; }; 83 | B344CDEB1378ABEF116D60F71A6BF791 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 84 | B8297D52B29A6075BE1936E1D97CE125 /* Pods-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Example.modulemap"; sourceTree = ""; }; 85 | C6D28C1CCB5A7236EFD9191D60192D77 /* Fluky-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Fluky-dummy.m"; sourceTree = ""; }; 86 | C8EC8D3623FD1A7FB9B69EF208D90ECD /* Spring.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Spring.swift; sourceTree = ""; }; 87 | D25711AFC6E42778C9A48EA4343ECEEC /* Anchor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Anchor.swift; sourceTree = ""; }; 88 | D42D159A47DC837C70E4D53AB3E9015F /* Pods-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Example-umbrella.h"; sourceTree = ""; }; 89 | D50F6BE52382B60AED3D1941F51D6D56 /* Fluky.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Fluky.h; path = Fluky/Fluky/Fluky.h; sourceTree = ""; }; 90 | DA1BC7D43B47EE401D5A32E77D34CC90 /* FlukyProtocol.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FlukyProtocol.swift; sourceTree = ""; }; 91 | E9BB55AE6811A79C7CCCC727F8824557 /* FlukySingleView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FlukySingleView.swift; sourceTree = ""; }; 92 | F8F633DEA56389DC4ED732ABBD8D8B20 /* Pods-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Example-dummy.m"; sourceTree = ""; }; 93 | /* End PBXFileReference section */ 94 | 95 | /* Begin PBXFrameworksBuildPhase section */ 96 | 4476DEEB6F09A35EB6D2D73F628B4C90 /* Frameworks */ = { 97 | isa = PBXFrameworksBuildPhase; 98 | buildActionMask = 2147483647; 99 | files = ( 100 | ); 101 | runOnlyForDeploymentPostprocessing = 0; 102 | }; 103 | 969490391610A3F4E46F225087A1E5D2 /* Frameworks */ = { 104 | isa = PBXFrameworksBuildPhase; 105 | buildActionMask = 2147483647; 106 | files = ( 107 | ); 108 | runOnlyForDeploymentPostprocessing = 0; 109 | }; 110 | /* End PBXFrameworksBuildPhase section */ 111 | 112 | /* Begin PBXGroup section */ 113 | 01A5AD84D75B0220D24BC106DD2D88D9 /* Pod */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 34406554533887B21CB2E81C64591C6C /* Fluky.podspec */, 117 | B344CDEB1378ABEF116D60F71A6BF791 /* LICENSE */, 118 | 46A7E7C9112E1617130644A6FF52C693 /* README.md */, 119 | ); 120 | name = Pod; 121 | sourceTree = ""; 122 | }; 123 | 037AE159A43E5E631B2F86CE2D6B9366 /* Pods-Example */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | B8297D52B29A6075BE1936E1D97CE125 /* Pods-Example.modulemap */, 127 | B33ABD984166D937704E99B29A3C5598 /* Pods-Example-acknowledgements.markdown */, 128 | 80F5D6764D6F0D4D838D6FEA2573494B /* Pods-Example-acknowledgements.plist */, 129 | F8F633DEA56389DC4ED732ABBD8D8B20 /* Pods-Example-dummy.m */, 130 | D42D159A47DC837C70E4D53AB3E9015F /* Pods-Example-umbrella.h */, 131 | 04239285FD8E362D816F1B1D09001D65 /* Pods-Example.debug.xcconfig */, 132 | 3934CC4ED3E5E56B4560DA4444C63F20 /* Pods-Example.release.xcconfig */, 133 | ); 134 | name = "Pods-Example"; 135 | path = "Target Support Files/Pods-Example"; 136 | sourceTree = ""; 137 | }; 138 | 0F8D2E47FE03D3B91B51069F7C273AF4 /* Frameworks */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | ); 142 | name = Frameworks; 143 | sourceTree = ""; 144 | }; 145 | 1C3C6146DF61C0B4EEF952630E8A2B04 /* Factory */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | AA1F3BCE5BAAE20A4B867D0C16914FB9 /* Fluky.swift */, 149 | ); 150 | name = Factory; 151 | path = Fluky/Fluky/Factory; 152 | sourceTree = ""; 153 | }; 154 | 1E64C73D0178674BE1A54E719994909F /* Fluky */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | D50F6BE52382B60AED3D1941F51D6D56 /* Fluky.h */, 158 | C652D71669E9CC9AA94940BEB46F09D6 /* Enumerations */, 159 | 991E1BB9C89D030D32C503E0B88A047F /* Extensions */, 160 | 1C3C6146DF61C0B4EEF952630E8A2B04 /* Factory */, 161 | B24B104D9A2A2D7AB3EF773B37895B54 /* Helpers */, 162 | 01A5AD84D75B0220D24BC106DD2D88D9 /* Pod */, 163 | 9F618A09F815967384BD86AC2A0780F2 /* Protocols */, 164 | F7C1608C783ECA8227344AD184A7580B /* Style */, 165 | 97E814402219F58F6E65F87A9AA007E4 /* Support Files */, 166 | 215DF5001B81D81EB8EA5FBD526C0E71 /* Typealias */, 167 | 782AA9815BA32C76F4AA3A52EBF4294E /* Views */, 168 | ); 169 | name = Fluky; 170 | path = ../..; 171 | sourceTree = ""; 172 | }; 173 | 215DF5001B81D81EB8EA5FBD526C0E71 /* Typealias */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | 581306AFE89239BB7383680D2442E55A /* FlukyView.swift */, 177 | ); 178 | name = Typealias; 179 | path = Fluky/Fluky/Typealias; 180 | sourceTree = ""; 181 | }; 182 | 22ADDEF15FD0FF32C917FE609FE447A5 /* Products */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | 1A16F27F1644EC00EFC28978691FD43B /* libFluky.a */, 186 | 79DED4CC844EF01462EF409EF357B7AC /* libPods-Example.a */, 187 | ); 188 | name = Products; 189 | sourceTree = ""; 190 | }; 191 | 6B69FECA52872BB26923C9ADE2DED9A5 /* Development Pods */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | 1E64C73D0178674BE1A54E719994909F /* Fluky */, 195 | ); 196 | name = "Development Pods"; 197 | sourceTree = ""; 198 | }; 199 | 6C49482DA5D4F97709CE2787E2211CE4 /* Targets Support Files */ = { 200 | isa = PBXGroup; 201 | children = ( 202 | 037AE159A43E5E631B2F86CE2D6B9366 /* Pods-Example */, 203 | ); 204 | name = "Targets Support Files"; 205 | sourceTree = ""; 206 | }; 207 | 782AA9815BA32C76F4AA3A52EBF4294E /* Views */ = { 208 | isa = PBXGroup; 209 | children = ( 210 | 7FEB6C5876F6A919F11624C26AF7BA42 /* FlukyBoxView.swift */, 211 | AD80CD9373B8BE3882259CA676E6E488 /* FlukyImageView.swift */, 212 | B0C57BA59006594EC51586BBC7475464 /* FlukyLinearView.swift */, 213 | E9BB55AE6811A79C7CCCC727F8824557 /* FlukySingleView.swift */, 214 | ); 215 | name = Views; 216 | path = Fluky/Fluky/Views; 217 | sourceTree = ""; 218 | }; 219 | 7DB346D0F39D3F0E887471402A8071AB = { 220 | isa = PBXGroup; 221 | children = ( 222 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 223 | 6B69FECA52872BB26923C9ADE2DED9A5 /* Development Pods */, 224 | 0F8D2E47FE03D3B91B51069F7C273AF4 /* Frameworks */, 225 | 22ADDEF15FD0FF32C917FE609FE447A5 /* Products */, 226 | 6C49482DA5D4F97709CE2787E2211CE4 /* Targets Support Files */, 227 | ); 228 | sourceTree = ""; 229 | }; 230 | 97E814402219F58F6E65F87A9AA007E4 /* Support Files */ = { 231 | isa = PBXGroup; 232 | children = ( 233 | 8C76EEAC1F286BCF06BCA893938DFAD9 /* Fluky.modulemap */, 234 | 2E8EC39680E13B51BA98DEFE401A39A3 /* Fluky.xcconfig */, 235 | C6D28C1CCB5A7236EFD9191D60192D77 /* Fluky-dummy.m */, 236 | 1B5B3C6E8CBFE54D91C75405759A8134 /* Fluky-prefix.pch */, 237 | 04248E40C3A6FB80BA6C8E0E7366E82B /* Fluky-umbrella.h */, 238 | ); 239 | name = "Support Files"; 240 | path = "Example/Pods/Target Support Files/Fluky"; 241 | sourceTree = ""; 242 | }; 243 | 991E1BB9C89D030D32C503E0B88A047F /* Extensions */ = { 244 | isa = PBXGroup; 245 | children = ( 246 | D25711AFC6E42778C9A48EA4343ECEEC /* Anchor.swift */, 247 | 805EECE816412B70461A491D61F917FD /* Array+Chunk.swift */, 248 | AFDBABAEE469CD52889832ACDA6A9BE9 /* FlukyImageView+Create.swift */, 249 | 88A7732E61D8158B122834997568C124 /* FlukyProtocol+Animate.swift */, 250 | 23E70AB4483499F02163200406D07720 /* FlukyProtocol+Default.swift */, 251 | 095ED3CE863DB0371C9D0E2AA396742C /* NSObject+Create.swift */, 252 | 2B6921B8B9DCCF21C4EF5E22ED3E68D8 /* Sequence+Transform.swift */, 253 | 398E7FE57116E5D56CD9DAE255E38396 /* UIStackView+Add.swift */, 254 | 09F4A067CEEFAA020E332371DE4E681F /* UIStackView+Create.swift */, 255 | 5B9F487EF66FE64DA53FDFE1CBD699DB /* UIView+Add.swift */, 256 | ); 257 | name = Extensions; 258 | path = Fluky/Fluky/Extensions; 259 | sourceTree = ""; 260 | }; 261 | 9F618A09F815967384BD86AC2A0780F2 /* Protocols */ = { 262 | isa = PBXGroup; 263 | children = ( 264 | DA1BC7D43B47EE401D5A32E77D34CC90 /* FlukyProtocol.swift */, 265 | ); 266 | name = Protocols; 267 | path = Fluky/Fluky/Protocols; 268 | sourceTree = ""; 269 | }; 270 | B24B104D9A2A2D7AB3EF773B37895B54 /* Helpers */ = { 271 | isa = PBXGroup; 272 | children = ( 273 | 3447B8C2931AC8E3E5AADCEDD3DCB195 /* Calculator.swift */, 274 | ); 275 | name = Helpers; 276 | path = Fluky/Fluky/Helpers; 277 | sourceTree = ""; 278 | }; 279 | C652D71669E9CC9AA94940BEB46F09D6 /* Enumerations */ = { 280 | isa = PBXGroup; 281 | children = ( 282 | 277A5CF7AB011821344A4ADF316B886E /* FlukyType.swift */, 283 | ); 284 | name = Enumerations; 285 | path = Fluky/Fluky/Enumerations; 286 | sourceTree = ""; 287 | }; 288 | F7C1608C783ECA8227344AD184A7580B /* Style */ = { 289 | isa = PBXGroup; 290 | children = ( 291 | 4B3E576F3760A5D7FACB2815DAB3D0FC /* Damping.swift */, 292 | A5F20C9037A5F1A7004BCB5EE6D1F274 /* Duration.swift */, 293 | 8AE26561A0A037919FD70584F3ED1670 /* Spacing.swift */, 294 | C8EC8D3623FD1A7FB9B69EF208D90ECD /* Spring.swift */, 295 | ); 296 | name = Style; 297 | path = Fluky/Fluky/Style; 298 | sourceTree = ""; 299 | }; 300 | /* End PBXGroup section */ 301 | 302 | /* Begin PBXHeadersBuildPhase section */ 303 | 76BA2378AD26E60EC61694D60F8F37C4 /* Headers */ = { 304 | isa = PBXHeadersBuildPhase; 305 | buildActionMask = 2147483647; 306 | files = ( 307 | B2240B69739515B877572B27E3BFFFDD /* Pods-Example-umbrella.h in Headers */, 308 | ); 309 | runOnlyForDeploymentPostprocessing = 0; 310 | }; 311 | E1B83433401E4753D4DE6C12020DA87F /* Headers */ = { 312 | isa = PBXHeadersBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | 3C4EEBFBEFAA02E9D4261744E4663A1A /* Fluky-umbrella.h in Headers */, 316 | 7DDF7AFE221DAA04F18876A8AC4E2AE2 /* Fluky.h in Headers */, 317 | ); 318 | runOnlyForDeploymentPostprocessing = 0; 319 | }; 320 | /* End PBXHeadersBuildPhase section */ 321 | 322 | /* Begin PBXNativeTarget section */ 323 | C9645D226202DB875F4E129B513B23DD /* Fluky */ = { 324 | isa = PBXNativeTarget; 325 | buildConfigurationList = 291E36940D9C0B6912A009D9D30880CC /* Build configuration list for PBXNativeTarget "Fluky" */; 326 | buildPhases = ( 327 | E1B83433401E4753D4DE6C12020DA87F /* Headers */, 328 | 25A7D2EFAF3890BCB9CC8C7FCABBA9FB /* Sources */, 329 | 4476DEEB6F09A35EB6D2D73F628B4C90 /* Frameworks */, 330 | EBF116A7C3EEA1403ABE3F5BB3501520 /* Copy generated compatibility header */, 331 | ); 332 | buildRules = ( 333 | ); 334 | dependencies = ( 335 | ); 336 | name = Fluky; 337 | productName = Fluky; 338 | productReference = 1A16F27F1644EC00EFC28978691FD43B /* libFluky.a */; 339 | productType = "com.apple.product-type.library.static"; 340 | }; 341 | F03C85E8D36FFFB1BD52F983BB34DF75 /* Pods-Example */ = { 342 | isa = PBXNativeTarget; 343 | buildConfigurationList = 76611F1FA1FC35E6D20DDEF6843C01E3 /* Build configuration list for PBXNativeTarget "Pods-Example" */; 344 | buildPhases = ( 345 | 76BA2378AD26E60EC61694D60F8F37C4 /* Headers */, 346 | E3CA0295D4CE51B3332B91CA565B29B7 /* Sources */, 347 | 969490391610A3F4E46F225087A1E5D2 /* Frameworks */, 348 | ); 349 | buildRules = ( 350 | ); 351 | dependencies = ( 352 | A6DED7EBC32203B1B5F332668E72FF2A /* PBXTargetDependency */, 353 | ); 354 | name = "Pods-Example"; 355 | productName = "Pods-Example"; 356 | productReference = 79DED4CC844EF01462EF409EF357B7AC /* libPods-Example.a */; 357 | productType = "com.apple.product-type.library.static"; 358 | }; 359 | /* End PBXNativeTarget section */ 360 | 361 | /* Begin PBXProject section */ 362 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 363 | isa = PBXProject; 364 | attributes = { 365 | LastSwiftUpdateCheck = 0930; 366 | LastUpgradeCheck = 0930; 367 | }; 368 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 369 | compatibilityVersion = "Xcode 3.2"; 370 | developmentRegion = English; 371 | hasScannedForEncodings = 0; 372 | knownRegions = ( 373 | en, 374 | ); 375 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 376 | productRefGroup = 22ADDEF15FD0FF32C917FE609FE447A5 /* Products */; 377 | projectDirPath = ""; 378 | projectRoot = ""; 379 | targets = ( 380 | C9645D226202DB875F4E129B513B23DD /* Fluky */, 381 | F03C85E8D36FFFB1BD52F983BB34DF75 /* Pods-Example */, 382 | ); 383 | }; 384 | /* End PBXProject section */ 385 | 386 | /* Begin PBXShellScriptBuildPhase section */ 387 | EBF116A7C3EEA1403ABE3F5BB3501520 /* Copy generated compatibility header */ = { 388 | isa = PBXShellScriptBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | ); 392 | inputFileListPaths = ( 393 | ); 394 | inputPaths = ( 395 | "${DERIVED_SOURCES_DIR}/${PRODUCT_MODULE_NAME}-Swift.h", 396 | "${PODS_ROOT}/Headers/Public/Fluky/Fluky.modulemap", 397 | "${PODS_ROOT}/Headers/Public/Fluky/Fluky-umbrella.h", 398 | ); 399 | name = "Copy generated compatibility header"; 400 | outputFileListPaths = ( 401 | ); 402 | outputPaths = ( 403 | "${BUILT_PRODUCTS_DIR}/${PRODUCT_MODULE_NAME}.modulemap", 404 | "${BUILT_PRODUCTS_DIR}/Fluky-umbrella.h", 405 | "${BUILT_PRODUCTS_DIR}/Swift Compatibility Header/${PRODUCT_MODULE_NAME}-Swift.h", 406 | ); 407 | runOnlyForDeploymentPostprocessing = 0; 408 | shellPath = /bin/sh; 409 | shellScript = "COMPATIBILITY_HEADER_PATH=\"${BUILT_PRODUCTS_DIR}/Swift Compatibility Header/${PRODUCT_MODULE_NAME}-Swift.h\"\nMODULE_MAP_PATH=\"${BUILT_PRODUCTS_DIR}/${PRODUCT_MODULE_NAME}.modulemap\"\n\nditto \"${DERIVED_SOURCES_DIR}/${PRODUCT_MODULE_NAME}-Swift.h\" \"${COMPATIBILITY_HEADER_PATH}\"\nditto \"${PODS_ROOT}/Headers/Public/Fluky/Fluky.modulemap\" \"${MODULE_MAP_PATH}\"\nditto \"${PODS_ROOT}/Headers/Public/Fluky/Fluky-umbrella.h\" \"${BUILT_PRODUCTS_DIR}\"\nprintf \"\\n\\nmodule ${PRODUCT_MODULE_NAME}.Swift {\\n header \\\"${COMPATIBILITY_HEADER_PATH}\\\"\\n requires objc\\n}\\n\" >> \"${MODULE_MAP_PATH}\"\n"; 410 | showEnvVarsInLog = 1; 411 | }; 412 | /* End PBXShellScriptBuildPhase section */ 413 | 414 | /* Begin PBXSourcesBuildPhase section */ 415 | 25A7D2EFAF3890BCB9CC8C7FCABBA9FB /* Sources */ = { 416 | isa = PBXSourcesBuildPhase; 417 | buildActionMask = 2147483647; 418 | files = ( 419 | 24C1A3B75D4267AAB9D6FE56E6216020 /* Anchor.swift in Sources */, 420 | C0840D60BEDE6EAE191FE326AEC935FD /* Array+Chunk.swift in Sources */, 421 | B8609C5852A3A04D67BA8171C4EB1529 /* Calculator.swift in Sources */, 422 | 67A6050FB8F875213EEDB5955CC7ED1A /* Damping.swift in Sources */, 423 | 9146DD686515CA6AF576FA4EFF22BCED /* Duration.swift in Sources */, 424 | 5C86EBE2D41CB54CE9D293E64F59D670 /* Fluky-dummy.m in Sources */, 425 | 5D30880AE368F5584C6ADE7B5EB1433A /* Fluky.swift in Sources */, 426 | B1B0411698768FF46BA17DBDF4EA6ED9 /* FlukyBoxView.swift in Sources */, 427 | BC3D3D53AE67FF4716E2C4BF1B9A0675 /* FlukyImageView+Create.swift in Sources */, 428 | F88E6A6BAA6304A286DC5B8B1E2D0266 /* FlukyImageView.swift in Sources */, 429 | AB431E83D89B158415E211BB4EA30BE1 /* FlukyLinearView.swift in Sources */, 430 | B529C2E6128F58E8D6144486B4B68AAC /* FlukyProtocol+Animate.swift in Sources */, 431 | 941C98AC663405C5605646C3C2AD9202 /* FlukyProtocol+Default.swift in Sources */, 432 | 252422110DA79515653CE698EA033453 /* FlukyProtocol.swift in Sources */, 433 | D2416BDAE2828E67DEC6AFD6235D3114 /* FlukySingleView.swift in Sources */, 434 | 721F18F5DED2CE5BFACCE258BAD28596 /* FlukyType.swift in Sources */, 435 | 245AE20EB290C60E4C665C8558B02E24 /* FlukyView.swift in Sources */, 436 | DEFC4686AFC355E78F8A2C347ADB2E2A /* NSObject+Create.swift in Sources */, 437 | 9860B67D2F3382336CDBF39EFACE1F0D /* Sequence+Transform.swift in Sources */, 438 | B2A2231C75508A88D2D8777E7F7A263F /* Spacing.swift in Sources */, 439 | 9FCF9E8F25DB71F88D648FF1D8DDD023 /* Spring.swift in Sources */, 440 | 8E3320308DE1BFCF7E8520F23CF01514 /* UIStackView+Add.swift in Sources */, 441 | B401EC5A8D5A4D13A2C5922758A6AF0B /* UIStackView+Create.swift in Sources */, 442 | 6BB8D282279143E2A9A635FCE4DA17C9 /* UIView+Add.swift in Sources */, 443 | ); 444 | runOnlyForDeploymentPostprocessing = 0; 445 | }; 446 | E3CA0295D4CE51B3332B91CA565B29B7 /* Sources */ = { 447 | isa = PBXSourcesBuildPhase; 448 | buildActionMask = 2147483647; 449 | files = ( 450 | 7D8E883A1B9B093AD520D97B78D999C3 /* Pods-Example-dummy.m in Sources */, 451 | ); 452 | runOnlyForDeploymentPostprocessing = 0; 453 | }; 454 | /* End PBXSourcesBuildPhase section */ 455 | 456 | /* Begin PBXTargetDependency section */ 457 | A6DED7EBC32203B1B5F332668E72FF2A /* PBXTargetDependency */ = { 458 | isa = PBXTargetDependency; 459 | name = Fluky; 460 | target = C9645D226202DB875F4E129B513B23DD /* Fluky */; 461 | targetProxy = E73C931E69747ACB250398212B33F6FF /* PBXContainerItemProxy */; 462 | }; 463 | /* End PBXTargetDependency section */ 464 | 465 | /* Begin XCBuildConfiguration section */ 466 | 4AD36337B694D9C71101134B1146F602 /* Release */ = { 467 | isa = XCBuildConfiguration; 468 | baseConfigurationReference = 3934CC4ED3E5E56B4560DA4444C63F20 /* Pods-Example.release.xcconfig */; 469 | buildSettings = { 470 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 471 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 472 | CLANG_ENABLE_OBJC_WEAK = NO; 473 | CODE_SIGN_IDENTITY = "iPhone Developer"; 474 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 475 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 476 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 477 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 478 | MACH_O_TYPE = staticlib; 479 | MODULEMAP_FILE = "Target Support Files/Pods-Example/Pods-Example.modulemap"; 480 | OTHER_LDFLAGS = ""; 481 | OTHER_LIBTOOLFLAGS = ""; 482 | PODS_ROOT = "$(SRCROOT)"; 483 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 484 | SDKROOT = iphoneos; 485 | SKIP_INSTALL = YES; 486 | SWIFT_COMPILATION_MODE = wholemodule; 487 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 488 | TARGETED_DEVICE_FAMILY = "1,2"; 489 | VALIDATE_PRODUCT = YES; 490 | }; 491 | name = Release; 492 | }; 493 | 5660F8B818E5FCF62819FA3A19204966 /* Release */ = { 494 | isa = XCBuildConfiguration; 495 | baseConfigurationReference = 2E8EC39680E13B51BA98DEFE401A39A3 /* Fluky.xcconfig */; 496 | buildSettings = { 497 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 498 | CODE_SIGN_IDENTITY = "iPhone Developer"; 499 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 500 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 501 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 502 | GCC_PREFIX_HEADER = "Target Support Files/Fluky/Fluky-prefix.pch"; 503 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 504 | MODULEMAP_FILE = Headers/Public/Fluky/Fluky.modulemap; 505 | OTHER_LDFLAGS = ""; 506 | OTHER_LIBTOOLFLAGS = ""; 507 | PRIVATE_HEADERS_FOLDER_PATH = ""; 508 | PRODUCT_MODULE_NAME = Fluky; 509 | PRODUCT_NAME = Fluky; 510 | PUBLIC_HEADERS_FOLDER_PATH = ""; 511 | SDKROOT = iphoneos; 512 | SKIP_INSTALL = YES; 513 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 514 | SWIFT_COMPILATION_MODE = wholemodule; 515 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 516 | SWIFT_VERSION = 4.2; 517 | TARGETED_DEVICE_FAMILY = "1,2"; 518 | VALIDATE_PRODUCT = YES; 519 | }; 520 | name = Release; 521 | }; 522 | 8C3D32AC054F4DBEE82EB2FD6A303D73 /* Debug */ = { 523 | isa = XCBuildConfiguration; 524 | buildSettings = { 525 | ALWAYS_SEARCH_USER_PATHS = NO; 526 | CLANG_ANALYZER_NONNULL = YES; 527 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 528 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 529 | CLANG_CXX_LIBRARY = "libc++"; 530 | CLANG_ENABLE_MODULES = YES; 531 | CLANG_ENABLE_OBJC_ARC = YES; 532 | CLANG_ENABLE_OBJC_WEAK = YES; 533 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 534 | CLANG_WARN_BOOL_CONVERSION = YES; 535 | CLANG_WARN_COMMA = YES; 536 | CLANG_WARN_CONSTANT_CONVERSION = YES; 537 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 538 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 539 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 540 | CLANG_WARN_EMPTY_BODY = YES; 541 | CLANG_WARN_ENUM_CONVERSION = YES; 542 | CLANG_WARN_INFINITE_RECURSION = YES; 543 | CLANG_WARN_INT_CONVERSION = YES; 544 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 545 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 546 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 547 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 548 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 549 | CLANG_WARN_STRICT_PROTOTYPES = YES; 550 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 551 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 552 | CLANG_WARN_UNREACHABLE_CODE = YES; 553 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 554 | CODE_SIGNING_ALLOWED = NO; 555 | CODE_SIGNING_REQUIRED = NO; 556 | COPY_PHASE_STRIP = NO; 557 | DEBUG_INFORMATION_FORMAT = dwarf; 558 | ENABLE_STRICT_OBJC_MSGSEND = YES; 559 | ENABLE_TESTABILITY = YES; 560 | GCC_C_LANGUAGE_STANDARD = gnu11; 561 | GCC_DYNAMIC_NO_PIC = NO; 562 | GCC_NO_COMMON_BLOCKS = YES; 563 | GCC_OPTIMIZATION_LEVEL = 0; 564 | GCC_PREPROCESSOR_DEFINITIONS = ( 565 | "POD_CONFIGURATION_DEBUG=1", 566 | "DEBUG=1", 567 | "$(inherited)", 568 | ); 569 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 570 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 571 | GCC_WARN_UNDECLARED_SELECTOR = YES; 572 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 573 | GCC_WARN_UNUSED_FUNCTION = YES; 574 | GCC_WARN_UNUSED_VARIABLE = YES; 575 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 576 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 577 | MTL_FAST_MATH = YES; 578 | ONLY_ACTIVE_ARCH = YES; 579 | PRODUCT_NAME = "$(TARGET_NAME)"; 580 | STRIP_INSTALLED_PRODUCT = NO; 581 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 582 | SYMROOT = "${SRCROOT}/../build"; 583 | }; 584 | name = Debug; 585 | }; 586 | B16112C2E553A0CAA1F07C765415BFB7 /* Debug */ = { 587 | isa = XCBuildConfiguration; 588 | baseConfigurationReference = 04239285FD8E362D816F1B1D09001D65 /* Pods-Example.debug.xcconfig */; 589 | buildSettings = { 590 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 591 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 592 | CLANG_ENABLE_OBJC_WEAK = NO; 593 | CODE_SIGN_IDENTITY = "iPhone Developer"; 594 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 595 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 596 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 597 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 598 | MACH_O_TYPE = staticlib; 599 | MODULEMAP_FILE = "Target Support Files/Pods-Example/Pods-Example.modulemap"; 600 | OTHER_LDFLAGS = ""; 601 | OTHER_LIBTOOLFLAGS = ""; 602 | PODS_ROOT = "$(SRCROOT)"; 603 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 604 | SDKROOT = iphoneos; 605 | SKIP_INSTALL = YES; 606 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 607 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 608 | TARGETED_DEVICE_FAMILY = "1,2"; 609 | }; 610 | name = Debug; 611 | }; 612 | B751CA5B597BFC35A6C0287C65F9E2E1 /* Release */ = { 613 | isa = XCBuildConfiguration; 614 | buildSettings = { 615 | ALWAYS_SEARCH_USER_PATHS = NO; 616 | CLANG_ANALYZER_NONNULL = YES; 617 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 618 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 619 | CLANG_CXX_LIBRARY = "libc++"; 620 | CLANG_ENABLE_MODULES = YES; 621 | CLANG_ENABLE_OBJC_ARC = YES; 622 | CLANG_ENABLE_OBJC_WEAK = YES; 623 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 624 | CLANG_WARN_BOOL_CONVERSION = YES; 625 | CLANG_WARN_COMMA = YES; 626 | CLANG_WARN_CONSTANT_CONVERSION = YES; 627 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 628 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 629 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 630 | CLANG_WARN_EMPTY_BODY = YES; 631 | CLANG_WARN_ENUM_CONVERSION = YES; 632 | CLANG_WARN_INFINITE_RECURSION = YES; 633 | CLANG_WARN_INT_CONVERSION = YES; 634 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 635 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 636 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 637 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 638 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 639 | CLANG_WARN_STRICT_PROTOTYPES = YES; 640 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 641 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 642 | CLANG_WARN_UNREACHABLE_CODE = YES; 643 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 644 | CODE_SIGNING_ALLOWED = NO; 645 | CODE_SIGNING_REQUIRED = NO; 646 | COPY_PHASE_STRIP = NO; 647 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 648 | ENABLE_NS_ASSERTIONS = NO; 649 | ENABLE_STRICT_OBJC_MSGSEND = YES; 650 | GCC_C_LANGUAGE_STANDARD = gnu11; 651 | GCC_NO_COMMON_BLOCKS = YES; 652 | GCC_PREPROCESSOR_DEFINITIONS = ( 653 | "POD_CONFIGURATION_RELEASE=1", 654 | "$(inherited)", 655 | ); 656 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 657 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 658 | GCC_WARN_UNDECLARED_SELECTOR = YES; 659 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 660 | GCC_WARN_UNUSED_FUNCTION = YES; 661 | GCC_WARN_UNUSED_VARIABLE = YES; 662 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 663 | MTL_ENABLE_DEBUG_INFO = NO; 664 | MTL_FAST_MATH = YES; 665 | PRODUCT_NAME = "$(TARGET_NAME)"; 666 | STRIP_INSTALLED_PRODUCT = NO; 667 | SYMROOT = "${SRCROOT}/../build"; 668 | }; 669 | name = Release; 670 | }; 671 | E2165B3DF704A36E96294341C1490B5D /* Debug */ = { 672 | isa = XCBuildConfiguration; 673 | baseConfigurationReference = 2E8EC39680E13B51BA98DEFE401A39A3 /* Fluky.xcconfig */; 674 | buildSettings = { 675 | ARCHS = "$(ARCHS_STANDARD_64_BIT)"; 676 | CODE_SIGN_IDENTITY = "iPhone Developer"; 677 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 678 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 679 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 680 | GCC_PREFIX_HEADER = "Target Support Files/Fluky/Fluky-prefix.pch"; 681 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 682 | MODULEMAP_FILE = Headers/Public/Fluky/Fluky.modulemap; 683 | OTHER_LDFLAGS = ""; 684 | OTHER_LIBTOOLFLAGS = ""; 685 | PRIVATE_HEADERS_FOLDER_PATH = ""; 686 | PRODUCT_MODULE_NAME = Fluky; 687 | PRODUCT_NAME = Fluky; 688 | PUBLIC_HEADERS_FOLDER_PATH = ""; 689 | SDKROOT = iphoneos; 690 | SKIP_INSTALL = YES; 691 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 692 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 693 | SWIFT_VERSION = 4.2; 694 | TARGETED_DEVICE_FAMILY = "1,2"; 695 | }; 696 | name = Debug; 697 | }; 698 | /* End XCBuildConfiguration section */ 699 | 700 | /* Begin XCConfigurationList section */ 701 | 291E36940D9C0B6912A009D9D30880CC /* Build configuration list for PBXNativeTarget "Fluky" */ = { 702 | isa = XCConfigurationList; 703 | buildConfigurations = ( 704 | E2165B3DF704A36E96294341C1490B5D /* Debug */, 705 | 5660F8B818E5FCF62819FA3A19204966 /* Release */, 706 | ); 707 | defaultConfigurationIsVisible = 0; 708 | defaultConfigurationName = Release; 709 | }; 710 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 711 | isa = XCConfigurationList; 712 | buildConfigurations = ( 713 | 8C3D32AC054F4DBEE82EB2FD6A303D73 /* Debug */, 714 | B751CA5B597BFC35A6C0287C65F9E2E1 /* Release */, 715 | ); 716 | defaultConfigurationIsVisible = 0; 717 | defaultConfigurationName = Release; 718 | }; 719 | 76611F1FA1FC35E6D20DDEF6843C01E3 /* Build configuration list for PBXNativeTarget "Pods-Example" */ = { 720 | isa = XCConfigurationList; 721 | buildConfigurations = ( 722 | B16112C2E553A0CAA1F07C765415BFB7 /* Debug */, 723 | 4AD36337B694D9C71101134B1146F602 /* Release */, 724 | ); 725 | defaultConfigurationIsVisible = 0; 726 | defaultConfigurationName = Release; 727 | }; 728 | /* End XCConfigurationList section */ 729 | }; 730 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 731 | } 732 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Fluky/Fluky-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Fluky : NSObject 3 | @end 4 | @implementation PodsDummy_Fluky 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Fluky/Fluky-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/Fluky/Fluky-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "Fluky.h" 14 | 15 | FOUNDATION_EXPORT double FlukyVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char FlukyVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Fluky/Fluky.modulemap: -------------------------------------------------------------------------------- 1 | module Fluky { 2 | umbrella header "Fluky-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Fluky/Fluky.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Fluky 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Fluky" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -import-underlying-module -Xcc -fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## Fluky 5 | 6 | MIT License 7 | 8 | Copyright (c) 2018 Pedro Carrasco 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | Generated by CocoaPods - https://cocoapods.org 29 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 95 | else 96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 145 | wait 146 | fi 147 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 60 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 61 | ;; 62 | *.xib) 63 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 64 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 115 | else 116 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Fluky" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Fluky" 5 | OTHER_CFLAGS = $(inherited) -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/Fluky/Fluky.modulemap" -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Fluky" 6 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Fluky" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -Xcc -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/Fluky/Fluky.modulemap" 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 | SWIFT_INCLUDE_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Fluky" 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example.modulemap: -------------------------------------------------------------------------------- 1 | module Pods_Example { 2 | umbrella header "Pods-Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Fluky" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Fluky" 5 | OTHER_CFLAGS = $(inherited) -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/Fluky/Fluky.modulemap" -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Fluky" 6 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Fluky" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -Xcc -fmodule-map-file="${PODS_CONFIGURATION_BUILD_DIR}/Fluky/Fluky.modulemap" 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 | SWIFT_INCLUDE_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Fluky" 13 | -------------------------------------------------------------------------------- /Fluky.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.swift_version = "4.2" 3 | s.name = "Fluky" 4 | s.version = "1.0.0" 5 | s.summary = "🎲 Loading based on random icons" 6 | 7 | s.description = "Make every loading screen different with Fluky, your random loading screen inspired by PlayStation." 8 | 9 | s.homepage = "https://github.com/pedrommcarrasco/Fluky" 10 | s.license = { :type => 'MIT', :file => 'LICENSE' } 11 | 12 | s.author = "Pedro Carrasco" 13 | s.social_media_url = "http://twitter.com/pedrommcarrasco" 14 | 15 | s.platform = :ios, "9.0" 16 | s.source = { :git => "https://github.com/pedrommcarrasco/Fluky.git", :tag => s.version.to_s } 17 | 18 | s.source_files = "Fluky/Fluky/**/*" 19 | s.exclude_files = "Fluky/Fluky/*.plist" 20 | end 21 | -------------------------------------------------------------------------------- /Fluky/Fluky.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 536CFAE2217DF538000DDEAA /* Fluky.h in Headers */ = {isa = PBXBuildFile; fileRef = 536CFAE0217DF538000DDEAA /* Fluky.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 536CFAEA217DF704000DDEAA /* FlukyProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFAE9217DF704000DDEAA /* FlukyProtocol.swift */; }; 12 | 536CFAED217DF73A000DDEAA /* FlukyType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFAEC217DF73A000DDEAA /* FlukyType.swift */; }; 13 | 536CFAF0217DF79C000DDEAA /* Fluky.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFAEF217DF79C000DDEAA /* Fluky.swift */; }; 14 | 536CFAF3217DF7BA000DDEAA /* FlukyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFAF2217DF7BA000DDEAA /* FlukyView.swift */; }; 15 | 536CFAF6217DF875000DDEAA /* FlukyLinearView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFAF5217DF875000DDEAA /* FlukyLinearView.swift */; }; 16 | 536CFAFD217DFBE9000DDEAA /* Sequence+Transform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFAFC217DFBE9000DDEAA /* Sequence+Transform.swift */; }; 17 | 536CFAFF217E32A4000DDEAA /* Anchor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFAFE217E32A4000DDEAA /* Anchor.swift */; }; 18 | 536CFB01217E3336000DDEAA /* UIView+Add.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFB00217E3336000DDEAA /* UIView+Add.swift */; }; 19 | 536CFB03217E334B000DDEAA /* UIStackView+Add.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFB02217E334B000DDEAA /* UIStackView+Add.swift */; }; 20 | 536CFB05217E352E000DDEAA /* NSObject+Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFB04217E352E000DDEAA /* NSObject+Create.swift */; }; 21 | 536CFB0B217E35BE000DDEAA /* Duration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFB07217E35BE000DDEAA /* Duration.swift */; }; 22 | 536CFB0C217E35BE000DDEAA /* Damping.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFB08217E35BE000DDEAA /* Damping.swift */; }; 23 | 536CFB0D217E35BE000DDEAA /* Spacing.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFB09217E35BE000DDEAA /* Spacing.swift */; }; 24 | 536CFB0E217E35BE000DDEAA /* Spring.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536CFB0A217E35BE000DDEAA /* Spring.swift */; }; 25 | 53B3E2A1217F692E0084C1FA /* FlukyBoxView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B3E2A0217F692E0084C1FA /* FlukyBoxView.swift */; }; 26 | 53B3E2A4217F7B270084C1FA /* Calculator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B3E2A3217F7B270084C1FA /* Calculator.swift */; }; 27 | 53B3E2A6217F7C030084C1FA /* Array+Chunk.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B3E2A5217F7C030084C1FA /* Array+Chunk.swift */; }; 28 | 53B3E2A8217F7C770084C1FA /* FlukyImageView+Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B3E2A7217F7C770084C1FA /* FlukyImageView+Create.swift */; }; 29 | 53B3E2AA217F7CC20084C1FA /* UIStackView+Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B3E2A9217F7CC20084C1FA /* UIStackView+Create.swift */; }; 30 | 53B3E2AC217F7FBE0084C1FA /* FlukyProtocol+Animate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B3E2AB217F7FBE0084C1FA /* FlukyProtocol+Animate.swift */; }; 31 | 53B3E2AE217F84AC0084C1FA /* FlukyProtocol+Default.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B3E2AD217F84AC0084C1FA /* FlukyProtocol+Default.swift */; }; 32 | 53FEF5C2217F199200188E9C /* FlukySingleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53FEF5C1217F199200188E9C /* FlukySingleView.swift */; }; 33 | 53FEF5C9217F502800188E9C /* FlukyImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53FEF5C8217F502800188E9C /* FlukyImageView.swift */; }; 34 | /* End PBXBuildFile section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 536CFADD217DF538000DDEAA /* Fluky.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Fluky.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 536CFAE0217DF538000DDEAA /* Fluky.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Fluky.h; sourceTree = ""; }; 39 | 536CFAE1217DF538000DDEAA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 40 | 536CFAE9217DF704000DDEAA /* FlukyProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlukyProtocol.swift; sourceTree = ""; }; 41 | 536CFAEC217DF73A000DDEAA /* FlukyType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlukyType.swift; sourceTree = ""; }; 42 | 536CFAEF217DF79C000DDEAA /* Fluky.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Fluky.swift; sourceTree = ""; }; 43 | 536CFAF2217DF7BA000DDEAA /* FlukyView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlukyView.swift; sourceTree = ""; }; 44 | 536CFAF5217DF875000DDEAA /* FlukyLinearView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlukyLinearView.swift; sourceTree = ""; }; 45 | 536CFAFC217DFBE9000DDEAA /* Sequence+Transform.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Sequence+Transform.swift"; sourceTree = ""; }; 46 | 536CFAFE217E32A4000DDEAA /* Anchor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Anchor.swift; sourceTree = ""; }; 47 | 536CFB00217E3336000DDEAA /* UIView+Add.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIView+Add.swift"; sourceTree = ""; }; 48 | 536CFB02217E334B000DDEAA /* UIStackView+Add.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIStackView+Add.swift"; sourceTree = ""; }; 49 | 536CFB04217E352E000DDEAA /* NSObject+Create.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSObject+Create.swift"; sourceTree = ""; }; 50 | 536CFB07217E35BE000DDEAA /* Duration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Duration.swift; sourceTree = ""; }; 51 | 536CFB08217E35BE000DDEAA /* Damping.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Damping.swift; sourceTree = ""; }; 52 | 536CFB09217E35BE000DDEAA /* Spacing.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Spacing.swift; sourceTree = ""; }; 53 | 536CFB0A217E35BE000DDEAA /* Spring.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Spring.swift; sourceTree = ""; }; 54 | 53B3E2A0217F692E0084C1FA /* FlukyBoxView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlukyBoxView.swift; sourceTree = ""; }; 55 | 53B3E2A3217F7B270084C1FA /* Calculator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Calculator.swift; sourceTree = ""; }; 56 | 53B3E2A5217F7C030084C1FA /* Array+Chunk.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Array+Chunk.swift"; sourceTree = ""; }; 57 | 53B3E2A7217F7C770084C1FA /* FlukyImageView+Create.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FlukyImageView+Create.swift"; sourceTree = ""; }; 58 | 53B3E2A9217F7CC20084C1FA /* UIStackView+Create.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIStackView+Create.swift"; sourceTree = ""; }; 59 | 53B3E2AB217F7FBE0084C1FA /* FlukyProtocol+Animate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FlukyProtocol+Animate.swift"; sourceTree = ""; }; 60 | 53B3E2AD217F84AC0084C1FA /* FlukyProtocol+Default.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FlukyProtocol+Default.swift"; sourceTree = ""; }; 61 | 53FEF5C1217F199200188E9C /* FlukySingleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlukySingleView.swift; sourceTree = ""; }; 62 | 53FEF5C8217F502800188E9C /* FlukyImageView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlukyImageView.swift; sourceTree = ""; }; 63 | /* End PBXFileReference section */ 64 | 65 | /* Begin PBXFrameworksBuildPhase section */ 66 | 536CFADA217DF538000DDEAA /* Frameworks */ = { 67 | isa = PBXFrameworksBuildPhase; 68 | buildActionMask = 2147483647; 69 | files = ( 70 | ); 71 | runOnlyForDeploymentPostprocessing = 0; 72 | }; 73 | /* End PBXFrameworksBuildPhase section */ 74 | 75 | /* Begin PBXGroup section */ 76 | 536CFAD3217DF538000DDEAA = { 77 | isa = PBXGroup; 78 | children = ( 79 | 536CFADF217DF538000DDEAA /* Fluky */, 80 | 536CFADE217DF538000DDEAA /* Products */, 81 | ); 82 | sourceTree = ""; 83 | }; 84 | 536CFADE217DF538000DDEAA /* Products */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 536CFADD217DF538000DDEAA /* Fluky.framework */, 88 | ); 89 | name = Products; 90 | sourceTree = ""; 91 | }; 92 | 536CFADF217DF538000DDEAA /* Fluky */ = { 93 | isa = PBXGroup; 94 | children = ( 95 | 53B3E2A2217F7B1B0084C1FA /* Helpers */, 96 | 536CFAEB217DF72E000DDEAA /* Enumerations */, 97 | 536CFAF7217DF9AA000DDEAA /* Extensions */, 98 | 536CFAEE217DF792000DDEAA /* Factory */, 99 | 536CFAE8217DF6E4000DDEAA /* Protocols */, 100 | 536CFB06217E35A7000DDEAA /* Style */, 101 | 536CFAF1217DF7B1000DDEAA /* Typealias */, 102 | 536CFAF4217DF869000DDEAA /* Views */, 103 | 536CFAE0217DF538000DDEAA /* Fluky.h */, 104 | 536CFAE1217DF538000DDEAA /* Info.plist */, 105 | ); 106 | path = Fluky; 107 | sourceTree = ""; 108 | }; 109 | 536CFAE8217DF6E4000DDEAA /* Protocols */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 536CFAE9217DF704000DDEAA /* FlukyProtocol.swift */, 113 | ); 114 | path = Protocols; 115 | sourceTree = ""; 116 | }; 117 | 536CFAEB217DF72E000DDEAA /* Enumerations */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 536CFAEC217DF73A000DDEAA /* FlukyType.swift */, 121 | ); 122 | path = Enumerations; 123 | sourceTree = ""; 124 | }; 125 | 536CFAEE217DF792000DDEAA /* Factory */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 536CFAEF217DF79C000DDEAA /* Fluky.swift */, 129 | ); 130 | path = Factory; 131 | sourceTree = ""; 132 | }; 133 | 536CFAF1217DF7B1000DDEAA /* Typealias */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 536CFAF2217DF7BA000DDEAA /* FlukyView.swift */, 137 | ); 138 | path = Typealias; 139 | sourceTree = ""; 140 | }; 141 | 536CFAF4217DF869000DDEAA /* Views */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 53FEF5C1217F199200188E9C /* FlukySingleView.swift */, 145 | 536CFAF5217DF875000DDEAA /* FlukyLinearView.swift */, 146 | 53B3E2A0217F692E0084C1FA /* FlukyBoxView.swift */, 147 | 53FEF5C8217F502800188E9C /* FlukyImageView.swift */, 148 | ); 149 | path = Views; 150 | sourceTree = ""; 151 | }; 152 | 536CFAF7217DF9AA000DDEAA /* Extensions */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 536CFAFE217E32A4000DDEAA /* Anchor.swift */, 156 | 536CFB04217E352E000DDEAA /* NSObject+Create.swift */, 157 | 536CFAFC217DFBE9000DDEAA /* Sequence+Transform.swift */, 158 | 536CFB00217E3336000DDEAA /* UIView+Add.swift */, 159 | 536CFB02217E334B000DDEAA /* UIStackView+Add.swift */, 160 | 53B3E2A5217F7C030084C1FA /* Array+Chunk.swift */, 161 | 53B3E2A7217F7C770084C1FA /* FlukyImageView+Create.swift */, 162 | 53B3E2A9217F7CC20084C1FA /* UIStackView+Create.swift */, 163 | 53B3E2AB217F7FBE0084C1FA /* FlukyProtocol+Animate.swift */, 164 | 53B3E2AD217F84AC0084C1FA /* FlukyProtocol+Default.swift */, 165 | ); 166 | path = Extensions; 167 | sourceTree = ""; 168 | }; 169 | 536CFB06217E35A7000DDEAA /* Style */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | 536CFB08217E35BE000DDEAA /* Damping.swift */, 173 | 536CFB07217E35BE000DDEAA /* Duration.swift */, 174 | 536CFB09217E35BE000DDEAA /* Spacing.swift */, 175 | 536CFB0A217E35BE000DDEAA /* Spring.swift */, 176 | ); 177 | path = Style; 178 | sourceTree = ""; 179 | }; 180 | 53B3E2A2217F7B1B0084C1FA /* Helpers */ = { 181 | isa = PBXGroup; 182 | children = ( 183 | 53B3E2A3217F7B270084C1FA /* Calculator.swift */, 184 | ); 185 | path = Helpers; 186 | sourceTree = ""; 187 | }; 188 | /* End PBXGroup section */ 189 | 190 | /* Begin PBXHeadersBuildPhase section */ 191 | 536CFAD8217DF538000DDEAA /* Headers */ = { 192 | isa = PBXHeadersBuildPhase; 193 | buildActionMask = 2147483647; 194 | files = ( 195 | 536CFAE2217DF538000DDEAA /* Fluky.h in Headers */, 196 | ); 197 | runOnlyForDeploymentPostprocessing = 0; 198 | }; 199 | /* End PBXHeadersBuildPhase section */ 200 | 201 | /* Begin PBXNativeTarget section */ 202 | 536CFADC217DF538000DDEAA /* Fluky */ = { 203 | isa = PBXNativeTarget; 204 | buildConfigurationList = 536CFAE5217DF538000DDEAA /* Build configuration list for PBXNativeTarget "Fluky" */; 205 | buildPhases = ( 206 | 536CFAD8217DF538000DDEAA /* Headers */, 207 | 536CFAD9217DF538000DDEAA /* Sources */, 208 | 536CFADA217DF538000DDEAA /* Frameworks */, 209 | 536CFADB217DF538000DDEAA /* Resources */, 210 | ); 211 | buildRules = ( 212 | ); 213 | dependencies = ( 214 | ); 215 | name = Fluky; 216 | productName = Fluky; 217 | productReference = 536CFADD217DF538000DDEAA /* Fluky.framework */; 218 | productType = "com.apple.product-type.framework"; 219 | }; 220 | /* End PBXNativeTarget section */ 221 | 222 | /* Begin PBXProject section */ 223 | 536CFAD4217DF538000DDEAA /* Project object */ = { 224 | isa = PBXProject; 225 | attributes = { 226 | LastUpgradeCheck = 1000; 227 | ORGANIZATIONNAME = "Pedro Carrasco"; 228 | TargetAttributes = { 229 | 536CFADC217DF538000DDEAA = { 230 | CreatedOnToolsVersion = 10.0; 231 | LastSwiftMigration = 1000; 232 | }; 233 | }; 234 | }; 235 | buildConfigurationList = 536CFAD7217DF538000DDEAA /* Build configuration list for PBXProject "Fluky" */; 236 | compatibilityVersion = "Xcode 9.3"; 237 | developmentRegion = en; 238 | hasScannedForEncodings = 0; 239 | knownRegions = ( 240 | en, 241 | ); 242 | mainGroup = 536CFAD3217DF538000DDEAA; 243 | productRefGroup = 536CFADE217DF538000DDEAA /* Products */; 244 | projectDirPath = ""; 245 | projectRoot = ""; 246 | targets = ( 247 | 536CFADC217DF538000DDEAA /* Fluky */, 248 | ); 249 | }; 250 | /* End PBXProject section */ 251 | 252 | /* Begin PBXResourcesBuildPhase section */ 253 | 536CFADB217DF538000DDEAA /* Resources */ = { 254 | isa = PBXResourcesBuildPhase; 255 | buildActionMask = 2147483647; 256 | files = ( 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | /* End PBXResourcesBuildPhase section */ 261 | 262 | /* Begin PBXSourcesBuildPhase section */ 263 | 536CFAD9217DF538000DDEAA /* Sources */ = { 264 | isa = PBXSourcesBuildPhase; 265 | buildActionMask = 2147483647; 266 | files = ( 267 | 53B3E2A1217F692E0084C1FA /* FlukyBoxView.swift in Sources */, 268 | 53B3E2AC217F7FBE0084C1FA /* FlukyProtocol+Animate.swift in Sources */, 269 | 53B3E2AA217F7CC20084C1FA /* UIStackView+Create.swift in Sources */, 270 | 536CFB03217E334B000DDEAA /* UIStackView+Add.swift in Sources */, 271 | 53B3E2A4217F7B270084C1FA /* Calculator.swift in Sources */, 272 | 53FEF5C2217F199200188E9C /* FlukySingleView.swift in Sources */, 273 | 53B3E2A8217F7C770084C1FA /* FlukyImageView+Create.swift in Sources */, 274 | 536CFAEA217DF704000DDEAA /* FlukyProtocol.swift in Sources */, 275 | 536CFB0D217E35BE000DDEAA /* Spacing.swift in Sources */, 276 | 536CFB0C217E35BE000DDEAA /* Damping.swift in Sources */, 277 | 536CFAF6217DF875000DDEAA /* FlukyLinearView.swift in Sources */, 278 | 53B3E2A6217F7C030084C1FA /* Array+Chunk.swift in Sources */, 279 | 536CFAF3217DF7BA000DDEAA /* FlukyView.swift in Sources */, 280 | 536CFB0B217E35BE000DDEAA /* Duration.swift in Sources */, 281 | 536CFAFD217DFBE9000DDEAA /* Sequence+Transform.swift in Sources */, 282 | 536CFB01217E3336000DDEAA /* UIView+Add.swift in Sources */, 283 | 536CFB0E217E35BE000DDEAA /* Spring.swift in Sources */, 284 | 536CFAED217DF73A000DDEAA /* FlukyType.swift in Sources */, 285 | 53B3E2AE217F84AC0084C1FA /* FlukyProtocol+Default.swift in Sources */, 286 | 53FEF5C9217F502800188E9C /* FlukyImageView.swift in Sources */, 287 | 536CFAFF217E32A4000DDEAA /* Anchor.swift in Sources */, 288 | 536CFAF0217DF79C000DDEAA /* Fluky.swift in Sources */, 289 | 536CFB05217E352E000DDEAA /* NSObject+Create.swift in Sources */, 290 | ); 291 | runOnlyForDeploymentPostprocessing = 0; 292 | }; 293 | /* End PBXSourcesBuildPhase section */ 294 | 295 | /* Begin XCBuildConfiguration section */ 296 | 536CFAE3217DF538000DDEAA /* Debug */ = { 297 | isa = XCBuildConfiguration; 298 | buildSettings = { 299 | ALWAYS_SEARCH_USER_PATHS = NO; 300 | CLANG_ANALYZER_NONNULL = YES; 301 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 302 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 303 | CLANG_CXX_LIBRARY = "libc++"; 304 | CLANG_ENABLE_MODULES = YES; 305 | CLANG_ENABLE_OBJC_ARC = YES; 306 | CLANG_ENABLE_OBJC_WEAK = YES; 307 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 308 | CLANG_WARN_BOOL_CONVERSION = YES; 309 | CLANG_WARN_COMMA = YES; 310 | CLANG_WARN_CONSTANT_CONVERSION = YES; 311 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 312 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 313 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 314 | CLANG_WARN_EMPTY_BODY = YES; 315 | CLANG_WARN_ENUM_CONVERSION = YES; 316 | CLANG_WARN_INFINITE_RECURSION = YES; 317 | CLANG_WARN_INT_CONVERSION = YES; 318 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 319 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 320 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 321 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 322 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 323 | CLANG_WARN_STRICT_PROTOTYPES = YES; 324 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 325 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 326 | CLANG_WARN_UNREACHABLE_CODE = YES; 327 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 328 | CODE_SIGN_IDENTITY = "iPhone Developer"; 329 | COPY_PHASE_STRIP = NO; 330 | CURRENT_PROJECT_VERSION = 1; 331 | DEBUG_INFORMATION_FORMAT = dwarf; 332 | ENABLE_STRICT_OBJC_MSGSEND = YES; 333 | ENABLE_TESTABILITY = YES; 334 | GCC_C_LANGUAGE_STANDARD = gnu11; 335 | GCC_DYNAMIC_NO_PIC = NO; 336 | GCC_NO_COMMON_BLOCKS = YES; 337 | GCC_OPTIMIZATION_LEVEL = 0; 338 | GCC_PREPROCESSOR_DEFINITIONS = ( 339 | "DEBUG=1", 340 | "$(inherited)", 341 | ); 342 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 343 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 344 | GCC_WARN_UNDECLARED_SELECTOR = YES; 345 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 346 | GCC_WARN_UNUSED_FUNCTION = YES; 347 | GCC_WARN_UNUSED_VARIABLE = YES; 348 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 349 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 350 | MTL_FAST_MATH = YES; 351 | ONLY_ACTIVE_ARCH = YES; 352 | SDKROOT = iphoneos; 353 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 354 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 355 | SWIFT_VERSION = 4.2; 356 | VERSIONING_SYSTEM = "apple-generic"; 357 | VERSION_INFO_PREFIX = ""; 358 | }; 359 | name = Debug; 360 | }; 361 | 536CFAE4217DF538000DDEAA /* Release */ = { 362 | isa = XCBuildConfiguration; 363 | buildSettings = { 364 | ALWAYS_SEARCH_USER_PATHS = NO; 365 | CLANG_ANALYZER_NONNULL = YES; 366 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 367 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 368 | CLANG_CXX_LIBRARY = "libc++"; 369 | CLANG_ENABLE_MODULES = YES; 370 | CLANG_ENABLE_OBJC_ARC = YES; 371 | CLANG_ENABLE_OBJC_WEAK = YES; 372 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 373 | CLANG_WARN_BOOL_CONVERSION = YES; 374 | CLANG_WARN_COMMA = YES; 375 | CLANG_WARN_CONSTANT_CONVERSION = YES; 376 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 377 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 378 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 379 | CLANG_WARN_EMPTY_BODY = YES; 380 | CLANG_WARN_ENUM_CONVERSION = YES; 381 | CLANG_WARN_INFINITE_RECURSION = YES; 382 | CLANG_WARN_INT_CONVERSION = YES; 383 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 384 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 385 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 386 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 387 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 388 | CLANG_WARN_STRICT_PROTOTYPES = YES; 389 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 390 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 391 | CLANG_WARN_UNREACHABLE_CODE = YES; 392 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 393 | CODE_SIGN_IDENTITY = "iPhone Developer"; 394 | COPY_PHASE_STRIP = NO; 395 | CURRENT_PROJECT_VERSION = 1; 396 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 397 | ENABLE_NS_ASSERTIONS = NO; 398 | ENABLE_STRICT_OBJC_MSGSEND = YES; 399 | GCC_C_LANGUAGE_STANDARD = gnu11; 400 | GCC_NO_COMMON_BLOCKS = YES; 401 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 402 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 403 | GCC_WARN_UNDECLARED_SELECTOR = YES; 404 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 405 | GCC_WARN_UNUSED_FUNCTION = YES; 406 | GCC_WARN_UNUSED_VARIABLE = YES; 407 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 408 | MTL_ENABLE_DEBUG_INFO = NO; 409 | MTL_FAST_MATH = YES; 410 | SDKROOT = iphoneos; 411 | SWIFT_COMPILATION_MODE = wholemodule; 412 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 413 | SWIFT_VERSION = 4.2; 414 | VALIDATE_PRODUCT = YES; 415 | VERSIONING_SYSTEM = "apple-generic"; 416 | VERSION_INFO_PREFIX = ""; 417 | }; 418 | name = Release; 419 | }; 420 | 536CFAE6217DF538000DDEAA /* Debug */ = { 421 | isa = XCBuildConfiguration; 422 | buildSettings = { 423 | CLANG_ENABLE_MODULES = YES; 424 | CODE_SIGN_IDENTITY = ""; 425 | CODE_SIGN_STYLE = Automatic; 426 | DEFINES_MODULE = YES; 427 | DYLIB_COMPATIBILITY_VERSION = 1; 428 | DYLIB_CURRENT_VERSION = 1; 429 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 430 | INFOPLIST_FILE = Fluky/Info.plist; 431 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 432 | LD_RUNPATH_SEARCH_PATHS = ( 433 | "$(inherited)", 434 | "@executable_path/Frameworks", 435 | "@loader_path/Frameworks", 436 | ); 437 | PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Fluky; 438 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 439 | SKIP_INSTALL = YES; 440 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 441 | SWIFT_VERSION = 4.2; 442 | TARGETED_DEVICE_FAMILY = "1,2"; 443 | }; 444 | name = Debug; 445 | }; 446 | 536CFAE7217DF538000DDEAA /* Release */ = { 447 | isa = XCBuildConfiguration; 448 | buildSettings = { 449 | CLANG_ENABLE_MODULES = YES; 450 | CODE_SIGN_IDENTITY = ""; 451 | CODE_SIGN_STYLE = Automatic; 452 | DEFINES_MODULE = YES; 453 | DYLIB_COMPATIBILITY_VERSION = 1; 454 | DYLIB_CURRENT_VERSION = 1; 455 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 456 | INFOPLIST_FILE = Fluky/Info.plist; 457 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 458 | LD_RUNPATH_SEARCH_PATHS = ( 459 | "$(inherited)", 460 | "@executable_path/Frameworks", 461 | "@loader_path/Frameworks", 462 | ); 463 | PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Fluky; 464 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 465 | SKIP_INSTALL = YES; 466 | SWIFT_VERSION = 4.2; 467 | TARGETED_DEVICE_FAMILY = "1,2"; 468 | }; 469 | name = Release; 470 | }; 471 | /* End XCBuildConfiguration section */ 472 | 473 | /* Begin XCConfigurationList section */ 474 | 536CFAD7217DF538000DDEAA /* Build configuration list for PBXProject "Fluky" */ = { 475 | isa = XCConfigurationList; 476 | buildConfigurations = ( 477 | 536CFAE3217DF538000DDEAA /* Debug */, 478 | 536CFAE4217DF538000DDEAA /* Release */, 479 | ); 480 | defaultConfigurationIsVisible = 0; 481 | defaultConfigurationName = Release; 482 | }; 483 | 536CFAE5217DF538000DDEAA /* Build configuration list for PBXNativeTarget "Fluky" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | 536CFAE6217DF538000DDEAA /* Debug */, 487 | 536CFAE7217DF538000DDEAA /* Release */, 488 | ); 489 | defaultConfigurationIsVisible = 0; 490 | defaultConfigurationName = Release; 491 | }; 492 | /* End XCConfigurationList section */ 493 | }; 494 | rootObject = 536CFAD4217DF538000DDEAA /* Project object */; 495 | } 496 | -------------------------------------------------------------------------------- /Fluky/Fluky.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Fluky/Fluky.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Fluky/Fluky/Enumerations/FlukyType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FlukyType.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 22/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | // MARK: - FlukyType 12 | public enum FlukyType { 13 | 14 | case single 15 | case linear 16 | case box 17 | } 18 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/Anchor.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Anchor.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 07/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @objc extension NSLayoutAnchor { 12 | 13 | @discardableResult 14 | func constrain(_ relation: NSLayoutConstraint.Relation = .equal, 15 | to anchor: NSLayoutAnchor, 16 | with constant: CGFloat = 0.0, 17 | prioritizeAs priority: UILayoutPriority = .required, 18 | isActive: Bool = true) -> NSLayoutConstraint { 19 | 20 | var constraint: NSLayoutConstraint 21 | 22 | switch relation { 23 | case .equal: 24 | constraint = self.constraint(equalTo: anchor, constant: constant) 25 | 26 | case .greaterThanOrEqual: 27 | constraint = self.constraint(greaterThanOrEqualTo: anchor, constant: constant) 28 | 29 | case .lessThanOrEqual: 30 | constraint = self.constraint(lessThanOrEqualTo: anchor, constant: constant) 31 | @unknown default: 32 | fatalError("Case not implemented") 33 | } 34 | 35 | constraint.set(priority: priority, isActive: isActive) 36 | 37 | return constraint 38 | } 39 | } 40 | 41 | extension NSLayoutDimension { 42 | 43 | @discardableResult 44 | func constrain(_ relation: NSLayoutConstraint.Relation = .equal, 45 | to constant: CGFloat = 0.0, 46 | prioritizeAs priority: UILayoutPriority = .required, 47 | isActive: Bool = true) -> NSLayoutConstraint { 48 | 49 | var constraint: NSLayoutConstraint 50 | 51 | switch relation { 52 | case .equal: 53 | constraint = self.constraint(equalToConstant: constant) 54 | 55 | case .greaterThanOrEqual: 56 | constraint = self.constraint(greaterThanOrEqualToConstant: constant) 57 | 58 | case .lessThanOrEqual: 59 | constraint = self.constraint(lessThanOrEqualToConstant: constant) 60 | @unknown default: 61 | fatalError("Case not implemented") 62 | } 63 | 64 | constraint.set(priority: priority, isActive: isActive) 65 | 66 | return constraint 67 | } 68 | 69 | @discardableResult 70 | func constrain(_ relation: NSLayoutConstraint.Relation = .equal, 71 | to anchor: NSLayoutDimension, 72 | with constant: CGFloat = 0.0, 73 | multiplyBy multiplier: CGFloat = 1.0, 74 | prioritizeAs priority: UILayoutPriority = .required, 75 | isActive: Bool = true) -> NSLayoutConstraint { 76 | 77 | var constraint: NSLayoutConstraint 78 | 79 | switch relation { 80 | case .equal: 81 | constraint = self.constraint(equalTo: anchor, multiplier: multiplier, constant: constant) 82 | 83 | case .greaterThanOrEqual: 84 | constraint = self.constraint(greaterThanOrEqualTo: anchor, multiplier: multiplier, constant: constant) 85 | 86 | case .lessThanOrEqual: 87 | constraint = self.constraint(lessThanOrEqualTo: anchor, multiplier: multiplier, constant: constant) 88 | @unknown default: 89 | fatalError("Case not implemented") 90 | } 91 | 92 | constraint.set(priority: priority, isActive: isActive) 93 | 94 | return constraint 95 | } 96 | } 97 | 98 | fileprivate extension NSLayoutConstraint { 99 | 100 | func set(priority: UILayoutPriority, isActive: Bool) { 101 | 102 | self.priority = priority 103 | self.isActive = isActive 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/Array+Chunk.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Array+Chunk.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 23/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | // MARK: - Chunk 12 | extension Array { 13 | 14 | func chunk(into size: Int) -> [[Element]] { 15 | 16 | return stride(from: 0, to: count, by: size).map { 17 | Array(self[$0 ..< Swift.min($0 + size, count)]) 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/FlukyImageView+Create.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FlukyImageView+Create.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 23/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Create 12 | extension FluckyImageView { 13 | 14 | static func create() -> FluckyImageView { 15 | 16 | let imageView = FluckyImageView() 17 | imageView.contentMode = .scaleAspectFit 18 | 19 | return imageView 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/FlukyProtocol+Animate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FlukyProtocol+Animate.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 23/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Animate 12 | extension FlukyProtocol where Self: UIView { 13 | 14 | func animate() { 15 | 16 | imageViews.forEach { imageView in 17 | 18 | guard let index = imageViews.firstIndex(of: imageView) else { return } 19 | 20 | DispatchQueue.main.asyncAfter(deadline: Calculator.delay(for: index), 21 | execute: { imageView.animate(with: self.images) }) 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/FlukyProtocol+Default.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FlukyProtocol+Default.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 23/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Default 12 | extension FlukyProtocol where Self: UIView { 13 | 14 | func start() { 15 | 16 | animate() 17 | } 18 | 19 | func stop() { 20 | 21 | imageViews.forEach { $0.autoRepeat = false } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/NSObject+Create.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+Create.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 12/09/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | // MARK: - Create 12 | extension NSObject { 13 | 14 | static func create(_ setup: ((T) -> Void)) -> T where T: NSObject { 15 | 16 | let obj = T() 17 | setup(obj) 18 | return obj 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/Sequence+Transform.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Sequence+Transform.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 22/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | // MARK: - Transform 12 | extension Sequence { 13 | 14 | func transform(into transform: () -> T) -> [T] { 15 | 16 | return self.map { _ in return transform() } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/UIStackView+Add.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIStackView+Add.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 22/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Add 12 | extension UIStackView { 13 | 14 | func addArrangedSubviews(_ views: UIView ...) { 15 | 16 | views.forEach { 17 | $0.translatesAutoresizingMaskIntoConstraints = false 18 | self.addArrangedSubview($0) 19 | } 20 | } 21 | 22 | func addArrangedSubviews(_ views: [UIView]) { 23 | 24 | views.forEach { 25 | $0.translatesAutoresizingMaskIntoConstraints = false 26 | self.addArrangedSubview($0) 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/UIStackView+Create.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIStackView+Create.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 23/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Create 12 | extension UIStackView { 13 | 14 | static func create(_ axis: NSLayoutConstraint.Axis = .horizontal) -> UIStackView { 15 | 16 | let stackView = UIStackView() 17 | stackView.axis = axis 18 | stackView.spacing = Spacing.S 19 | 20 | return stackView 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Fluky/Fluky/Extensions/UIView+Add.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Add.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 22/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Add 12 | extension UIView { 13 | 14 | func addSubviews(_ views: UIView ...) { 15 | 16 | views.forEach { 17 | $0.translatesAutoresizingMaskIntoConstraints = false 18 | self.addSubview($0) 19 | } 20 | } 21 | 22 | func addSubviews(_ views: [UIView]) { 23 | 24 | views.forEach { 25 | $0.translatesAutoresizingMaskIntoConstraints = false 26 | self.addSubview($0) 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Fluky/Fluky/Factory/Fluky.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Fluky.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 22/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Fluky 12 | public struct Fluky { 13 | 14 | // MARK: Public Static Functions 15 | public static func view(as type: FlukyType, 16 | with images: [UIImage], 17 | size: CGFloat = 30.0) -> FlukyView { 18 | switch type { 19 | case .single: return FlukySingleView(images: images, size: size) 20 | case .linear: return FlukyLinearView(images: images, size: size) 21 | case .box: return FlukyBoxView(images: images, size: size) 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Fluky/Fluky/Fluky.h: -------------------------------------------------------------------------------- 1 | // 2 | // Fluky.h 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 22/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for Fluky. 12 | FOUNDATION_EXPORT double FlukyVersionNumber; 13 | 14 | //! Project version string for Fluky. 15 | FOUNDATION_EXPORT const unsigned char FlukyVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /Fluky/Fluky/Helpers/Calculator.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Calculator.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 23/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | // MARK: - Calculator 12 | struct Calculator { 13 | 14 | // MARK: Constant 15 | private enum Constant { 16 | 17 | static let delay = 0.15 18 | } 19 | } 20 | 21 | // MARK: - Internal Functions 22 | extension Calculator { 23 | 24 | static func safeSquare(of number: Int) -> Int { 25 | 26 | return Int(ceil(sqrt(Double(number)))) 27 | } 28 | 29 | static func delay(for index: Int) -> DispatchTime { 30 | 31 | return DispatchTime.now() + (Constant.delay * Double(index)) 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Fluky/Fluky/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 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 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | 22 | 23 | -------------------------------------------------------------------------------- /Fluky/Fluky/Protocols/FlukyProtocol.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FlukyProtocol.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 22/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: FlukyProtocol 12 | public protocol FlukyProtocol { 13 | 14 | // MARK: Typealias 15 | typealias Static = Self 16 | 17 | // MARK: Properties 18 | var images: [UIImage] { get } 19 | var imageViews: [FluckyImageView] { get } 20 | 21 | // MARK: Functions - Animation Interface 22 | func start() 23 | func stop() 24 | } 25 | -------------------------------------------------------------------------------- /Fluky/Fluky/Style/Damping.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Damping.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 13/08/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Damping 12 | enum Damping { 13 | 14 | static let S: CGFloat = 0.3 15 | static let M: CGFloat = 0.5 16 | static let L: CGFloat = 0.7 17 | } 18 | -------------------------------------------------------------------------------- /Fluky/Fluky/Style/Duration.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Duration.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 13/08/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | // MARK: - Duration 12 | enum Duration { 13 | 14 | static let S = 0.33 15 | static let M = 0.66 16 | static let L = 1.0 17 | } 18 | -------------------------------------------------------------------------------- /Fluky/Fluky/Style/Spacing.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Spacing.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 11/08/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Spacing 12 | enum Spacing { 13 | 14 | static let L: CGFloat = 12.0 15 | static let M: CGFloat = 8.0 16 | static let S: CGFloat = 4.0 17 | } 18 | -------------------------------------------------------------------------------- /Fluky/Fluky/Style/Spring.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Spring.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 13/08/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - Spring 12 | enum Spring { 13 | 14 | static let Z: CGFloat = 0.0 15 | static let S: CGFloat = 0.3 16 | static let M: CGFloat = 0.5 17 | static let L: CGFloat = 0.7 18 | } 19 | -------------------------------------------------------------------------------- /Fluky/Fluky/Typealias/FlukyView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Fluky.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 22/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public typealias FlukyView = (FlukyProtocol & UIView) 12 | -------------------------------------------------------------------------------- /Fluky/Fluky/Views/FlukyBoxView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FlukyBoxView.swift 3 | // Fluky 4 | // 5 | // Created by Pedro Carrasco on 23/10/2018. 6 | // Copyright © 2018 Pedro Carrasco. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | // MARK: - FlukyBoxView 12 | final class FlukyBoxView: FlukyView { 13 | 14 | // MARK: Outlets 15 | let imageViews: [FluckyImageView] 16 | private let stackViews: [UIStackView] 17 | private let containerStackView: UIStackView = .create { 18 | $0.axis = .vertical 19 | $0.distribution = .equalCentering 20 | $0.alignment = .center 21 | $0.spacing = Spacing.S 22 | } 23 | 24 | // MARK: Properties 25 | let images: [UIImage] 26 | 27 | // MARK: Private Properties 28 | private let chunkCount: Int 29 | 30 | // MARK: Initializer 31 | init(images: [UIImage], size: CGFloat) { 32 | 33 | self.images = images 34 | self.chunkCount = Calculator.safeSquare(of: images.count) 35 | self.imageViews = images.transform(into: { return FluckyImageView.create() }) 36 | self.stackViews = (0.. **Fluky** *(/ˈfluːki/)*, *adjective* 4 | > 5 | > "obtained or achieved more by chance than skill" 6 | 7 | Make every loading screen different with Fluky, your random loading screen inspired by PlayStation. 8 | 9 | [![CocoaPods](https://img.shields.io/cocoapods/v/Fluky.svg)](https://cocoapods.org/pods/Fluky) 10 | [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) 11 | [![apm](https://img.shields.io/apm/l/vim-mode.svg)](https://github.com/pedrommcarrasco/Fluky/blob/master/LICENSE) 12 | 13 | ## Installation 📦 14 | 15 | ### Cocoapods 16 | 17 | Fluky is available through [CocoaPods](https://cocoapods.org/pods/Fluky). To do so, add the following line to your PodFile: 18 | 19 | ```swift 20 | pod 'Fluky' 21 | ``` 22 | And then run the following command in terminal: 23 | 24 | ```swift 25 | pod install 26 | ``` 27 | 28 | ### Carthage 29 | Add this to your Cartfile: 30 | 31 | ```swift 32 | github "pedrommcarrasco/Fluky" 33 | ``` 34 | 35 | And then run the following command in terminal: 36 | 37 | ```swift 38 | carthage update 39 | ``` 40 | 41 | ### Swift Package Manager 42 | In your app target click `+` in `Frameworks, Libraries, and Embedded Content`, then `Add Other...`, `Add Package Dependency...`, put repository url `https://github.com/pedrommcarrasco/Fluky.git` 43 | 44 | ## Styles 💅 45 | 46 | | Single | Linear | Box | 47 | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | 48 | | ![](https://github.com/pedrommcarrasco/Fluky/blob/master/Design/single.gif?raw=true) | ![](https://github.com/pedrommcarrasco/Fluky/blob/master/Design/linear.gif?raw=true) | ![](https://github.com/pedrommcarrasco/Fluky/blob/master/Design/box.gif?raw=true) | 49 | 50 | * ☝️ *This background is not part of Fluky* 51 | 52 | ## Usage Example ⌨️ 53 | 54 | After installing Fluky, you should start by importing the framework: 55 | 56 | ```swift 57 | import Fluky 58 | ``` 59 | 60 | Once imported, you can start using Fluky to create randomized icon based loading sceens. Bellow, you'll be able to see a working example. First, we start by creating a `FlukyView`: 61 | 62 | ```swift 63 | let flukyView = Fluky.view(as: .single, with: images) // images -> array of icons you want to display 64 | // size has a default parameter of 30.0 65 | ``` 66 | 67 | Once you apply your constraints, to start animating you just need to do: 68 | 69 | ```swift 70 | flukyView.start() 71 | ``` 72 | 73 | In order to stop you just do: 74 | 75 | ```swift 76 | flukyView.stop() 77 | ``` 78 | 79 | With the goal of being as customizable as possible, Fluky only creates a `FlukyView` responsible for managing the icons and its animations. With this in mind, it should be added to your view hierarchy where you can customize `backgroundColor`, add a `UILabel` & others. 80 | 81 | ## Sample Project 📲 82 | 83 | There's a sample project in this repository called [Example](https://github.com/pedrommcarrasco/Fluky/tree/master/Example) with some examples. 84 | 85 | ## Support Fluky ❤️ 86 | 87 | Hello there 👋 88 | 89 | I’m Pedro, a Portuguese iOS Engineer since February 2017. I’m an avid OSS enthusiast and contributor - help by sharing, learn by what’s shared. 90 | 91 | I've built and open-sourced multiple frameworks and applications, including **[Brooklyn](https://github.com/pedrommcarrasco/Brooklyn)** and **[CocoaHub](https://cocoahub.app)**. 92 | 93 | I'm also a conference and meetup organizer, being part of **[SwiftAveiro](https://swiftaveiro.xyz)** and **[CocoaHeads Porto](https://www.meetup.com/CocoaHeads-Porto/)**. 94 | 95 | If you enjoy my work and would like to help me continue it, please consider: 96 | * https://github.com/users/pedrommcarrasco/sponsorship 97 | * https://www.buymeacoffee.com/pedrommcarrasco 98 | * https://www.paypal.me/pedrommcarrasco 99 | 100 | ## Contributing 🙌 101 | 102 | Feel free to contribute to this project by providing [ideas](https://github.com/pedrommcarrasco/Fluky/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) or opening [pull requests](https://github.com/pedrommcarrasco/Fluky/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc). 103 | 104 | ## License ⛔ 105 | 106 | Fluky's available under the MIT license. See the [LICENSE](https://github.com/pedrommcarrasco/Fluky/blob/master/LICENSE) file for more information. 107 | --------------------------------------------------------------------------------