├── .gitignore ├── .swift-version ├── Example ├── PSFadingScrollView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── PSFadingScrollView-Example.xcscheme ├── PSFadingScrollView.xcworkspace │ └── contents.xcworkspacedata ├── PSFadingScrollView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Local Podspecs │ └── PSFadingScrollView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ └── project.pbxproj │ └── Target Support Files │ ├── PSFadingScrollView │ ├── Info.plist │ ├── PSFadingScrollView-dummy.m │ ├── PSFadingScrollView-prefix.pch │ ├── PSFadingScrollView-umbrella.h │ ├── PSFadingScrollView.modulemap │ └── PSFadingScrollView.xcconfig │ └── Pods-PSFadingScrollView_Example │ ├── Info.plist │ ├── Pods-PSFadingScrollView_Example-acknowledgements.markdown │ ├── Pods-PSFadingScrollView_Example-acknowledgements.plist │ ├── Pods-PSFadingScrollView_Example-dummy.m │ ├── Pods-PSFadingScrollView_Example-frameworks.sh │ ├── Pods-PSFadingScrollView_Example-resources.sh │ ├── Pods-PSFadingScrollView_Example-umbrella.h │ ├── Pods-PSFadingScrollView_Example.debug.xcconfig │ ├── Pods-PSFadingScrollView_Example.modulemap │ └── Pods-PSFadingScrollView_Example.release.xcconfig ├── LICENSE ├── PSFadingScrollView.podspec ├── PSFadingScrollView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── PSFadingScrollView.swift ├── README.md ├── Screenshots └── screenshot.png └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | CAF866EC8627FB9520E89097 /* Pods_PSFadingScrollView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35B61BF02147191EE7C35E1F /* Pods_PSFadingScrollView_Example.framework */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 35B61BF02147191EE7C35E1F /* Pods_PSFadingScrollView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PSFadingScrollView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 20 | 404300FA13207A79EA771047 /* Pods-PSFadingScrollView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PSFadingScrollView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example.debug.xcconfig"; sourceTree = ""; }; 21 | 4D4286C1CCD921F13D1E6E09 /* PSFadingScrollView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = PSFadingScrollView.podspec; path = ../PSFadingScrollView.podspec; sourceTree = ""; }; 22 | 607FACD01AFB9204008FA782 /* PSFadingScrollView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PSFadingScrollView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 24 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 25 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 26 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 27 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 28 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 29 | D532FD6541A516FDDE8A5B80 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 30 | DF06B39D67BA343FC669C2AF /* Pods-PSFadingScrollView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PSFadingScrollView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example.release.xcconfig"; sourceTree = ""; }; 31 | F886DAAF2F0CEC124FD11E50 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | CAF866EC8627FB9520E89097 /* Pods_PSFadingScrollView_Example.framework in Frameworks */, 40 | ); 41 | runOnlyForDeploymentPostprocessing = 0; 42 | }; 43 | /* End PBXFrameworksBuildPhase section */ 44 | 45 | /* Begin PBXGroup section */ 46 | 607FACC71AFB9204008FA782 = { 47 | isa = PBXGroup; 48 | children = ( 49 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 50 | 607FACD21AFB9204008FA782 /* Example for PSFadingScrollView */, 51 | 607FACD11AFB9204008FA782 /* Products */, 52 | D81D930247D08E8801BEBF84 /* Pods */, 53 | 8AE8FB55768B3451A0113F2C /* Frameworks */, 54 | ); 55 | sourceTree = ""; 56 | }; 57 | 607FACD11AFB9204008FA782 /* Products */ = { 58 | isa = PBXGroup; 59 | children = ( 60 | 607FACD01AFB9204008FA782 /* PSFadingScrollView_Example.app */, 61 | ); 62 | name = Products; 63 | sourceTree = ""; 64 | }; 65 | 607FACD21AFB9204008FA782 /* Example for PSFadingScrollView */ = { 66 | isa = PBXGroup; 67 | children = ( 68 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 69 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 70 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 71 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 72 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 73 | 607FACD31AFB9204008FA782 /* Supporting Files */, 74 | ); 75 | name = "Example for PSFadingScrollView"; 76 | path = PSFadingScrollView; 77 | sourceTree = ""; 78 | }; 79 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | 607FACD41AFB9204008FA782 /* Info.plist */, 83 | ); 84 | name = "Supporting Files"; 85 | sourceTree = ""; 86 | }; 87 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 88 | isa = PBXGroup; 89 | children = ( 90 | 4D4286C1CCD921F13D1E6E09 /* PSFadingScrollView.podspec */, 91 | D532FD6541A516FDDE8A5B80 /* README.md */, 92 | F886DAAF2F0CEC124FD11E50 /* LICENSE */, 93 | ); 94 | name = "Podspec Metadata"; 95 | sourceTree = ""; 96 | }; 97 | 8AE8FB55768B3451A0113F2C /* Frameworks */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 35B61BF02147191EE7C35E1F /* Pods_PSFadingScrollView_Example.framework */, 101 | ); 102 | name = Frameworks; 103 | sourceTree = ""; 104 | }; 105 | D81D930247D08E8801BEBF84 /* Pods */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 404300FA13207A79EA771047 /* Pods-PSFadingScrollView_Example.debug.xcconfig */, 109 | DF06B39D67BA343FC669C2AF /* Pods-PSFadingScrollView_Example.release.xcconfig */, 110 | ); 111 | name = Pods; 112 | sourceTree = ""; 113 | }; 114 | /* End PBXGroup section */ 115 | 116 | /* Begin PBXNativeTarget section */ 117 | 607FACCF1AFB9204008FA782 /* PSFadingScrollView_Example */ = { 118 | isa = PBXNativeTarget; 119 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "PSFadingScrollView_Example" */; 120 | buildPhases = ( 121 | AE215F147EE7B4564199E01E /* [CP] Check Pods Manifest.lock */, 122 | 607FACCC1AFB9204008FA782 /* Sources */, 123 | 607FACCD1AFB9204008FA782 /* Frameworks */, 124 | 607FACCE1AFB9204008FA782 /* Resources */, 125 | 0813B9A5A5DEAF0B9779BF23 /* [CP] Embed Pods Frameworks */, 126 | 6AB0A0E0E42478D3F23A589A /* [CP] Copy Pods Resources */, 127 | ); 128 | buildRules = ( 129 | ); 130 | dependencies = ( 131 | ); 132 | name = PSFadingScrollView_Example; 133 | productName = PSFadingScrollView; 134 | productReference = 607FACD01AFB9204008FA782 /* PSFadingScrollView_Example.app */; 135 | productType = "com.apple.product-type.application"; 136 | }; 137 | /* End PBXNativeTarget section */ 138 | 139 | /* Begin PBXProject section */ 140 | 607FACC81AFB9204008FA782 /* Project object */ = { 141 | isa = PBXProject; 142 | attributes = { 143 | LastSwiftUpdateCheck = 0830; 144 | LastUpgradeCheck = 0830; 145 | ORGANIZATIONNAME = CocoaPods; 146 | TargetAttributes = { 147 | 607FACCF1AFB9204008FA782 = { 148 | CreatedOnToolsVersion = 6.3.1; 149 | LastSwiftMigration = 0900; 150 | }; 151 | }; 152 | }; 153 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "PSFadingScrollView" */; 154 | compatibilityVersion = "Xcode 3.2"; 155 | developmentRegion = English; 156 | hasScannedForEncodings = 0; 157 | knownRegions = ( 158 | en, 159 | Base, 160 | ); 161 | mainGroup = 607FACC71AFB9204008FA782; 162 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 163 | projectDirPath = ""; 164 | projectRoot = ""; 165 | targets = ( 166 | 607FACCF1AFB9204008FA782 /* PSFadingScrollView_Example */, 167 | ); 168 | }; 169 | /* End PBXProject section */ 170 | 171 | /* Begin PBXResourcesBuildPhase section */ 172 | 607FACCE1AFB9204008FA782 /* Resources */ = { 173 | isa = PBXResourcesBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 177 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 178 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 179 | ); 180 | runOnlyForDeploymentPostprocessing = 0; 181 | }; 182 | /* End PBXResourcesBuildPhase section */ 183 | 184 | /* Begin PBXShellScriptBuildPhase section */ 185 | 0813B9A5A5DEAF0B9779BF23 /* [CP] Embed Pods Frameworks */ = { 186 | isa = PBXShellScriptBuildPhase; 187 | buildActionMask = 2147483647; 188 | files = ( 189 | ); 190 | inputPaths = ( 191 | "${SRCROOT}/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example-frameworks.sh", 192 | "${BUILT_PRODUCTS_DIR}/PSFadingScrollView/PSFadingScrollView.framework", 193 | ); 194 | name = "[CP] Embed Pods Frameworks"; 195 | outputPaths = ( 196 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PSFadingScrollView.framework", 197 | ); 198 | runOnlyForDeploymentPostprocessing = 0; 199 | shellPath = /bin/sh; 200 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example-frameworks.sh\"\n"; 201 | showEnvVarsInLog = 0; 202 | }; 203 | 6AB0A0E0E42478D3F23A589A /* [CP] Copy Pods Resources */ = { 204 | isa = PBXShellScriptBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | ); 208 | inputPaths = ( 209 | ); 210 | name = "[CP] Copy Pods Resources"; 211 | outputPaths = ( 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | shellPath = /bin/sh; 215 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example-resources.sh\"\n"; 216 | showEnvVarsInLog = 0; 217 | }; 218 | AE215F147EE7B4564199E01E /* [CP] Check Pods Manifest.lock */ = { 219 | isa = PBXShellScriptBuildPhase; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | ); 223 | inputPaths = ( 224 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 225 | "${PODS_ROOT}/Manifest.lock", 226 | ); 227 | name = "[CP] Check Pods Manifest.lock"; 228 | outputPaths = ( 229 | "$(DERIVED_FILE_DIR)/Pods-PSFadingScrollView_Example-checkManifestLockResult.txt", 230 | ); 231 | runOnlyForDeploymentPostprocessing = 0; 232 | shellPath = /bin/sh; 233 | 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"; 234 | showEnvVarsInLog = 0; 235 | }; 236 | /* End PBXShellScriptBuildPhase section */ 237 | 238 | /* Begin PBXSourcesBuildPhase section */ 239 | 607FACCC1AFB9204008FA782 /* Sources */ = { 240 | isa = PBXSourcesBuildPhase; 241 | buildActionMask = 2147483647; 242 | files = ( 243 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 244 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | /* End PBXSourcesBuildPhase section */ 249 | 250 | /* Begin PBXVariantGroup section */ 251 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 252 | isa = PBXVariantGroup; 253 | children = ( 254 | 607FACDA1AFB9204008FA782 /* Base */, 255 | ); 256 | name = Main.storyboard; 257 | sourceTree = ""; 258 | }; 259 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 260 | isa = PBXVariantGroup; 261 | children = ( 262 | 607FACDF1AFB9204008FA782 /* Base */, 263 | ); 264 | name = LaunchScreen.xib; 265 | sourceTree = ""; 266 | }; 267 | /* End PBXVariantGroup section */ 268 | 269 | /* Begin XCBuildConfiguration section */ 270 | 607FACED1AFB9204008FA782 /* Debug */ = { 271 | isa = XCBuildConfiguration; 272 | buildSettings = { 273 | ALWAYS_SEARCH_USER_PATHS = NO; 274 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 275 | CLANG_CXX_LIBRARY = "libc++"; 276 | CLANG_ENABLE_MODULES = YES; 277 | CLANG_ENABLE_OBJC_ARC = YES; 278 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 279 | CLANG_WARN_BOOL_CONVERSION = YES; 280 | CLANG_WARN_COMMA = YES; 281 | CLANG_WARN_CONSTANT_CONVERSION = YES; 282 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 283 | CLANG_WARN_EMPTY_BODY = YES; 284 | CLANG_WARN_ENUM_CONVERSION = YES; 285 | CLANG_WARN_INFINITE_RECURSION = YES; 286 | CLANG_WARN_INT_CONVERSION = YES; 287 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 288 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 289 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 290 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 291 | CLANG_WARN_STRICT_PROTOTYPES = YES; 292 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 293 | CLANG_WARN_UNREACHABLE_CODE = YES; 294 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 295 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 296 | COPY_PHASE_STRIP = NO; 297 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 298 | ENABLE_STRICT_OBJC_MSGSEND = YES; 299 | ENABLE_TESTABILITY = YES; 300 | GCC_C_LANGUAGE_STANDARD = gnu99; 301 | GCC_DYNAMIC_NO_PIC = NO; 302 | GCC_NO_COMMON_BLOCKS = YES; 303 | GCC_OPTIMIZATION_LEVEL = 0; 304 | GCC_PREPROCESSOR_DEFINITIONS = ( 305 | "DEBUG=1", 306 | "$(inherited)", 307 | ); 308 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 309 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 310 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 311 | GCC_WARN_UNDECLARED_SELECTOR = YES; 312 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 313 | GCC_WARN_UNUSED_FUNCTION = YES; 314 | GCC_WARN_UNUSED_VARIABLE = YES; 315 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 316 | MTL_ENABLE_DEBUG_INFO = YES; 317 | ONLY_ACTIVE_ARCH = YES; 318 | SDKROOT = iphoneos; 319 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 320 | }; 321 | name = Debug; 322 | }; 323 | 607FACEE1AFB9204008FA782 /* Release */ = { 324 | isa = XCBuildConfiguration; 325 | buildSettings = { 326 | ALWAYS_SEARCH_USER_PATHS = NO; 327 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 328 | CLANG_CXX_LIBRARY = "libc++"; 329 | CLANG_ENABLE_MODULES = YES; 330 | CLANG_ENABLE_OBJC_ARC = YES; 331 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 332 | CLANG_WARN_BOOL_CONVERSION = YES; 333 | CLANG_WARN_COMMA = YES; 334 | CLANG_WARN_CONSTANT_CONVERSION = YES; 335 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 336 | CLANG_WARN_EMPTY_BODY = YES; 337 | CLANG_WARN_ENUM_CONVERSION = YES; 338 | CLANG_WARN_INFINITE_RECURSION = YES; 339 | CLANG_WARN_INT_CONVERSION = YES; 340 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 341 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 342 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 343 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 344 | CLANG_WARN_STRICT_PROTOTYPES = YES; 345 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 346 | CLANG_WARN_UNREACHABLE_CODE = YES; 347 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 348 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 349 | COPY_PHASE_STRIP = NO; 350 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 351 | ENABLE_NS_ASSERTIONS = NO; 352 | ENABLE_STRICT_OBJC_MSGSEND = YES; 353 | GCC_C_LANGUAGE_STANDARD = gnu99; 354 | GCC_NO_COMMON_BLOCKS = YES; 355 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 356 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 357 | GCC_WARN_UNDECLARED_SELECTOR = YES; 358 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 359 | GCC_WARN_UNUSED_FUNCTION = YES; 360 | GCC_WARN_UNUSED_VARIABLE = YES; 361 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 362 | MTL_ENABLE_DEBUG_INFO = NO; 363 | SDKROOT = iphoneos; 364 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 365 | VALIDATE_PRODUCT = YES; 366 | }; 367 | name = Release; 368 | }; 369 | 607FACF01AFB9204008FA782 /* Debug */ = { 370 | isa = XCBuildConfiguration; 371 | baseConfigurationReference = 404300FA13207A79EA771047 /* Pods-PSFadingScrollView_Example.debug.xcconfig */; 372 | buildSettings = { 373 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 374 | INFOPLIST_FILE = PSFadingScrollView/Info.plist; 375 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 376 | MODULE_NAME = ExampleApp; 377 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 378 | PRODUCT_NAME = "$(TARGET_NAME)"; 379 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 380 | SWIFT_VERSION = 4.0; 381 | }; 382 | name = Debug; 383 | }; 384 | 607FACF11AFB9204008FA782 /* Release */ = { 385 | isa = XCBuildConfiguration; 386 | baseConfigurationReference = DF06B39D67BA343FC669C2AF /* Pods-PSFadingScrollView_Example.release.xcconfig */; 387 | buildSettings = { 388 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 389 | INFOPLIST_FILE = PSFadingScrollView/Info.plist; 390 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 391 | MODULE_NAME = ExampleApp; 392 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 393 | PRODUCT_NAME = "$(TARGET_NAME)"; 394 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 395 | SWIFT_VERSION = 4.0; 396 | }; 397 | name = Release; 398 | }; 399 | /* End XCBuildConfiguration section */ 400 | 401 | /* Begin XCConfigurationList section */ 402 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "PSFadingScrollView" */ = { 403 | isa = XCConfigurationList; 404 | buildConfigurations = ( 405 | 607FACED1AFB9204008FA782 /* Debug */, 406 | 607FACEE1AFB9204008FA782 /* Release */, 407 | ); 408 | defaultConfigurationIsVisible = 0; 409 | defaultConfigurationName = Release; 410 | }; 411 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "PSFadingScrollView_Example" */ = { 412 | isa = XCConfigurationList; 413 | buildConfigurations = ( 414 | 607FACF01AFB9204008FA782 /* Debug */, 415 | 607FACF11AFB9204008FA782 /* Release */, 416 | ); 417 | defaultConfigurationIsVisible = 0; 418 | defaultConfigurationName = Release; 419 | }; 420 | /* End XCConfigurationList section */ 421 | }; 422 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 423 | } 424 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView.xcodeproj/xcshareddata/xcschemes/PSFadingScrollView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // PSFadingScrollView 4 | // 5 | // Created by Vugla on 11/24/2017. 6 | // Copyright (c) 2017 Vugla. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView/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 | 38 | 43 | 48 | 53 | 58 | 63 | 68 | 73 | 78 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 120 | 127 | 134 | 141 | 148 | 155 | 162 | 169 | 176 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/PSFadingScrollView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // PSFadingScrollView 4 | // 5 | // Created by Vugla on 11/24/2017. 6 | // Copyright (c) 2017 Vugla. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // Do any additional setup after loading the view, typically from a nib. 16 | } 17 | 18 | override func didReceiveMemoryWarning() { 19 | super.didReceiveMemoryWarning() 20 | // Dispose of any resources that can be recreated. 21 | } 22 | 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'PSFadingScrollView_Example' do 4 | pod 'PSFadingScrollView', :path => '../' 5 | end 6 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - PSFadingScrollView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - PSFadingScrollView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | PSFadingScrollView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | PSFadingScrollView: c5d9b0190b7e5a1576425c62d166c63f30cd896a 13 | 14 | PODFILE CHECKSUM: 4a20f175c25b5ce43abf52339bf7755afbc1bed8 15 | 16 | COCOAPODS: 1.3.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/PSFadingScrollView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PSFadingScrollView", 3 | "version": "0.1.0", 4 | "summary": "Horizontal scroll view with fading edges", 5 | "description": "PSFadingScrollView is a swift UIScrollView subclass, which applies gradient to scrollview mask layer, making its content appear as faded at edges.", 6 | "homepage": "https://github.com/Vugla/PSFadingScrollView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Vugla": "predragsamardzic@msn.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/Vugla/PSFadingScrollView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "PSFadingScrollView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - PSFadingScrollView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - PSFadingScrollView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | PSFadingScrollView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | PSFadingScrollView: c5d9b0190b7e5a1576425c62d166c63f30cd896a 13 | 14 | PODFILE CHECKSUM: 4a20f175c25b5ce43abf52339bf7755afbc1bed8 15 | 16 | COCOAPODS: 1.3.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 33F93EAF21AB0705ECE895BEC662A46D /* Pods-PSFadingScrollView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B4077880311F46129041B140314E13D8 /* Pods-PSFadingScrollView_Example-dummy.m */; }; 11 | 40D73AAE254B02395C652D694E74719A /* Pods-PSFadingScrollView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 739B993D2F2ED461D30AA193747F1DBD /* Pods-PSFadingScrollView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 4ED27FE4F253A377D87896FCE7C63963 /* PSFadingScrollView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DC958633004C800898C01979F7FBF48E /* PSFadingScrollView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 5E388144F9C3F2B26301EFC92D7FD453 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 14 | 9D5198486BCAAD4586BFBC659E97C9D1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 15 | A385EE5088B10D5BF70CD6D379C5B95E /* PSFadingScrollView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90F916B2F9336A26B5B007CC36471427 /* PSFadingScrollView.swift */; }; 16 | CD4A367E85633CB43567B20C54CFC151 /* PSFadingScrollView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E5E108D1D8C7D96B8AFC77BDCED3975A /* PSFadingScrollView-dummy.m */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 40B2ECAE293FE5AED3ACAF13D4E2AB9D /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 095C5ED9B714D9555B6C598EF986C0F4; 25 | remoteInfo = PSFadingScrollView; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 1691F1929932D9C091B94E52DB069F30 /* Pods-PSFadingScrollView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PSFadingScrollView_Example.release.xcconfig"; sourceTree = ""; }; 31 | 3D70E4F4BE1320AE0121DCBD11ADCB55 /* Pods_PSFadingScrollView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_PSFadingScrollView_Example.framework; path = "Pods-PSFadingScrollView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 47CA657A7C8BA4058A359BE506928728 /* PSFadingScrollView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PSFadingScrollView-prefix.pch"; sourceTree = ""; }; 33 | 5A0103F5CDF92E26A6C8B738C6B38C7D /* Pods-PSFadingScrollView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PSFadingScrollView_Example.debug.xcconfig"; sourceTree = ""; }; 34 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 35 | 739B993D2F2ED461D30AA193747F1DBD /* Pods-PSFadingScrollView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PSFadingScrollView_Example-umbrella.h"; sourceTree = ""; }; 36 | 793C4D4F258E9761B38203C33D8A73FB /* Pods-PSFadingScrollView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PSFadingScrollView_Example-frameworks.sh"; sourceTree = ""; }; 37 | 804218456B5CFE2FCAA82D86941B1C9B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 86ED1D201EEA7F592D521097C9FDD981 /* PSFadingScrollView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PSFadingScrollView.xcconfig; sourceTree = ""; }; 39 | 90F916B2F9336A26B5B007CC36471427 /* PSFadingScrollView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PSFadingScrollView.swift; path = PSFadingScrollView/Classes/PSFadingScrollView.swift; sourceTree = ""; }; 40 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 41 | 94E9ACBD0E941B25A422CA65E4A5A1FB /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | A0E072F371540A492597E4465F3319AB /* Pods-PSFadingScrollView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PSFadingScrollView_Example-resources.sh"; sourceTree = ""; }; 43 | B4077880311F46129041B140314E13D8 /* Pods-PSFadingScrollView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PSFadingScrollView_Example-dummy.m"; sourceTree = ""; }; 44 | B4467E3778A83EE21F57EA22F69355D4 /* Pods-PSFadingScrollView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PSFadingScrollView_Example-acknowledgements.markdown"; sourceTree = ""; }; 45 | CD557A1B7AA96CA8EE48682C46EC419D /* PSFadingScrollView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = PSFadingScrollView.modulemap; sourceTree = ""; }; 46 | D5F422B90CD1D2D48485B1C6DED614B3 /* Pods-PSFadingScrollView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PSFadingScrollView_Example-acknowledgements.plist"; sourceTree = ""; }; 47 | DC958633004C800898C01979F7FBF48E /* PSFadingScrollView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PSFadingScrollView-umbrella.h"; sourceTree = ""; }; 48 | DE95066FECDB9E92F6DDF77F118F727B /* Pods-PSFadingScrollView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-PSFadingScrollView_Example.modulemap"; sourceTree = ""; }; 49 | E08C8A9544BDD519B115B19DAAD6723E /* PSFadingScrollView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = PSFadingScrollView.framework; path = PSFadingScrollView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | E5E108D1D8C7D96B8AFC77BDCED3975A /* PSFadingScrollView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PSFadingScrollView-dummy.m"; sourceTree = ""; }; 51 | /* End PBXFileReference section */ 52 | 53 | /* Begin PBXFrameworksBuildPhase section */ 54 | 20AF099A48C37127F8670A321AC4BC2D /* Frameworks */ = { 55 | isa = PBXFrameworksBuildPhase; 56 | buildActionMask = 2147483647; 57 | files = ( 58 | 9D5198486BCAAD4586BFBC659E97C9D1 /* Foundation.framework in Frameworks */, 59 | ); 60 | runOnlyForDeploymentPostprocessing = 0; 61 | }; 62 | 44C14985261A6BEB11914415A3B9A1DC /* Frameworks */ = { 63 | isa = PBXFrameworksBuildPhase; 64 | buildActionMask = 2147483647; 65 | files = ( 66 | 5E388144F9C3F2B26301EFC92D7FD453 /* Foundation.framework in Frameworks */, 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | /* End PBXFrameworksBuildPhase section */ 71 | 72 | /* Begin PBXGroup section */ 73 | 14A9C5E5DFDA183C32BBA0BACC694DBE /* PSFadingScrollView */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 90F916B2F9336A26B5B007CC36471427 /* PSFadingScrollView.swift */, 77 | 329262A133395B7C9770AA3AE9A22D99 /* Support Files */, 78 | ); 79 | name = PSFadingScrollView; 80 | path = ../..; 81 | sourceTree = ""; 82 | }; 83 | 329262A133395B7C9770AA3AE9A22D99 /* Support Files */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 804218456B5CFE2FCAA82D86941B1C9B /* Info.plist */, 87 | CD557A1B7AA96CA8EE48682C46EC419D /* PSFadingScrollView.modulemap */, 88 | 86ED1D201EEA7F592D521097C9FDD981 /* PSFadingScrollView.xcconfig */, 89 | E5E108D1D8C7D96B8AFC77BDCED3975A /* PSFadingScrollView-dummy.m */, 90 | 47CA657A7C8BA4058A359BE506928728 /* PSFadingScrollView-prefix.pch */, 91 | DC958633004C800898C01979F7FBF48E /* PSFadingScrollView-umbrella.h */, 92 | ); 93 | name = "Support Files"; 94 | path = "Example/Pods/Target Support Files/PSFadingScrollView"; 95 | sourceTree = ""; 96 | }; 97 | 6590868807B4323A9EE0E5C0586BAF99 /* Targets Support Files */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | DEAB24BF3C4D1762F2CB45574BC04DE6 /* Pods-PSFadingScrollView_Example */, 101 | ); 102 | name = "Targets Support Files"; 103 | sourceTree = ""; 104 | }; 105 | 7DB346D0F39D3F0E887471402A8071AB = { 106 | isa = PBXGroup; 107 | children = ( 108 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 109 | E0EEAB6B052FD9D097F1CBA760C49C67 /* Development Pods */, 110 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 111 | C8C4B75C33B3E07D38B5C7C2ABEF2CC8 /* Products */, 112 | 6590868807B4323A9EE0E5C0586BAF99 /* Targets Support Files */, 113 | ); 114 | sourceTree = ""; 115 | }; 116 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 120 | ); 121 | name = Frameworks; 122 | sourceTree = ""; 123 | }; 124 | C8C4B75C33B3E07D38B5C7C2ABEF2CC8 /* Products */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 3D70E4F4BE1320AE0121DCBD11ADCB55 /* Pods_PSFadingScrollView_Example.framework */, 128 | E08C8A9544BDD519B115B19DAAD6723E /* PSFadingScrollView.framework */, 129 | ); 130 | name = Products; 131 | sourceTree = ""; 132 | }; 133 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 137 | ); 138 | name = iOS; 139 | sourceTree = ""; 140 | }; 141 | DEAB24BF3C4D1762F2CB45574BC04DE6 /* Pods-PSFadingScrollView_Example */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 94E9ACBD0E941B25A422CA65E4A5A1FB /* Info.plist */, 145 | DE95066FECDB9E92F6DDF77F118F727B /* Pods-PSFadingScrollView_Example.modulemap */, 146 | B4467E3778A83EE21F57EA22F69355D4 /* Pods-PSFadingScrollView_Example-acknowledgements.markdown */, 147 | D5F422B90CD1D2D48485B1C6DED614B3 /* Pods-PSFadingScrollView_Example-acknowledgements.plist */, 148 | B4077880311F46129041B140314E13D8 /* Pods-PSFadingScrollView_Example-dummy.m */, 149 | 793C4D4F258E9761B38203C33D8A73FB /* Pods-PSFadingScrollView_Example-frameworks.sh */, 150 | A0E072F371540A492597E4465F3319AB /* Pods-PSFadingScrollView_Example-resources.sh */, 151 | 739B993D2F2ED461D30AA193747F1DBD /* Pods-PSFadingScrollView_Example-umbrella.h */, 152 | 5A0103F5CDF92E26A6C8B738C6B38C7D /* Pods-PSFadingScrollView_Example.debug.xcconfig */, 153 | 1691F1929932D9C091B94E52DB069F30 /* Pods-PSFadingScrollView_Example.release.xcconfig */, 154 | ); 155 | name = "Pods-PSFadingScrollView_Example"; 156 | path = "Target Support Files/Pods-PSFadingScrollView_Example"; 157 | sourceTree = ""; 158 | }; 159 | E0EEAB6B052FD9D097F1CBA760C49C67 /* Development Pods */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 14A9C5E5DFDA183C32BBA0BACC694DBE /* PSFadingScrollView */, 163 | ); 164 | name = "Development Pods"; 165 | sourceTree = ""; 166 | }; 167 | /* End PBXGroup section */ 168 | 169 | /* Begin PBXHeadersBuildPhase section */ 170 | 4915CD489775743CE01508825BEA8E30 /* Headers */ = { 171 | isa = PBXHeadersBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 40D73AAE254B02395C652D694E74719A /* Pods-PSFadingScrollView_Example-umbrella.h in Headers */, 175 | ); 176 | runOnlyForDeploymentPostprocessing = 0; 177 | }; 178 | 50D1CBA7396F2EF457863E75C47DD2F0 /* Headers */ = { 179 | isa = PBXHeadersBuildPhase; 180 | buildActionMask = 2147483647; 181 | files = ( 182 | 4ED27FE4F253A377D87896FCE7C63963 /* PSFadingScrollView-umbrella.h in Headers */, 183 | ); 184 | runOnlyForDeploymentPostprocessing = 0; 185 | }; 186 | /* End PBXHeadersBuildPhase section */ 187 | 188 | /* Begin PBXNativeTarget section */ 189 | 02560F2028A7CE7DF840E45ECF5EDE4C /* Pods-PSFadingScrollView_Example */ = { 190 | isa = PBXNativeTarget; 191 | buildConfigurationList = B81A6C6FFCC66ACFEB7148E645550CF8 /* Build configuration list for PBXNativeTarget "Pods-PSFadingScrollView_Example" */; 192 | buildPhases = ( 193 | CEFC97B9C7E102A49EBF8B0D535AFB3E /* Sources */, 194 | 20AF099A48C37127F8670A321AC4BC2D /* Frameworks */, 195 | 4915CD489775743CE01508825BEA8E30 /* Headers */, 196 | ); 197 | buildRules = ( 198 | ); 199 | dependencies = ( 200 | D3300ED443363A62B81E4FACDF7487BE /* PBXTargetDependency */, 201 | ); 202 | name = "Pods-PSFadingScrollView_Example"; 203 | productName = "Pods-PSFadingScrollView_Example"; 204 | productReference = 3D70E4F4BE1320AE0121DCBD11ADCB55 /* Pods_PSFadingScrollView_Example.framework */; 205 | productType = "com.apple.product-type.framework"; 206 | }; 207 | 095C5ED9B714D9555B6C598EF986C0F4 /* PSFadingScrollView */ = { 208 | isa = PBXNativeTarget; 209 | buildConfigurationList = 6FDF982710BB76D9C630FD12D0559BD9 /* Build configuration list for PBXNativeTarget "PSFadingScrollView" */; 210 | buildPhases = ( 211 | F050F21CFD10AAC1572593F6919D2E13 /* Sources */, 212 | 44C14985261A6BEB11914415A3B9A1DC /* Frameworks */, 213 | 50D1CBA7396F2EF457863E75C47DD2F0 /* Headers */, 214 | ); 215 | buildRules = ( 216 | ); 217 | dependencies = ( 218 | ); 219 | name = PSFadingScrollView; 220 | productName = PSFadingScrollView; 221 | productReference = E08C8A9544BDD519B115B19DAAD6723E /* PSFadingScrollView.framework */; 222 | productType = "com.apple.product-type.framework"; 223 | }; 224 | /* End PBXNativeTarget section */ 225 | 226 | /* Begin PBXProject section */ 227 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 228 | isa = PBXProject; 229 | attributes = { 230 | LastSwiftUpdateCheck = 0830; 231 | LastUpgradeCheck = 0700; 232 | }; 233 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 234 | compatibilityVersion = "Xcode 3.2"; 235 | developmentRegion = English; 236 | hasScannedForEncodings = 0; 237 | knownRegions = ( 238 | en, 239 | ); 240 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 241 | productRefGroup = C8C4B75C33B3E07D38B5C7C2ABEF2CC8 /* Products */; 242 | projectDirPath = ""; 243 | projectRoot = ""; 244 | targets = ( 245 | 02560F2028A7CE7DF840E45ECF5EDE4C /* Pods-PSFadingScrollView_Example */, 246 | 095C5ED9B714D9555B6C598EF986C0F4 /* PSFadingScrollView */, 247 | ); 248 | }; 249 | /* End PBXProject section */ 250 | 251 | /* Begin PBXSourcesBuildPhase section */ 252 | CEFC97B9C7E102A49EBF8B0D535AFB3E /* Sources */ = { 253 | isa = PBXSourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | 33F93EAF21AB0705ECE895BEC662A46D /* Pods-PSFadingScrollView_Example-dummy.m in Sources */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | F050F21CFD10AAC1572593F6919D2E13 /* Sources */ = { 261 | isa = PBXSourcesBuildPhase; 262 | buildActionMask = 2147483647; 263 | files = ( 264 | CD4A367E85633CB43567B20C54CFC151 /* PSFadingScrollView-dummy.m in Sources */, 265 | A385EE5088B10D5BF70CD6D379C5B95E /* PSFadingScrollView.swift in Sources */, 266 | ); 267 | runOnlyForDeploymentPostprocessing = 0; 268 | }; 269 | /* End PBXSourcesBuildPhase section */ 270 | 271 | /* Begin PBXTargetDependency section */ 272 | D3300ED443363A62B81E4FACDF7487BE /* PBXTargetDependency */ = { 273 | isa = PBXTargetDependency; 274 | name = PSFadingScrollView; 275 | target = 095C5ED9B714D9555B6C598EF986C0F4 /* PSFadingScrollView */; 276 | targetProxy = 40B2ECAE293FE5AED3ACAF13D4E2AB9D /* PBXContainerItemProxy */; 277 | }; 278 | /* End PBXTargetDependency section */ 279 | 280 | /* Begin XCBuildConfiguration section */ 281 | 08E330A31B26D0BAF754AECADE3BC33B /* Debug */ = { 282 | isa = XCBuildConfiguration; 283 | baseConfigurationReference = 5A0103F5CDF92E26A6C8B738C6B38C7D /* Pods-PSFadingScrollView_Example.debug.xcconfig */; 284 | buildSettings = { 285 | CODE_SIGN_IDENTITY = ""; 286 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 287 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 288 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 289 | CURRENT_PROJECT_VERSION = 1; 290 | DEFINES_MODULE = YES; 291 | DYLIB_COMPATIBILITY_VERSION = 1; 292 | DYLIB_CURRENT_VERSION = 1; 293 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 294 | INFOPLIST_FILE = "Target Support Files/Pods-PSFadingScrollView_Example/Info.plist"; 295 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 296 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 297 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 298 | MACH_O_TYPE = staticlib; 299 | MODULEMAP_FILE = "Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example.modulemap"; 300 | OTHER_LDFLAGS = ""; 301 | OTHER_LIBTOOLFLAGS = ""; 302 | PODS_ROOT = "$(SRCROOT)"; 303 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 304 | PRODUCT_NAME = Pods_PSFadingScrollView_Example; 305 | SDKROOT = iphoneos; 306 | SKIP_INSTALL = YES; 307 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 308 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 309 | TARGETED_DEVICE_FAMILY = "1,2"; 310 | VERSIONING_SYSTEM = "apple-generic"; 311 | VERSION_INFO_PREFIX = ""; 312 | }; 313 | name = Debug; 314 | }; 315 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */ = { 316 | isa = XCBuildConfiguration; 317 | buildSettings = { 318 | ALWAYS_SEARCH_USER_PATHS = NO; 319 | CLANG_ANALYZER_NONNULL = YES; 320 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 321 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 322 | CLANG_CXX_LIBRARY = "libc++"; 323 | CLANG_ENABLE_MODULES = YES; 324 | CLANG_ENABLE_OBJC_ARC = YES; 325 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 326 | CLANG_WARN_BOOL_CONVERSION = YES; 327 | CLANG_WARN_COMMA = YES; 328 | CLANG_WARN_CONSTANT_CONVERSION = YES; 329 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 330 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 331 | CLANG_WARN_EMPTY_BODY = YES; 332 | CLANG_WARN_ENUM_CONVERSION = YES; 333 | CLANG_WARN_INFINITE_RECURSION = YES; 334 | CLANG_WARN_INT_CONVERSION = YES; 335 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 336 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 337 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 338 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 339 | CLANG_WARN_STRICT_PROTOTYPES = YES; 340 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 341 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 342 | CLANG_WARN_UNREACHABLE_CODE = YES; 343 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 344 | CODE_SIGNING_REQUIRED = NO; 345 | COPY_PHASE_STRIP = NO; 346 | DEBUG_INFORMATION_FORMAT = dwarf; 347 | ENABLE_STRICT_OBJC_MSGSEND = YES; 348 | ENABLE_TESTABILITY = YES; 349 | GCC_C_LANGUAGE_STANDARD = gnu11; 350 | GCC_DYNAMIC_NO_PIC = NO; 351 | GCC_NO_COMMON_BLOCKS = YES; 352 | GCC_OPTIMIZATION_LEVEL = 0; 353 | GCC_PREPROCESSOR_DEFINITIONS = ( 354 | "POD_CONFIGURATION_DEBUG=1", 355 | "DEBUG=1", 356 | "$(inherited)", 357 | ); 358 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 359 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 360 | GCC_WARN_UNDECLARED_SELECTOR = YES; 361 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 362 | GCC_WARN_UNUSED_FUNCTION = YES; 363 | GCC_WARN_UNUSED_VARIABLE = YES; 364 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 365 | MTL_ENABLE_DEBUG_INFO = YES; 366 | ONLY_ACTIVE_ARCH = YES; 367 | PRODUCT_NAME = "$(TARGET_NAME)"; 368 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 369 | STRIP_INSTALLED_PRODUCT = NO; 370 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 371 | SYMROOT = "${SRCROOT}/../build"; 372 | }; 373 | name = Debug; 374 | }; 375 | 731DC216E1A58545B559F6E0A2418060 /* Release */ = { 376 | isa = XCBuildConfiguration; 377 | buildSettings = { 378 | ALWAYS_SEARCH_USER_PATHS = NO; 379 | CLANG_ANALYZER_NONNULL = YES; 380 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 381 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 382 | CLANG_CXX_LIBRARY = "libc++"; 383 | CLANG_ENABLE_MODULES = YES; 384 | CLANG_ENABLE_OBJC_ARC = YES; 385 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 386 | CLANG_WARN_BOOL_CONVERSION = YES; 387 | CLANG_WARN_COMMA = YES; 388 | CLANG_WARN_CONSTANT_CONVERSION = YES; 389 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 390 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 391 | CLANG_WARN_EMPTY_BODY = YES; 392 | CLANG_WARN_ENUM_CONVERSION = YES; 393 | CLANG_WARN_INFINITE_RECURSION = YES; 394 | CLANG_WARN_INT_CONVERSION = YES; 395 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 396 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 397 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 398 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 399 | CLANG_WARN_STRICT_PROTOTYPES = YES; 400 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 401 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 402 | CLANG_WARN_UNREACHABLE_CODE = YES; 403 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 404 | CODE_SIGNING_REQUIRED = NO; 405 | COPY_PHASE_STRIP = NO; 406 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 407 | ENABLE_NS_ASSERTIONS = NO; 408 | ENABLE_STRICT_OBJC_MSGSEND = YES; 409 | GCC_C_LANGUAGE_STANDARD = gnu11; 410 | GCC_NO_COMMON_BLOCKS = YES; 411 | GCC_PREPROCESSOR_DEFINITIONS = ( 412 | "POD_CONFIGURATION_RELEASE=1", 413 | "$(inherited)", 414 | ); 415 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 416 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 417 | GCC_WARN_UNDECLARED_SELECTOR = YES; 418 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 419 | GCC_WARN_UNUSED_FUNCTION = YES; 420 | GCC_WARN_UNUSED_VARIABLE = YES; 421 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 422 | MTL_ENABLE_DEBUG_INFO = NO; 423 | PRODUCT_NAME = "$(TARGET_NAME)"; 424 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 425 | STRIP_INSTALLED_PRODUCT = NO; 426 | SYMROOT = "${SRCROOT}/../build"; 427 | }; 428 | name = Release; 429 | }; 430 | 88A2A0C036B0F32A8E2D582917F000F1 /* Release */ = { 431 | isa = XCBuildConfiguration; 432 | baseConfigurationReference = 86ED1D201EEA7F592D521097C9FDD981 /* PSFadingScrollView.xcconfig */; 433 | buildSettings = { 434 | CODE_SIGN_IDENTITY = ""; 435 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 436 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 437 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 438 | CURRENT_PROJECT_VERSION = 1; 439 | DEFINES_MODULE = YES; 440 | DYLIB_COMPATIBILITY_VERSION = 1; 441 | DYLIB_CURRENT_VERSION = 1; 442 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 443 | GCC_PREFIX_HEADER = "Target Support Files/PSFadingScrollView/PSFadingScrollView-prefix.pch"; 444 | INFOPLIST_FILE = "Target Support Files/PSFadingScrollView/Info.plist"; 445 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 446 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 447 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 448 | MODULEMAP_FILE = "Target Support Files/PSFadingScrollView/PSFadingScrollView.modulemap"; 449 | PRODUCT_NAME = PSFadingScrollView; 450 | SDKROOT = iphoneos; 451 | SKIP_INSTALL = YES; 452 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 453 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 454 | SWIFT_VERSION = 4.0; 455 | TARGETED_DEVICE_FAMILY = "1,2"; 456 | VALIDATE_PRODUCT = YES; 457 | VERSIONING_SYSTEM = "apple-generic"; 458 | VERSION_INFO_PREFIX = ""; 459 | }; 460 | name = Release; 461 | }; 462 | CB9F545CB258B4780A4D3D09CAB6F468 /* Release */ = { 463 | isa = XCBuildConfiguration; 464 | baseConfigurationReference = 1691F1929932D9C091B94E52DB069F30 /* Pods-PSFadingScrollView_Example.release.xcconfig */; 465 | buildSettings = { 466 | CODE_SIGN_IDENTITY = ""; 467 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 468 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 469 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 470 | CURRENT_PROJECT_VERSION = 1; 471 | DEFINES_MODULE = YES; 472 | DYLIB_COMPATIBILITY_VERSION = 1; 473 | DYLIB_CURRENT_VERSION = 1; 474 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 475 | INFOPLIST_FILE = "Target Support Files/Pods-PSFadingScrollView_Example/Info.plist"; 476 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 477 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 478 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 479 | MACH_O_TYPE = staticlib; 480 | MODULEMAP_FILE = "Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example.modulemap"; 481 | OTHER_LDFLAGS = ""; 482 | OTHER_LIBTOOLFLAGS = ""; 483 | PODS_ROOT = "$(SRCROOT)"; 484 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 485 | PRODUCT_NAME = Pods_PSFadingScrollView_Example; 486 | SDKROOT = iphoneos; 487 | SKIP_INSTALL = YES; 488 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 489 | TARGETED_DEVICE_FAMILY = "1,2"; 490 | VALIDATE_PRODUCT = YES; 491 | VERSIONING_SYSTEM = "apple-generic"; 492 | VERSION_INFO_PREFIX = ""; 493 | }; 494 | name = Release; 495 | }; 496 | E1D6B91B67B6EB6B3FDD043A2A20FD9C /* Debug */ = { 497 | isa = XCBuildConfiguration; 498 | baseConfigurationReference = 86ED1D201EEA7F592D521097C9FDD981 /* PSFadingScrollView.xcconfig */; 499 | buildSettings = { 500 | CODE_SIGN_IDENTITY = ""; 501 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 502 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 503 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 504 | CURRENT_PROJECT_VERSION = 1; 505 | DEFINES_MODULE = YES; 506 | DYLIB_COMPATIBILITY_VERSION = 1; 507 | DYLIB_CURRENT_VERSION = 1; 508 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 509 | GCC_PREFIX_HEADER = "Target Support Files/PSFadingScrollView/PSFadingScrollView-prefix.pch"; 510 | INFOPLIST_FILE = "Target Support Files/PSFadingScrollView/Info.plist"; 511 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 512 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 513 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 514 | MODULEMAP_FILE = "Target Support Files/PSFadingScrollView/PSFadingScrollView.modulemap"; 515 | PRODUCT_NAME = PSFadingScrollView; 516 | SDKROOT = iphoneos; 517 | SKIP_INSTALL = YES; 518 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 519 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 520 | SWIFT_VERSION = 4.0; 521 | TARGETED_DEVICE_FAMILY = "1,2"; 522 | VERSIONING_SYSTEM = "apple-generic"; 523 | VERSION_INFO_PREFIX = ""; 524 | }; 525 | name = Debug; 526 | }; 527 | /* End XCBuildConfiguration section */ 528 | 529 | /* Begin XCConfigurationList section */ 530 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 531 | isa = XCConfigurationList; 532 | buildConfigurations = ( 533 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */, 534 | 731DC216E1A58545B559F6E0A2418060 /* Release */, 535 | ); 536 | defaultConfigurationIsVisible = 0; 537 | defaultConfigurationName = Release; 538 | }; 539 | 6FDF982710BB76D9C630FD12D0559BD9 /* Build configuration list for PBXNativeTarget "PSFadingScrollView" */ = { 540 | isa = XCConfigurationList; 541 | buildConfigurations = ( 542 | E1D6B91B67B6EB6B3FDD043A2A20FD9C /* Debug */, 543 | 88A2A0C036B0F32A8E2D582917F000F1 /* Release */, 544 | ); 545 | defaultConfigurationIsVisible = 0; 546 | defaultConfigurationName = Release; 547 | }; 548 | B81A6C6FFCC66ACFEB7148E645550CF8 /* Build configuration list for PBXNativeTarget "Pods-PSFadingScrollView_Example" */ = { 549 | isa = XCConfigurationList; 550 | buildConfigurations = ( 551 | 08E330A31B26D0BAF754AECADE3BC33B /* Debug */, 552 | CB9F545CB258B4780A4D3D09CAB6F468 /* Release */, 553 | ); 554 | defaultConfigurationIsVisible = 0; 555 | defaultConfigurationName = Release; 556 | }; 557 | /* End XCConfigurationList section */ 558 | }; 559 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 560 | } 561 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PSFadingScrollView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PSFadingScrollView/PSFadingScrollView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_PSFadingScrollView : NSObject 3 | @end 4 | @implementation PodsDummy_PSFadingScrollView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PSFadingScrollView/PSFadingScrollView-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/PSFadingScrollView/PSFadingScrollView-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 PSFadingScrollViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char PSFadingScrollViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PSFadingScrollView/PSFadingScrollView.modulemap: -------------------------------------------------------------------------------- 1 | framework module PSFadingScrollView { 2 | umbrella header "PSFadingScrollView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/PSFadingScrollView/PSFadingScrollView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/PSFadingScrollView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_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-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## PSFadingScrollView 5 | 6 | Copyright (c) 2017 Vugla 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 Vugla <predragsamardzic@msn.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | PSFadingScrollView 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_PSFadingScrollView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_PSFadingScrollView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | 104 | if [[ "$CONFIGURATION" == "Debug" ]]; then 105 | install_framework "${BUILT_PRODUCTS_DIR}/PSFadingScrollView/PSFadingScrollView.framework" 106 | fi 107 | if [[ "$CONFIGURATION" == "Release" ]]; then 108 | install_framework "${BUILT_PRODUCTS_DIR}/PSFadingScrollView/PSFadingScrollView.framework" 109 | fi 110 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 111 | wait 112 | fi 113 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | 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 56 | 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} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | 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}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_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_PSFadingScrollView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_PSFadingScrollView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/PSFadingScrollView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/PSFadingScrollView/PSFadingScrollView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "PSFadingScrollView" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_PSFadingScrollView_Example { 2 | umbrella header "Pods-PSFadingScrollView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-PSFadingScrollView_Example/Pods-PSFadingScrollView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/PSFadingScrollView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/PSFadingScrollView/PSFadingScrollView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "PSFadingScrollView" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Vugla 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /PSFadingScrollView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint PSFadingScrollView.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'PSFadingScrollView' 11 | s.version = '0.1.0' 12 | s.summary = 'Horizontal scroll view with fading edges' 13 | s.description = <<-DESC 14 | PSFadingScrollView is a swift UIScrollView subclass, which applies gradient to scrollview mask layer, making its content appear as faded at edges. 15 | DESC 16 | 17 | s.homepage = 'https://github.com/Vugla/PSFadingScrollView' 18 | s.license = { :type => 'MIT', :file => 'LICENSE' } 19 | s.author = { 'Vugla' => 'predragsamardzic@msn.com' } 20 | s.source = { :git => 'https://github.com/Vugla/PSFadingScrollView.git', :tag => s.version.to_s } 21 | 22 | s.ios.deployment_target = '8.0' 23 | 24 | s.source_files = 'PSFadingScrollView/Classes/**/*' 25 | 26 | end 27 | -------------------------------------------------------------------------------- /PSFadingScrollView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vugla/PSFadingScrollView/d37ccee4f43de9eb4ef79030db4f47b2507e5fea/PSFadingScrollView/Assets/.gitkeep -------------------------------------------------------------------------------- /PSFadingScrollView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vugla/PSFadingScrollView/d37ccee4f43de9eb4ef79030db4f47b2507e5fea/PSFadingScrollView/Classes/.gitkeep -------------------------------------------------------------------------------- /PSFadingScrollView/Classes/PSFadingScrollView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PSFadingScrollView.swift 3 | // PSFadingScrollView 4 | // 5 | // Created by Predrag Samardzic on 12/24/15. 6 | // Copyright © 2015 Predrag Samardzic. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class PSFadingScrollView: UIScrollView { 12 | 13 | @IBInspectable var gradientWidth: CGFloat = 100 14 | 15 | override func layoutSubviews() { 16 | super.layoutSubviews() 17 | backgroundColor = .clear 18 | let maskLayer = CAGradientLayer() 19 | maskLayer.anchorPoint = CGPoint.zero 20 | maskLayer.startPoint = CGPoint(x: 0, y: 0) 21 | maskLayer.endPoint = CGPoint(x: 1, y: 0) 22 | let outerColor = UIColor(white: 1.0, alpha: 0.0) 23 | let innerColor = UIColor(white: 1.0, alpha: 1.0) 24 | maskLayer.colors = [outerColor.cgColor, innerColor.cgColor, innerColor.cgColor, outerColor.cgColor] 25 | let firstValue = Double(gradientWidth/frame.size.width) 26 | let secondValue = Double((frame.size.width - gradientWidth)/frame.size.width) 27 | maskLayer.locations = [0, NSNumber(value: firstValue), NSNumber(value: secondValue), 1] 28 | maskLayer.frame = bounds 29 | layer.masksToBounds = true 30 | layer.mask = maskLayer 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PSFadingScrollView 2 | 3 | [![Version](https://img.shields.io/cocoapods/v/PSFadingScrollView.svg?style=flat)](http://cocoapods.org/pods/PSFadingScrollView) 4 | [![License](https://img.shields.io/cocoapods/l/PSFadingScrollView.svg?style=flat)](http://cocoapods.org/pods/PSFadingScrollView) 5 | [![Platform](https://img.shields.io/cocoapods/p/PSFadingScrollView.svg?style=flat)](http://cocoapods.org/pods/PSFadingScrollView) 6 | 7 | ![Alt text](Screenshots/screenshot.png?raw=true) 8 | 9 | ## Example 10 | 11 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 12 | 13 | ## Installation 14 | 15 | PSFadingScrollView is available through [CocoaPods](http://cocoapods.org). To install 16 | it, simply add the following line to your Podfile: 17 | 18 | ```ruby 19 | pod 'PSFadingScrollView' 20 | ``` 21 | 22 | ## Author 23 | 24 | Vugla, predragsamardzic@msn.com 25 | 26 | ## License 27 | 28 | PSFadingScrollView is available under the MIT license. See the LICENSE file for more info. 29 | -------------------------------------------------------------------------------- /Screenshots/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vugla/PSFadingScrollView/d37ccee4f43de9eb4ef79030db4f47b2507e5fea/Screenshots/screenshot.png -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------