├── Package.swift ├── EasedGradient-Example ├── photo.jpg ├── screenshot.png ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Info.plist ├── Base.lproj │ ├── Main.storyboard │ └── LaunchScreen.storyboard ├── AppDelegate.swift └── ViewController.swift ├── Tests ├── LinuxMain.swift └── EasedGradientTests │ └── EasedGradientTests.swift ├── EasedGradient.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata ├── xcshareddata │ └── xcschemes │ │ ├── EasedGradient-watchOS.xcscheme │ │ ├── EasedGradient-iOS.xcscheme │ │ ├── EasedGradient-tvOS.xcscheme │ │ └── EasedGradient-macOS.xcscheme └── project.pbxproj ├── Sources ├── EasedGradient.swift ├── Comparable+Clamp.swift ├── EasingCurve.swift └── Gradient.swift ├── Configs ├── EasedGradientTests.plist └── EasedGradient.plist ├── EasedGradient.podspec ├── LICENSE ├── README.md └── .gitignore /Package.swift: -------------------------------------------------------------------------------- 1 | import PackageDescription 2 | 3 | let package = Package( 4 | name: "EasedGradient" 5 | ) 6 | -------------------------------------------------------------------------------- /EasedGradient-Example/photo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/js/EasedGradient/master/EasedGradient-Example/photo.jpg -------------------------------------------------------------------------------- /EasedGradient-Example/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/js/EasedGradient/master/EasedGradient-Example/screenshot.png -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | @testable import EasedGradientTests 3 | 4 | XCTMain([ 5 | testCase(EasedGradientTests.allTests), 6 | ]) 7 | -------------------------------------------------------------------------------- /EasedGradient.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Sources/EasedGradient.swift: -------------------------------------------------------------------------------- 1 | // 2 | // EasedGradient.swift 3 | // Johan Sørensen 4 | // 5 | // Created by Johan Sørensen on 13/07/2017. 6 | // Copyright © 2017 Johan Sørensen. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | -------------------------------------------------------------------------------- /Sources/Comparable+Clamp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Clamp.swift 3 | // EasedGradient 4 | // 5 | // Created by Johan Sørensen on 13/07/2017. 6 | // Copyright © 2017 Johan Sørensen. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | extension Comparable { 12 | func clamped(to range: ClosedRange) -> Self { 13 | if self > range.upperBound { 14 | return range.upperBound 15 | } else if self < range.lowerBound { 16 | return range.lowerBound 17 | } else { 18 | return self 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Tests/EasedGradientTests/EasedGradientTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // EasedGradientTests.swift 3 | // Johan Sørensen 4 | // 5 | // Created by Johan Sørensen on 13/07/2017. 6 | // Copyright © 2017 Johan Sørensen. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import XCTest 11 | import EasedGradient 12 | 13 | class EasedGradientTests: XCTestCase { 14 | func testExample() { 15 | // This is an example of a functional test case. 16 | // Use XCTAssert and related functions to verify your tests produce the correct results. 17 | //// XCTAssertEqual(EasedGradient().text, "Hello, World!") 18 | } 19 | 20 | static var allTests = [ 21 | ("testExample", testExample), 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /EasedGradient-Example/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Configs/EasedGradientTests.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /EasedGradient.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "EasedGradient" 3 | s.version = "0.1" 4 | s.summary = "A tiny library for creating eased gradients" 5 | s.description = <<-DESC 6 | Create eased gradients and avoid Mach Bands with this handy library 7 | DESC 8 | s.homepage = "https://github.com/js/EasedGradient" 9 | s.license = { :type => "MIT", :file => "LICENSE" } 10 | s.author = { "Johan Sørensen" => "johan@johansorensen.com" } 11 | s.social_media_url = "https://twitter.com/johans" 12 | s.ios.deployment_target = "8.0" 13 | s.osx.deployment_target = "10.9" 14 | s.watchos.deployment_target = "2.0" 15 | s.tvos.deployment_target = "9.0" 16 | s.source = { :git => "https://github.com/js/EasedGradient.git", :tag => s.version.to_s } 17 | s.source_files = "Sources/**/*" 18 | s.frameworks = "Foundation" 19 | end 20 | -------------------------------------------------------------------------------- /Sources/EasingCurve.swift: -------------------------------------------------------------------------------- 1 | // 2 | // EasingCurve.swift 3 | // EasedGradient 4 | // 5 | // Created by Johan Sørensen on 13/07/2017. 6 | // Copyright © 2017 Johan Sørensen. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import CoreGraphics 11 | 12 | public enum EasingCurve { 13 | case linear 14 | case easeIn 15 | case easeOut 16 | case easeInOut 17 | case custom(function: (CGFloat) -> CGFloat) 18 | 19 | public func value(for progress: CGFloat) -> CGFloat { 20 | let p = progress.clamped(to: 0...1) 21 | switch self { 22 | case .linear: 23 | return p 24 | case .easeIn: 25 | return pow(p, 2.0) 26 | case .easeOut: 27 | return 1.0 - pow(p - 1.0, 2.0) 28 | case .easeInOut: 29 | return 0.5 * (1.0 - cos(p * CGFloat.pi)) 30 | case .custom(let easingFunction): 31 | return easingFunction(p) 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Configs/EasedGradient.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 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSHumanReadableCopyright 24 | Copyright © 2017 Johan Sørensen. All rights reserved. 25 | NSPrincipalClass 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017 Johan Sørensen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /EasedGradient-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 | 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 | 38 | 39 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # EasedGradient 2 | 3 | A tiny library for creating eased gradients. 4 | 5 | ## Eased gradient 6 | 7 | An eased gradient is simply a gradient rendered using an easing curve, such as "ease in" or "ease in-out". by using Easedgradient you can avoid the [Mach Bands optical illusion](https://en.wikipedia.org/wiki/Mach_bands) which is particular visible when the gradient moves over a background such as an image in a parallax manner. Build and run the "EasedGradient-Example" scheme to see the effect when dragging the scrollview around. 8 | 9 | ![screenshot](https://github.com/js/EasedGradient/raw/master/EasedGradient-Example/screenshot.png) 10 | 11 | ## Usage 12 | 13 | ```swift 14 | let gradient = Gradient(from: .blue, to: .red, stops: 32, using: .easeInOut) 15 | 16 | let gradientLayer = CAGradientLayer() 17 | gradientLayer.colors = gradient.colors 18 | gradientLayer.locations = gradient.locations as [NSNumber] 19 | // add the gradientLayer as a sublayer or whatever 20 | ``` 21 | 22 | ## Installation 23 | 24 | EasedGradient is available as a CocoaPod (`pod 'EasedGradient'`) and the Swift Package Manager. Framework installation is also available by dragging the EasedGradient.xcodeproj into your project or via Carthage. 25 | 26 | Eventually has no dependencies outside of UIKit and CoreGraphics 27 | 28 | ## License 29 | 30 | MIT, See the LICENSE file 31 | -------------------------------------------------------------------------------- /.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 | .build/ 41 | 42 | # CocoaPods 43 | # 44 | # We recommend against adding the Pods directory to your .gitignore. However 45 | # you should judge for yourself, the pros and cons are mentioned at: 46 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 47 | # 48 | # Pods/ 49 | 50 | # Carthage 51 | # 52 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 53 | # Carthage/Checkouts 54 | 55 | Carthage/Build 56 | 57 | # fastlane 58 | # 59 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 60 | # screenshots whenever they are needed. 61 | # For more information about the recommended setup visit: 62 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 63 | 64 | fastlane/report.xml 65 | fastlane/Preview.html 66 | fastlane/screenshots 67 | fastlane/test_output 68 | -------------------------------------------------------------------------------- /EasedGradient-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 | -------------------------------------------------------------------------------- /EasedGradient-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 | 27 | 28 | -------------------------------------------------------------------------------- /Sources/Gradient.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Gradient.swift 3 | // EasedGradient 4 | // 5 | // Created by Johan Sørensen on 13/07/2017. 6 | // Copyright © 2017 Johan Sørensen. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public extension UIColor { 12 | public func mix(with other: UIColor, ratio: CGFloat) -> UIColor { 13 | guard other != self else { return self } 14 | 15 | // TODO: convert to a common colorspace first? 16 | 17 | guard let components = cgColor.components else { return self } 18 | guard let otherComponents = other.cgColor.components else { return self } 19 | 20 | let clampedRatio = ratio.clamped(to: 0...1) 21 | let interpolatedComponents = zip(components, otherComponents).map { (a, b) -> CGFloat in 22 | return (a * (1.0 - clampedRatio)) + (b * clampedRatio) 23 | } 24 | 25 | let colorspace = cgColor.colorSpace ?? CGColorSpaceCreateDeviceRGB() 26 | if let interpolated = CGColor(colorSpace: colorspace, components: interpolatedComponents) { 27 | return UIColor(cgColor: interpolated) 28 | } 29 | 30 | return self 31 | } 32 | } 33 | 34 | public struct Gradient { 35 | public let colors: [CGColor] 36 | public let locations: [CGFloat] 37 | 38 | public init(from: UIColor, to other: UIColor, stops: Int, using curve: EasingCurve) { 39 | guard stops > 2 else { 40 | self.colors = [from, other].map({ $0.cgColor }) 41 | self.locations = [0.0, 1.0] 42 | return 43 | } 44 | 45 | let colorsAndStops: [(CGColor, CGFloat)] = (0.. 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 | -------------------------------------------------------------------------------- /EasedGradient-Example/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // EasedGradient-Example 4 | // 5 | // Created by Johan Sørensen on 13/07/2017. 6 | // Copyright © 2017 Johan Sørensen. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import EasedGradient 11 | 12 | class ViewController: UIViewController { 13 | let scrollView = UIScrollView(frame: .zero) 14 | let gradientViewHeight: CGFloat = 80 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | 19 | let imageView = UIImageView(image: UIImage(named: "photo.jpg")) 20 | imageView.contentMode = .scaleAspectFill 21 | view.addSubview(imageView) 22 | 23 | scrollView.backgroundColor = UIColor.clear 24 | scrollView.alwaysBounceVertical = true 25 | scrollView.alwaysBounceHorizontal = true 26 | view.addSubview(scrollView) 27 | 28 | let gradientViews = makeGradientViews() 29 | for (v, index) in zip(gradientViews, gradientViews.indices) { 30 | v.frame.origin.y = CGFloat(index) * gradientViewHeight 31 | scrollView.addSubview(v) 32 | } 33 | scrollView.contentSize = CGSize(width: view.frame.width, height: CGFloat(gradientViews.count) * gradientViewHeight) 34 | } 35 | 36 | private func makeGradientViews() -> [UIView] { 37 | let curves: [(EasingCurve, String)] = [ 38 | (.linear, "linear"), 39 | (.easeIn, "easeIn"), 40 | (.easeOut, "easeOut"), 41 | (.easeInOut, "easeInOut"), 42 | (.custom(function: { $0 > 0.7 ? 1 : 0}), "custom"), 43 | ] 44 | return curves.map { (curve, name) in 45 | let view = UIView(frame: CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.gradientViewHeight)) 46 | 47 | let gradient = Gradient(from: .clear, to: .black, stops: 16, using: curve) 48 | let easedGradientLayer = CAGradientLayer() 49 | easedGradientLayer.colors = gradient.colors 50 | easedGradientLayer.locations = gradient.locations as [NSNumber] 51 | easedGradientLayer.startPoint = CGPoint(x: 0, y: 0.5) 52 | easedGradientLayer.endPoint = CGPoint(x: 1, y: 0.5) 53 | view.layer.addSublayer(easedGradientLayer) 54 | easedGradientLayer.frame = view.bounds 55 | 56 | let label = UILabel(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: 44)) 57 | label.textColor = .white 58 | label.textAlignment = .center 59 | label.text = name 60 | view.addSubview(label) 61 | 62 | return view 63 | } 64 | } 65 | 66 | override func viewDidLayoutSubviews() { 67 | super.viewDidLayoutSubviews() 68 | scrollView.frame = view.bounds 69 | scrollView.frame.origin.y += 20 70 | } 71 | } 72 | 73 | -------------------------------------------------------------------------------- /EasedGradient.xcodeproj/xcshareddata/xcschemes/EasedGradient-watchOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 46 | 47 | 53 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 71 | 72 | 73 | 74 | 76 | 77 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /EasedGradient.xcodeproj/xcshareddata/xcschemes/EasedGradient-iOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 65 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 84 | 90 | 91 | 92 | 93 | 95 | 96 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /EasedGradient.xcodeproj/xcshareddata/xcschemes/EasedGradient-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 65 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 84 | 90 | 91 | 92 | 93 | 95 | 96 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /EasedGradient.xcodeproj/xcshareddata/xcschemes/EasedGradient-macOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 65 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 84 | 90 | 91 | 92 | 93 | 95 | 96 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /EasedGradient.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 47; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 041DFCD81F17F11D00FB048E /* Comparable+Clamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCD71F17F11D00FB048E /* Comparable+Clamp.swift */; }; 11 | 041DFCD91F17F11D00FB048E /* Comparable+Clamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCD71F17F11D00FB048E /* Comparable+Clamp.swift */; }; 12 | 041DFCDA1F17F11D00FB048E /* Comparable+Clamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCD71F17F11D00FB048E /* Comparable+Clamp.swift */; }; 13 | 041DFCDB1F17F11D00FB048E /* Comparable+Clamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCD71F17F11D00FB048E /* Comparable+Clamp.swift */; }; 14 | 041DFCDD1F17F18600FB048E /* EasingCurve.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCDC1F17F18600FB048E /* EasingCurve.swift */; }; 15 | 041DFCDE1F17F18600FB048E /* EasingCurve.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCDC1F17F18600FB048E /* EasingCurve.swift */; }; 16 | 041DFCDF1F17F18600FB048E /* EasingCurve.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCDC1F17F18600FB048E /* EasingCurve.swift */; }; 17 | 041DFCE01F17F18600FB048E /* EasingCurve.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCDC1F17F18600FB048E /* EasingCurve.swift */; }; 18 | 041DFCE71F17F26D00FB048E /* Gradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCE61F17F26D00FB048E /* Gradient.swift */; }; 19 | 041DFCE81F17F26D00FB048E /* Gradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCE61F17F26D00FB048E /* Gradient.swift */; }; 20 | 041DFCE91F17F26D00FB048E /* Gradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCE61F17F26D00FB048E /* Gradient.swift */; }; 21 | 041DFCEA1F17F26D00FB048E /* Gradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCE61F17F26D00FB048E /* Gradient.swift */; }; 22 | 041DFCF21F17F47500FB048E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCF11F17F47500FB048E /* AppDelegate.swift */; }; 23 | 041DFCF41F17F47500FB048E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 041DFCF31F17F47500FB048E /* ViewController.swift */; }; 24 | 041DFCF71F17F47500FB048E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 041DFCF51F17F47500FB048E /* Main.storyboard */; }; 25 | 041DFCF91F17F47500FB048E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 041DFCF81F17F47500FB048E /* Assets.xcassets */; }; 26 | 041DFCFC1F17F47500FB048E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 041DFCFA1F17F47500FB048E /* LaunchScreen.storyboard */; }; 27 | 041DFD011F17F7D100FB048E /* EasedGradient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6D97C1BEFF229002C0205 /* EasedGradient.framework */; }; 28 | 041DFD031F17F7DC00FB048E /* EasedGradient.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6D97C1BEFF229002C0205 /* EasedGradient.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 29 | 041DFD081F17F9F600FB048E /* photo.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 041DFD071F17F9F600FB048E /* photo.jpg */; }; 30 | 52D6D9871BEFF229002C0205 /* EasedGradient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6D97C1BEFF229002C0205 /* EasedGradient.framework */; }; 31 | 8933C7851EB5B820000D00A4 /* EasedGradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* EasedGradient.swift */; }; 32 | 8933C7861EB5B820000D00A4 /* EasedGradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* EasedGradient.swift */; }; 33 | 8933C7871EB5B820000D00A4 /* EasedGradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* EasedGradient.swift */; }; 34 | 8933C7881EB5B820000D00A4 /* EasedGradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* EasedGradient.swift */; }; 35 | 8933C78E1EB5B82C000D00A4 /* EasedGradientTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* EasedGradientTests.swift */; }; 36 | 8933C78F1EB5B82C000D00A4 /* EasedGradientTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* EasedGradientTests.swift */; }; 37 | 8933C7901EB5B82D000D00A4 /* EasedGradientTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* EasedGradientTests.swift */; }; 38 | DD7502881C68FEDE006590AF /* EasedGradient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6DA0F1BF000BD002C0205 /* EasedGradient.framework */; }; 39 | DD7502921C690C7A006590AF /* EasedGradient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6D9F01BEFFFBE002C0205 /* EasedGradient.framework */; }; 40 | /* End PBXBuildFile section */ 41 | 42 | /* Begin PBXContainerItemProxy section */ 43 | 041DFD041F17F7DC00FB048E /* PBXContainerItemProxy */ = { 44 | isa = PBXContainerItemProxy; 45 | containerPortal = 52D6D9731BEFF229002C0205 /* Project object */; 46 | proxyType = 1; 47 | remoteGlobalIDString = 52D6D97B1BEFF229002C0205; 48 | remoteInfo = "EasedGradient-iOS"; 49 | }; 50 | 52D6D9881BEFF229002C0205 /* PBXContainerItemProxy */ = { 51 | isa = PBXContainerItemProxy; 52 | containerPortal = 52D6D9731BEFF229002C0205 /* Project object */; 53 | proxyType = 1; 54 | remoteGlobalIDString = 52D6D97B1BEFF229002C0205; 55 | remoteInfo = EasedGradient; 56 | }; 57 | DD7502801C68FCFC006590AF /* PBXContainerItemProxy */ = { 58 | isa = PBXContainerItemProxy; 59 | containerPortal = 52D6D9731BEFF229002C0205 /* Project object */; 60 | proxyType = 1; 61 | remoteGlobalIDString = 52D6DA0E1BF000BD002C0205; 62 | remoteInfo = "EasedGradient-macOS"; 63 | }; 64 | DD7502931C690C7A006590AF /* PBXContainerItemProxy */ = { 65 | isa = PBXContainerItemProxy; 66 | containerPortal = 52D6D9731BEFF229002C0205 /* Project object */; 67 | proxyType = 1; 68 | remoteGlobalIDString = 52D6D9EF1BEFFFBE002C0205; 69 | remoteInfo = "EasedGradient-tvOS"; 70 | }; 71 | /* End PBXContainerItemProxy section */ 72 | 73 | /* Begin PBXCopyFilesBuildPhase section */ 74 | 041DFD061F17F7DC00FB048E /* Embed Frameworks */ = { 75 | isa = PBXCopyFilesBuildPhase; 76 | buildActionMask = 2147483647; 77 | dstPath = ""; 78 | dstSubfolderSpec = 10; 79 | files = ( 80 | 041DFD031F17F7DC00FB048E /* EasedGradient.framework in Embed Frameworks */, 81 | ); 82 | name = "Embed Frameworks"; 83 | runOnlyForDeploymentPostprocessing = 0; 84 | }; 85 | /* End PBXCopyFilesBuildPhase section */ 86 | 87 | /* Begin PBXFileReference section */ 88 | 041DFCD71F17F11D00FB048E /* Comparable+Clamp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Comparable+Clamp.swift"; sourceTree = ""; }; 89 | 041DFCDC1F17F18600FB048E /* EasingCurve.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EasingCurve.swift; sourceTree = ""; }; 90 | 041DFCE21F17F1C900FB048E /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 91 | 041DFCE41F17F1DE00FB048E /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 92 | 041DFCE61F17F26D00FB048E /* Gradient.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Gradient.swift; sourceTree = ""; }; 93 | 041DFCEF1F17F47500FB048E /* EasedGradient-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "EasedGradient-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 94 | 041DFCF11F17F47500FB048E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 95 | 041DFCF31F17F47500FB048E /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 96 | 041DFCF61F17F47500FB048E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 97 | 041DFCF81F17F47500FB048E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 98 | 041DFCFB1F17F47500FB048E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 99 | 041DFCFD1F17F47500FB048E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 100 | 041DFD071F17F9F600FB048E /* photo.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = photo.jpg; sourceTree = ""; }; 101 | 52D6D97C1BEFF229002C0205 /* EasedGradient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = EasedGradient.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 102 | 52D6D9861BEFF229002C0205 /* EasedGradient-iOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "EasedGradient-iOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 103 | 52D6D9E21BEFFF6E002C0205 /* EasedGradient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = EasedGradient.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 104 | 52D6D9F01BEFFFBE002C0205 /* EasedGradient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = EasedGradient.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 105 | 52D6DA0F1BF000BD002C0205 /* EasedGradient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = EasedGradient.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 106 | 8933C7841EB5B820000D00A4 /* EasedGradient.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EasedGradient.swift; sourceTree = ""; }; 107 | 8933C7891EB5B82A000D00A4 /* EasedGradientTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EasedGradientTests.swift; sourceTree = ""; }; 108 | AD2FAA261CD0B6D800659CF4 /* EasedGradient.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = EasedGradient.plist; sourceTree = ""; }; 109 | AD2FAA281CD0B6E100659CF4 /* EasedGradientTests.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = EasedGradientTests.plist; sourceTree = ""; }; 110 | DD75027A1C68FCFC006590AF /* EasedGradient-macOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "EasedGradient-macOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 111 | DD75028D1C690C7A006590AF /* EasedGradient-tvOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "EasedGradient-tvOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 112 | /* End PBXFileReference section */ 113 | 114 | /* Begin PBXFrameworksBuildPhase section */ 115 | 041DFCEC1F17F47500FB048E /* Frameworks */ = { 116 | isa = PBXFrameworksBuildPhase; 117 | buildActionMask = 2147483647; 118 | files = ( 119 | 041DFD011F17F7D100FB048E /* EasedGradient.framework in Frameworks */, 120 | ); 121 | runOnlyForDeploymentPostprocessing = 0; 122 | }; 123 | 52D6D9781BEFF229002C0205 /* Frameworks */ = { 124 | isa = PBXFrameworksBuildPhase; 125 | buildActionMask = 2147483647; 126 | files = ( 127 | ); 128 | runOnlyForDeploymentPostprocessing = 0; 129 | }; 130 | 52D6D9831BEFF229002C0205 /* Frameworks */ = { 131 | isa = PBXFrameworksBuildPhase; 132 | buildActionMask = 2147483647; 133 | files = ( 134 | 52D6D9871BEFF229002C0205 /* EasedGradient.framework in Frameworks */, 135 | ); 136 | runOnlyForDeploymentPostprocessing = 0; 137 | }; 138 | 52D6D9DE1BEFFF6E002C0205 /* Frameworks */ = { 139 | isa = PBXFrameworksBuildPhase; 140 | buildActionMask = 2147483647; 141 | files = ( 142 | ); 143 | runOnlyForDeploymentPostprocessing = 0; 144 | }; 145 | 52D6D9EC1BEFFFBE002C0205 /* Frameworks */ = { 146 | isa = PBXFrameworksBuildPhase; 147 | buildActionMask = 2147483647; 148 | files = ( 149 | ); 150 | runOnlyForDeploymentPostprocessing = 0; 151 | }; 152 | 52D6DA0B1BF000BD002C0205 /* Frameworks */ = { 153 | isa = PBXFrameworksBuildPhase; 154 | buildActionMask = 2147483647; 155 | files = ( 156 | ); 157 | runOnlyForDeploymentPostprocessing = 0; 158 | }; 159 | DD7502771C68FCFC006590AF /* Frameworks */ = { 160 | isa = PBXFrameworksBuildPhase; 161 | buildActionMask = 2147483647; 162 | files = ( 163 | DD7502881C68FEDE006590AF /* EasedGradient.framework in Frameworks */, 164 | ); 165 | runOnlyForDeploymentPostprocessing = 0; 166 | }; 167 | DD75028A1C690C7A006590AF /* Frameworks */ = { 168 | isa = PBXFrameworksBuildPhase; 169 | buildActionMask = 2147483647; 170 | files = ( 171 | DD7502921C690C7A006590AF /* EasedGradient.framework in Frameworks */, 172 | ); 173 | runOnlyForDeploymentPostprocessing = 0; 174 | }; 175 | /* End PBXFrameworksBuildPhase section */ 176 | 177 | /* Begin PBXGroup section */ 178 | 041DFCE11F17F1C900FB048E /* Frameworks */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | 041DFCE41F17F1DE00FB048E /* CoreGraphics.framework */, 182 | 041DFCE21F17F1C900FB048E /* Foundation.framework */, 183 | ); 184 | name = Frameworks; 185 | sourceTree = ""; 186 | }; 187 | 041DFCF01F17F47500FB048E /* EasedGradient-Example */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | 041DFCF11F17F47500FB048E /* AppDelegate.swift */, 191 | 041DFCF31F17F47500FB048E /* ViewController.swift */, 192 | 041DFCF51F17F47500FB048E /* Main.storyboard */, 193 | 041DFCF81F17F47500FB048E /* Assets.xcassets */, 194 | 041DFCFA1F17F47500FB048E /* LaunchScreen.storyboard */, 195 | 041DFD071F17F9F600FB048E /* photo.jpg */, 196 | 041DFCFD1F17F47500FB048E /* Info.plist */, 197 | ); 198 | path = "EasedGradient-Example"; 199 | sourceTree = ""; 200 | }; 201 | 52D6D9721BEFF229002C0205 = { 202 | isa = PBXGroup; 203 | children = ( 204 | 8933C7811EB5B7E0000D00A4 /* Sources */, 205 | 8933C7831EB5B7EB000D00A4 /* Tests */, 206 | 52D6D99C1BEFF38C002C0205 /* Configs */, 207 | 041DFCF01F17F47500FB048E /* EasedGradient-Example */, 208 | 52D6D97D1BEFF229002C0205 /* Products */, 209 | 041DFCE11F17F1C900FB048E /* Frameworks */, 210 | ); 211 | sourceTree = ""; 212 | }; 213 | 52D6D97D1BEFF229002C0205 /* Products */ = { 214 | isa = PBXGroup; 215 | children = ( 216 | 52D6D97C1BEFF229002C0205 /* EasedGradient.framework */, 217 | 52D6D9861BEFF229002C0205 /* EasedGradient-iOS Tests.xctest */, 218 | 52D6D9E21BEFFF6E002C0205 /* EasedGradient.framework */, 219 | 52D6D9F01BEFFFBE002C0205 /* EasedGradient.framework */, 220 | 52D6DA0F1BF000BD002C0205 /* EasedGradient.framework */, 221 | DD75027A1C68FCFC006590AF /* EasedGradient-macOS Tests.xctest */, 222 | DD75028D1C690C7A006590AF /* EasedGradient-tvOS Tests.xctest */, 223 | 041DFCEF1F17F47500FB048E /* EasedGradient-Example.app */, 224 | ); 225 | name = Products; 226 | sourceTree = ""; 227 | }; 228 | 52D6D99C1BEFF38C002C0205 /* Configs */ = { 229 | isa = PBXGroup; 230 | children = ( 231 | DD7502721C68FC1B006590AF /* Frameworks */, 232 | DD7502731C68FC20006590AF /* Tests */, 233 | ); 234 | path = Configs; 235 | sourceTree = ""; 236 | }; 237 | 8933C7811EB5B7E0000D00A4 /* Sources */ = { 238 | isa = PBXGroup; 239 | children = ( 240 | 8933C7841EB5B820000D00A4 /* EasedGradient.swift */, 241 | 041DFCD71F17F11D00FB048E /* Comparable+Clamp.swift */, 242 | 041DFCDC1F17F18600FB048E /* EasingCurve.swift */, 243 | 041DFCE61F17F26D00FB048E /* Gradient.swift */, 244 | ); 245 | path = Sources; 246 | sourceTree = ""; 247 | }; 248 | 8933C7831EB5B7EB000D00A4 /* Tests */ = { 249 | isa = PBXGroup; 250 | children = ( 251 | 8933C7891EB5B82A000D00A4 /* EasedGradientTests.swift */, 252 | ); 253 | name = Tests; 254 | path = Tests/EasedGradientTests; 255 | sourceTree = ""; 256 | }; 257 | DD7502721C68FC1B006590AF /* Frameworks */ = { 258 | isa = PBXGroup; 259 | children = ( 260 | AD2FAA261CD0B6D800659CF4 /* EasedGradient.plist */, 261 | ); 262 | name = Frameworks; 263 | sourceTree = ""; 264 | }; 265 | DD7502731C68FC20006590AF /* Tests */ = { 266 | isa = PBXGroup; 267 | children = ( 268 | AD2FAA281CD0B6E100659CF4 /* EasedGradientTests.plist */, 269 | ); 270 | name = Tests; 271 | sourceTree = ""; 272 | }; 273 | /* End PBXGroup section */ 274 | 275 | /* Begin PBXHeadersBuildPhase section */ 276 | 52D6D9791BEFF229002C0205 /* Headers */ = { 277 | isa = PBXHeadersBuildPhase; 278 | buildActionMask = 2147483647; 279 | files = ( 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | }; 283 | 52D6D9DF1BEFFF6E002C0205 /* Headers */ = { 284 | isa = PBXHeadersBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | ); 288 | runOnlyForDeploymentPostprocessing = 0; 289 | }; 290 | 52D6D9ED1BEFFFBE002C0205 /* Headers */ = { 291 | isa = PBXHeadersBuildPhase; 292 | buildActionMask = 2147483647; 293 | files = ( 294 | ); 295 | runOnlyForDeploymentPostprocessing = 0; 296 | }; 297 | 52D6DA0C1BF000BD002C0205 /* Headers */ = { 298 | isa = PBXHeadersBuildPhase; 299 | buildActionMask = 2147483647; 300 | files = ( 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | /* End PBXHeadersBuildPhase section */ 305 | 306 | /* Begin PBXNativeTarget section */ 307 | 041DFCEE1F17F47500FB048E /* EasedGradient-Example */ = { 308 | isa = PBXNativeTarget; 309 | buildConfigurationList = 041DFCFE1F17F47500FB048E /* Build configuration list for PBXNativeTarget "EasedGradient-Example" */; 310 | buildPhases = ( 311 | 041DFCEB1F17F47500FB048E /* Sources */, 312 | 041DFCEC1F17F47500FB048E /* Frameworks */, 313 | 041DFCED1F17F47500FB048E /* Resources */, 314 | 041DFD061F17F7DC00FB048E /* Embed Frameworks */, 315 | ); 316 | buildRules = ( 317 | ); 318 | dependencies = ( 319 | 041DFD051F17F7DC00FB048E /* PBXTargetDependency */, 320 | ); 321 | name = "EasedGradient-Example"; 322 | productName = "EasedGradient-Example"; 323 | productReference = 041DFCEF1F17F47500FB048E /* EasedGradient-Example.app */; 324 | productType = "com.apple.product-type.application"; 325 | }; 326 | 52D6D97B1BEFF229002C0205 /* EasedGradient-iOS */ = { 327 | isa = PBXNativeTarget; 328 | buildConfigurationList = 52D6D9901BEFF229002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-iOS" */; 329 | buildPhases = ( 330 | 52D6D9771BEFF229002C0205 /* Sources */, 331 | 52D6D9781BEFF229002C0205 /* Frameworks */, 332 | 52D6D9791BEFF229002C0205 /* Headers */, 333 | 52D6D97A1BEFF229002C0205 /* Resources */, 334 | ); 335 | buildRules = ( 336 | ); 337 | dependencies = ( 338 | ); 339 | name = "EasedGradient-iOS"; 340 | productName = EasedGradient; 341 | productReference = 52D6D97C1BEFF229002C0205 /* EasedGradient.framework */; 342 | productType = "com.apple.product-type.framework"; 343 | }; 344 | 52D6D9851BEFF229002C0205 /* EasedGradient-iOS Tests */ = { 345 | isa = PBXNativeTarget; 346 | buildConfigurationList = 52D6D9931BEFF229002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-iOS Tests" */; 347 | buildPhases = ( 348 | 52D6D9821BEFF229002C0205 /* Sources */, 349 | 52D6D9831BEFF229002C0205 /* Frameworks */, 350 | 52D6D9841BEFF229002C0205 /* Resources */, 351 | ); 352 | buildRules = ( 353 | ); 354 | dependencies = ( 355 | 52D6D9891BEFF229002C0205 /* PBXTargetDependency */, 356 | ); 357 | name = "EasedGradient-iOS Tests"; 358 | productName = EasedGradientTests; 359 | productReference = 52D6D9861BEFF229002C0205 /* EasedGradient-iOS Tests.xctest */; 360 | productType = "com.apple.product-type.bundle.unit-test"; 361 | }; 362 | 52D6D9E11BEFFF6E002C0205 /* EasedGradient-watchOS */ = { 363 | isa = PBXNativeTarget; 364 | buildConfigurationList = 52D6D9E71BEFFF6E002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-watchOS" */; 365 | buildPhases = ( 366 | 52D6D9DD1BEFFF6E002C0205 /* Sources */, 367 | 52D6D9DE1BEFFF6E002C0205 /* Frameworks */, 368 | 52D6D9DF1BEFFF6E002C0205 /* Headers */, 369 | 52D6D9E01BEFFF6E002C0205 /* Resources */, 370 | ); 371 | buildRules = ( 372 | ); 373 | dependencies = ( 374 | ); 375 | name = "EasedGradient-watchOS"; 376 | productName = "EasedGradient-watchOS"; 377 | productReference = 52D6D9E21BEFFF6E002C0205 /* EasedGradient.framework */; 378 | productType = "com.apple.product-type.framework"; 379 | }; 380 | 52D6D9EF1BEFFFBE002C0205 /* EasedGradient-tvOS */ = { 381 | isa = PBXNativeTarget; 382 | buildConfigurationList = 52D6DA011BEFFFBE002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-tvOS" */; 383 | buildPhases = ( 384 | 52D6D9EB1BEFFFBE002C0205 /* Sources */, 385 | 52D6D9EC1BEFFFBE002C0205 /* Frameworks */, 386 | 52D6D9ED1BEFFFBE002C0205 /* Headers */, 387 | 52D6D9EE1BEFFFBE002C0205 /* Resources */, 388 | ); 389 | buildRules = ( 390 | ); 391 | dependencies = ( 392 | ); 393 | name = "EasedGradient-tvOS"; 394 | productName = "EasedGradient-tvOS"; 395 | productReference = 52D6D9F01BEFFFBE002C0205 /* EasedGradient.framework */; 396 | productType = "com.apple.product-type.framework"; 397 | }; 398 | 52D6DA0E1BF000BD002C0205 /* EasedGradient-macOS */ = { 399 | isa = PBXNativeTarget; 400 | buildConfigurationList = 52D6DA201BF000BD002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-macOS" */; 401 | buildPhases = ( 402 | 52D6DA0A1BF000BD002C0205 /* Sources */, 403 | 52D6DA0B1BF000BD002C0205 /* Frameworks */, 404 | 52D6DA0C1BF000BD002C0205 /* Headers */, 405 | 52D6DA0D1BF000BD002C0205 /* Resources */, 406 | ); 407 | buildRules = ( 408 | ); 409 | dependencies = ( 410 | ); 411 | name = "EasedGradient-macOS"; 412 | productName = "EasedGradient-macOS"; 413 | productReference = 52D6DA0F1BF000BD002C0205 /* EasedGradient.framework */; 414 | productType = "com.apple.product-type.framework"; 415 | }; 416 | DD7502791C68FCFC006590AF /* EasedGradient-macOS Tests */ = { 417 | isa = PBXNativeTarget; 418 | buildConfigurationList = DD7502821C68FCFC006590AF /* Build configuration list for PBXNativeTarget "EasedGradient-macOS Tests" */; 419 | buildPhases = ( 420 | DD7502761C68FCFC006590AF /* Sources */, 421 | DD7502771C68FCFC006590AF /* Frameworks */, 422 | DD7502781C68FCFC006590AF /* Resources */, 423 | ); 424 | buildRules = ( 425 | ); 426 | dependencies = ( 427 | DD7502811C68FCFC006590AF /* PBXTargetDependency */, 428 | ); 429 | name = "EasedGradient-macOS Tests"; 430 | productName = "EasedGradient-OS Tests"; 431 | productReference = DD75027A1C68FCFC006590AF /* EasedGradient-macOS Tests.xctest */; 432 | productType = "com.apple.product-type.bundle.unit-test"; 433 | }; 434 | DD75028C1C690C7A006590AF /* EasedGradient-tvOS Tests */ = { 435 | isa = PBXNativeTarget; 436 | buildConfigurationList = DD7502951C690C7A006590AF /* Build configuration list for PBXNativeTarget "EasedGradient-tvOS Tests" */; 437 | buildPhases = ( 438 | DD7502891C690C7A006590AF /* Sources */, 439 | DD75028A1C690C7A006590AF /* Frameworks */, 440 | DD75028B1C690C7A006590AF /* Resources */, 441 | ); 442 | buildRules = ( 443 | ); 444 | dependencies = ( 445 | DD7502941C690C7A006590AF /* PBXTargetDependency */, 446 | ); 447 | name = "EasedGradient-tvOS Tests"; 448 | productName = "EasedGradient-tvOS Tests"; 449 | productReference = DD75028D1C690C7A006590AF /* EasedGradient-tvOS Tests.xctest */; 450 | productType = "com.apple.product-type.bundle.unit-test"; 451 | }; 452 | /* End PBXNativeTarget section */ 453 | 454 | /* Begin PBXProject section */ 455 | 52D6D9731BEFF229002C0205 /* Project object */ = { 456 | isa = PBXProject; 457 | attributes = { 458 | LastSwiftUpdateCheck = 0830; 459 | LastUpgradeCheck = 0810; 460 | ORGANIZATIONNAME = "Johan Sørensen"; 461 | TargetAttributes = { 462 | 041DFCEE1F17F47500FB048E = { 463 | CreatedOnToolsVersion = 8.3.2; 464 | ProvisioningStyle = Automatic; 465 | }; 466 | 52D6D97B1BEFF229002C0205 = { 467 | CreatedOnToolsVersion = 7.1; 468 | LastSwiftMigration = 0800; 469 | }; 470 | 52D6D9851BEFF229002C0205 = { 471 | CreatedOnToolsVersion = 7.1; 472 | LastSwiftMigration = 0800; 473 | }; 474 | 52D6D9E11BEFFF6E002C0205 = { 475 | CreatedOnToolsVersion = 7.1; 476 | LastSwiftMigration = 0800; 477 | }; 478 | 52D6D9EF1BEFFFBE002C0205 = { 479 | CreatedOnToolsVersion = 7.1; 480 | LastSwiftMigration = 0800; 481 | }; 482 | 52D6DA0E1BF000BD002C0205 = { 483 | CreatedOnToolsVersion = 7.1; 484 | LastSwiftMigration = 0800; 485 | }; 486 | DD7502791C68FCFC006590AF = { 487 | CreatedOnToolsVersion = 7.2.1; 488 | LastSwiftMigration = 0800; 489 | }; 490 | DD75028C1C690C7A006590AF = { 491 | CreatedOnToolsVersion = 7.2.1; 492 | LastSwiftMigration = 0800; 493 | }; 494 | }; 495 | }; 496 | buildConfigurationList = 52D6D9761BEFF229002C0205 /* Build configuration list for PBXProject "EasedGradient" */; 497 | compatibilityVersion = "Xcode 6.3"; 498 | developmentRegion = English; 499 | hasScannedForEncodings = 0; 500 | knownRegions = ( 501 | en, 502 | Base, 503 | ); 504 | mainGroup = 52D6D9721BEFF229002C0205; 505 | productRefGroup = 52D6D97D1BEFF229002C0205 /* Products */; 506 | projectDirPath = ""; 507 | projectRoot = ""; 508 | targets = ( 509 | 52D6D97B1BEFF229002C0205 /* EasedGradient-iOS */, 510 | 52D6DA0E1BF000BD002C0205 /* EasedGradient-macOS */, 511 | 52D6D9E11BEFFF6E002C0205 /* EasedGradient-watchOS */, 512 | 52D6D9EF1BEFFFBE002C0205 /* EasedGradient-tvOS */, 513 | 52D6D9851BEFF229002C0205 /* EasedGradient-iOS Tests */, 514 | DD7502791C68FCFC006590AF /* EasedGradient-macOS Tests */, 515 | DD75028C1C690C7A006590AF /* EasedGradient-tvOS Tests */, 516 | 041DFCEE1F17F47500FB048E /* EasedGradient-Example */, 517 | ); 518 | }; 519 | /* End PBXProject section */ 520 | 521 | /* Begin PBXResourcesBuildPhase section */ 522 | 041DFCED1F17F47500FB048E /* Resources */ = { 523 | isa = PBXResourcesBuildPhase; 524 | buildActionMask = 2147483647; 525 | files = ( 526 | 041DFCFC1F17F47500FB048E /* LaunchScreen.storyboard in Resources */, 527 | 041DFCF91F17F47500FB048E /* Assets.xcassets in Resources */, 528 | 041DFD081F17F9F600FB048E /* photo.jpg in Resources */, 529 | 041DFCF71F17F47500FB048E /* Main.storyboard in Resources */, 530 | ); 531 | runOnlyForDeploymentPostprocessing = 0; 532 | }; 533 | 52D6D97A1BEFF229002C0205 /* Resources */ = { 534 | isa = PBXResourcesBuildPhase; 535 | buildActionMask = 2147483647; 536 | files = ( 537 | ); 538 | runOnlyForDeploymentPostprocessing = 0; 539 | }; 540 | 52D6D9841BEFF229002C0205 /* Resources */ = { 541 | isa = PBXResourcesBuildPhase; 542 | buildActionMask = 2147483647; 543 | files = ( 544 | ); 545 | runOnlyForDeploymentPostprocessing = 0; 546 | }; 547 | 52D6D9E01BEFFF6E002C0205 /* Resources */ = { 548 | isa = PBXResourcesBuildPhase; 549 | buildActionMask = 2147483647; 550 | files = ( 551 | ); 552 | runOnlyForDeploymentPostprocessing = 0; 553 | }; 554 | 52D6D9EE1BEFFFBE002C0205 /* Resources */ = { 555 | isa = PBXResourcesBuildPhase; 556 | buildActionMask = 2147483647; 557 | files = ( 558 | ); 559 | runOnlyForDeploymentPostprocessing = 0; 560 | }; 561 | 52D6DA0D1BF000BD002C0205 /* Resources */ = { 562 | isa = PBXResourcesBuildPhase; 563 | buildActionMask = 2147483647; 564 | files = ( 565 | ); 566 | runOnlyForDeploymentPostprocessing = 0; 567 | }; 568 | DD7502781C68FCFC006590AF /* Resources */ = { 569 | isa = PBXResourcesBuildPhase; 570 | buildActionMask = 2147483647; 571 | files = ( 572 | ); 573 | runOnlyForDeploymentPostprocessing = 0; 574 | }; 575 | DD75028B1C690C7A006590AF /* Resources */ = { 576 | isa = PBXResourcesBuildPhase; 577 | buildActionMask = 2147483647; 578 | files = ( 579 | ); 580 | runOnlyForDeploymentPostprocessing = 0; 581 | }; 582 | /* End PBXResourcesBuildPhase section */ 583 | 584 | /* Begin PBXSourcesBuildPhase section */ 585 | 041DFCEB1F17F47500FB048E /* Sources */ = { 586 | isa = PBXSourcesBuildPhase; 587 | buildActionMask = 2147483647; 588 | files = ( 589 | 041DFCF41F17F47500FB048E /* ViewController.swift in Sources */, 590 | 041DFCF21F17F47500FB048E /* AppDelegate.swift in Sources */, 591 | ); 592 | runOnlyForDeploymentPostprocessing = 0; 593 | }; 594 | 52D6D9771BEFF229002C0205 /* Sources */ = { 595 | isa = PBXSourcesBuildPhase; 596 | buildActionMask = 2147483647; 597 | files = ( 598 | 8933C7851EB5B820000D00A4 /* EasedGradient.swift in Sources */, 599 | 041DFCDD1F17F18600FB048E /* EasingCurve.swift in Sources */, 600 | 041DFCD81F17F11D00FB048E /* Comparable+Clamp.swift in Sources */, 601 | 041DFCE71F17F26D00FB048E /* Gradient.swift in Sources */, 602 | ); 603 | runOnlyForDeploymentPostprocessing = 0; 604 | }; 605 | 52D6D9821BEFF229002C0205 /* Sources */ = { 606 | isa = PBXSourcesBuildPhase; 607 | buildActionMask = 2147483647; 608 | files = ( 609 | 8933C7901EB5B82D000D00A4 /* EasedGradientTests.swift in Sources */, 610 | ); 611 | runOnlyForDeploymentPostprocessing = 0; 612 | }; 613 | 52D6D9DD1BEFFF6E002C0205 /* Sources */ = { 614 | isa = PBXSourcesBuildPhase; 615 | buildActionMask = 2147483647; 616 | files = ( 617 | 8933C7871EB5B820000D00A4 /* EasedGradient.swift in Sources */, 618 | 041DFCDF1F17F18600FB048E /* EasingCurve.swift in Sources */, 619 | 041DFCDA1F17F11D00FB048E /* Comparable+Clamp.swift in Sources */, 620 | 041DFCE91F17F26D00FB048E /* Gradient.swift in Sources */, 621 | ); 622 | runOnlyForDeploymentPostprocessing = 0; 623 | }; 624 | 52D6D9EB1BEFFFBE002C0205 /* Sources */ = { 625 | isa = PBXSourcesBuildPhase; 626 | buildActionMask = 2147483647; 627 | files = ( 628 | 8933C7881EB5B820000D00A4 /* EasedGradient.swift in Sources */, 629 | 041DFCE01F17F18600FB048E /* EasingCurve.swift in Sources */, 630 | 041DFCDB1F17F11D00FB048E /* Comparable+Clamp.swift in Sources */, 631 | 041DFCEA1F17F26D00FB048E /* Gradient.swift in Sources */, 632 | ); 633 | runOnlyForDeploymentPostprocessing = 0; 634 | }; 635 | 52D6DA0A1BF000BD002C0205 /* Sources */ = { 636 | isa = PBXSourcesBuildPhase; 637 | buildActionMask = 2147483647; 638 | files = ( 639 | 8933C7861EB5B820000D00A4 /* EasedGradient.swift in Sources */, 640 | 041DFCDE1F17F18600FB048E /* EasingCurve.swift in Sources */, 641 | 041DFCD91F17F11D00FB048E /* Comparable+Clamp.swift in Sources */, 642 | 041DFCE81F17F26D00FB048E /* Gradient.swift in Sources */, 643 | ); 644 | runOnlyForDeploymentPostprocessing = 0; 645 | }; 646 | DD7502761C68FCFC006590AF /* Sources */ = { 647 | isa = PBXSourcesBuildPhase; 648 | buildActionMask = 2147483647; 649 | files = ( 650 | 8933C78F1EB5B82C000D00A4 /* EasedGradientTests.swift in Sources */, 651 | ); 652 | runOnlyForDeploymentPostprocessing = 0; 653 | }; 654 | DD7502891C690C7A006590AF /* Sources */ = { 655 | isa = PBXSourcesBuildPhase; 656 | buildActionMask = 2147483647; 657 | files = ( 658 | 8933C78E1EB5B82C000D00A4 /* EasedGradientTests.swift in Sources */, 659 | ); 660 | runOnlyForDeploymentPostprocessing = 0; 661 | }; 662 | /* End PBXSourcesBuildPhase section */ 663 | 664 | /* Begin PBXTargetDependency section */ 665 | 041DFD051F17F7DC00FB048E /* PBXTargetDependency */ = { 666 | isa = PBXTargetDependency; 667 | target = 52D6D97B1BEFF229002C0205 /* EasedGradient-iOS */; 668 | targetProxy = 041DFD041F17F7DC00FB048E /* PBXContainerItemProxy */; 669 | }; 670 | 52D6D9891BEFF229002C0205 /* PBXTargetDependency */ = { 671 | isa = PBXTargetDependency; 672 | target = 52D6D97B1BEFF229002C0205 /* EasedGradient-iOS */; 673 | targetProxy = 52D6D9881BEFF229002C0205 /* PBXContainerItemProxy */; 674 | }; 675 | DD7502811C68FCFC006590AF /* PBXTargetDependency */ = { 676 | isa = PBXTargetDependency; 677 | target = 52D6DA0E1BF000BD002C0205 /* EasedGradient-macOS */; 678 | targetProxy = DD7502801C68FCFC006590AF /* PBXContainerItemProxy */; 679 | }; 680 | DD7502941C690C7A006590AF /* PBXTargetDependency */ = { 681 | isa = PBXTargetDependency; 682 | target = 52D6D9EF1BEFFFBE002C0205 /* EasedGradient-tvOS */; 683 | targetProxy = DD7502931C690C7A006590AF /* PBXContainerItemProxy */; 684 | }; 685 | /* End PBXTargetDependency section */ 686 | 687 | /* Begin PBXVariantGroup section */ 688 | 041DFCF51F17F47500FB048E /* Main.storyboard */ = { 689 | isa = PBXVariantGroup; 690 | children = ( 691 | 041DFCF61F17F47500FB048E /* Base */, 692 | ); 693 | name = Main.storyboard; 694 | sourceTree = ""; 695 | }; 696 | 041DFCFA1F17F47500FB048E /* LaunchScreen.storyboard */ = { 697 | isa = PBXVariantGroup; 698 | children = ( 699 | 041DFCFB1F17F47500FB048E /* Base */, 700 | ); 701 | name = LaunchScreen.storyboard; 702 | sourceTree = ""; 703 | }; 704 | /* End PBXVariantGroup section */ 705 | 706 | /* Begin XCBuildConfiguration section */ 707 | 041DFCFF1F17F47500FB048E /* Debug */ = { 708 | isa = XCBuildConfiguration; 709 | buildSettings = { 710 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 711 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 712 | CLANG_ANALYZER_NONNULL = YES; 713 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 714 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 715 | INFOPLIST_FILE = "EasedGradient-Example/Info.plist"; 716 | IPHONEOS_DEPLOYMENT_TARGET = 10.3; 717 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 718 | PRODUCT_BUNDLE_IDENTIFIER = "com.johansorensen.EasedGradient-Example"; 719 | PRODUCT_NAME = "$(TARGET_NAME)"; 720 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 721 | SWIFT_VERSION = 3.0; 722 | }; 723 | name = Debug; 724 | }; 725 | 041DFD001F17F47500FB048E /* Release */ = { 726 | isa = XCBuildConfiguration; 727 | buildSettings = { 728 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 729 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 730 | CLANG_ANALYZER_NONNULL = YES; 731 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 732 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 733 | INFOPLIST_FILE = "EasedGradient-Example/Info.plist"; 734 | IPHONEOS_DEPLOYMENT_TARGET = 10.3; 735 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 736 | PRODUCT_BUNDLE_IDENTIFIER = "com.johansorensen.EasedGradient-Example"; 737 | PRODUCT_NAME = "$(TARGET_NAME)"; 738 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 739 | SWIFT_VERSION = 3.0; 740 | }; 741 | name = Release; 742 | }; 743 | 52D6D98E1BEFF229002C0205 /* Debug */ = { 744 | isa = XCBuildConfiguration; 745 | buildSettings = { 746 | ALWAYS_SEARCH_USER_PATHS = NO; 747 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 748 | CLANG_CXX_LIBRARY = "libc++"; 749 | CLANG_ENABLE_MODULES = YES; 750 | CLANG_ENABLE_OBJC_ARC = YES; 751 | CLANG_WARN_BOOL_CONVERSION = YES; 752 | CLANG_WARN_CONSTANT_CONVERSION = YES; 753 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 754 | CLANG_WARN_EMPTY_BODY = YES; 755 | CLANG_WARN_ENUM_CONVERSION = YES; 756 | CLANG_WARN_INFINITE_RECURSION = YES; 757 | CLANG_WARN_INT_CONVERSION = YES; 758 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 759 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 760 | CLANG_WARN_UNREACHABLE_CODE = YES; 761 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 762 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 763 | COPY_PHASE_STRIP = NO; 764 | CURRENT_PROJECT_VERSION = 1; 765 | DEBUG_INFORMATION_FORMAT = dwarf; 766 | ENABLE_STRICT_OBJC_MSGSEND = YES; 767 | ENABLE_TESTABILITY = YES; 768 | GCC_C_LANGUAGE_STANDARD = gnu99; 769 | GCC_DYNAMIC_NO_PIC = NO; 770 | GCC_NO_COMMON_BLOCKS = YES; 771 | GCC_OPTIMIZATION_LEVEL = 0; 772 | GCC_PREPROCESSOR_DEFINITIONS = ( 773 | "DEBUG=1", 774 | "$(inherited)", 775 | ); 776 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 777 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 778 | GCC_WARN_UNDECLARED_SELECTOR = YES; 779 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 780 | GCC_WARN_UNUSED_FUNCTION = YES; 781 | GCC_WARN_UNUSED_VARIABLE = YES; 782 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 783 | MTL_ENABLE_DEBUG_INFO = YES; 784 | ONLY_ACTIVE_ARCH = YES; 785 | SDKROOT = iphoneos; 786 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 787 | SWIFT_VERSION = 3.0; 788 | TARGETED_DEVICE_FAMILY = "1,2"; 789 | VERSIONING_SYSTEM = "apple-generic"; 790 | VERSION_INFO_PREFIX = ""; 791 | }; 792 | name = Debug; 793 | }; 794 | 52D6D98F1BEFF229002C0205 /* Release */ = { 795 | isa = XCBuildConfiguration; 796 | buildSettings = { 797 | ALWAYS_SEARCH_USER_PATHS = NO; 798 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 799 | CLANG_CXX_LIBRARY = "libc++"; 800 | CLANG_ENABLE_MODULES = YES; 801 | CLANG_ENABLE_OBJC_ARC = YES; 802 | CLANG_WARN_BOOL_CONVERSION = YES; 803 | CLANG_WARN_CONSTANT_CONVERSION = YES; 804 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 805 | CLANG_WARN_EMPTY_BODY = YES; 806 | CLANG_WARN_ENUM_CONVERSION = YES; 807 | CLANG_WARN_INFINITE_RECURSION = YES; 808 | CLANG_WARN_INT_CONVERSION = YES; 809 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 810 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 811 | CLANG_WARN_UNREACHABLE_CODE = YES; 812 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 813 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 814 | COPY_PHASE_STRIP = NO; 815 | CURRENT_PROJECT_VERSION = 1; 816 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 817 | ENABLE_NS_ASSERTIONS = NO; 818 | ENABLE_STRICT_OBJC_MSGSEND = YES; 819 | GCC_C_LANGUAGE_STANDARD = gnu99; 820 | GCC_NO_COMMON_BLOCKS = YES; 821 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 822 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 823 | GCC_WARN_UNDECLARED_SELECTOR = YES; 824 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 825 | GCC_WARN_UNUSED_FUNCTION = YES; 826 | GCC_WARN_UNUSED_VARIABLE = YES; 827 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 828 | MTL_ENABLE_DEBUG_INFO = NO; 829 | SDKROOT = iphoneos; 830 | SWIFT_VERSION = 3.0; 831 | TARGETED_DEVICE_FAMILY = "1,2"; 832 | VALIDATE_PRODUCT = YES; 833 | VERSIONING_SYSTEM = "apple-generic"; 834 | VERSION_INFO_PREFIX = ""; 835 | }; 836 | name = Release; 837 | }; 838 | 52D6D9911BEFF229002C0205 /* Debug */ = { 839 | isa = XCBuildConfiguration; 840 | buildSettings = { 841 | APPLICATION_EXTENSION_API_ONLY = YES; 842 | CLANG_ENABLE_MODULES = YES; 843 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 844 | DEFINES_MODULE = YES; 845 | DYLIB_COMPATIBILITY_VERSION = 1; 846 | DYLIB_CURRENT_VERSION = 1; 847 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 848 | INFOPLIST_FILE = Configs/EasedGradient.plist; 849 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 850 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 851 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 852 | ONLY_ACTIVE_ARCH = NO; 853 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-iOS"; 854 | PRODUCT_NAME = EasedGradient; 855 | SKIP_INSTALL = YES; 856 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 857 | SWIFT_VERSION = 3.0; 858 | }; 859 | name = Debug; 860 | }; 861 | 52D6D9921BEFF229002C0205 /* Release */ = { 862 | isa = XCBuildConfiguration; 863 | buildSettings = { 864 | APPLICATION_EXTENSION_API_ONLY = YES; 865 | CLANG_ENABLE_MODULES = YES; 866 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 867 | DEFINES_MODULE = YES; 868 | DYLIB_COMPATIBILITY_VERSION = 1; 869 | DYLIB_CURRENT_VERSION = 1; 870 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 871 | INFOPLIST_FILE = Configs/EasedGradient.plist; 872 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 873 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 874 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 875 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-iOS"; 876 | PRODUCT_NAME = EasedGradient; 877 | SKIP_INSTALL = YES; 878 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 879 | SWIFT_VERSION = 3.0; 880 | }; 881 | name = Release; 882 | }; 883 | 52D6D9941BEFF229002C0205 /* Debug */ = { 884 | isa = XCBuildConfiguration; 885 | buildSettings = { 886 | CLANG_ENABLE_MODULES = YES; 887 | INFOPLIST_FILE = Configs/EasedGradientTests.plist; 888 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 889 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-iOS-Tests"; 890 | PRODUCT_NAME = "$(TARGET_NAME)"; 891 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 892 | SWIFT_VERSION = 3.0; 893 | }; 894 | name = Debug; 895 | }; 896 | 52D6D9951BEFF229002C0205 /* Release */ = { 897 | isa = XCBuildConfiguration; 898 | buildSettings = { 899 | CLANG_ENABLE_MODULES = YES; 900 | INFOPLIST_FILE = Configs/EasedGradientTests.plist; 901 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 902 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-iOS-Tests"; 903 | PRODUCT_NAME = "$(TARGET_NAME)"; 904 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 905 | SWIFT_VERSION = 3.0; 906 | }; 907 | name = Release; 908 | }; 909 | 52D6D9E81BEFFF6E002C0205 /* Debug */ = { 910 | isa = XCBuildConfiguration; 911 | buildSettings = { 912 | APPLICATION_EXTENSION_API_ONLY = YES; 913 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 914 | DEFINES_MODULE = YES; 915 | DYLIB_COMPATIBILITY_VERSION = 1; 916 | DYLIB_CURRENT_VERSION = 1; 917 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 918 | INFOPLIST_FILE = Configs/EasedGradient.plist; 919 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 920 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 921 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-watchOS"; 922 | PRODUCT_NAME = EasedGradient; 923 | SDKROOT = watchos; 924 | SKIP_INSTALL = YES; 925 | SWIFT_VERSION = 3.0; 926 | TARGETED_DEVICE_FAMILY = 4; 927 | WATCHOS_DEPLOYMENT_TARGET = 2.0; 928 | }; 929 | name = Debug; 930 | }; 931 | 52D6D9E91BEFFF6E002C0205 /* Release */ = { 932 | isa = XCBuildConfiguration; 933 | buildSettings = { 934 | APPLICATION_EXTENSION_API_ONLY = YES; 935 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 936 | DEFINES_MODULE = YES; 937 | DYLIB_COMPATIBILITY_VERSION = 1; 938 | DYLIB_CURRENT_VERSION = 1; 939 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 940 | INFOPLIST_FILE = Configs/EasedGradient.plist; 941 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 942 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 943 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-watchOS"; 944 | PRODUCT_NAME = EasedGradient; 945 | SDKROOT = watchos; 946 | SKIP_INSTALL = YES; 947 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 948 | SWIFT_VERSION = 3.0; 949 | TARGETED_DEVICE_FAMILY = 4; 950 | WATCHOS_DEPLOYMENT_TARGET = 2.0; 951 | }; 952 | name = Release; 953 | }; 954 | 52D6DA021BEFFFBE002C0205 /* Debug */ = { 955 | isa = XCBuildConfiguration; 956 | buildSettings = { 957 | APPLICATION_EXTENSION_API_ONLY = YES; 958 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 959 | DEFINES_MODULE = YES; 960 | DYLIB_COMPATIBILITY_VERSION = 1; 961 | DYLIB_CURRENT_VERSION = 1; 962 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 963 | INFOPLIST_FILE = Configs/EasedGradient.plist; 964 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 965 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 966 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-tvOS"; 967 | PRODUCT_NAME = EasedGradient; 968 | SDKROOT = appletvos; 969 | SKIP_INSTALL = YES; 970 | SWIFT_VERSION = 3.0; 971 | TARGETED_DEVICE_FAMILY = 3; 972 | TVOS_DEPLOYMENT_TARGET = 9.0; 973 | }; 974 | name = Debug; 975 | }; 976 | 52D6DA031BEFFFBE002C0205 /* Release */ = { 977 | isa = XCBuildConfiguration; 978 | buildSettings = { 979 | APPLICATION_EXTENSION_API_ONLY = YES; 980 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 981 | DEFINES_MODULE = YES; 982 | DYLIB_COMPATIBILITY_VERSION = 1; 983 | DYLIB_CURRENT_VERSION = 1; 984 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 985 | INFOPLIST_FILE = Configs/EasedGradient.plist; 986 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 987 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 988 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-tvOS"; 989 | PRODUCT_NAME = EasedGradient; 990 | SDKROOT = appletvos; 991 | SKIP_INSTALL = YES; 992 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 993 | SWIFT_VERSION = 3.0; 994 | TARGETED_DEVICE_FAMILY = 3; 995 | TVOS_DEPLOYMENT_TARGET = 9.0; 996 | }; 997 | name = Release; 998 | }; 999 | 52D6DA211BF000BD002C0205 /* Debug */ = { 1000 | isa = XCBuildConfiguration; 1001 | buildSettings = { 1002 | APPLICATION_EXTENSION_API_ONLY = YES; 1003 | CODE_SIGN_IDENTITY = "-"; 1004 | COMBINE_HIDPI_IMAGES = YES; 1005 | DEFINES_MODULE = YES; 1006 | DYLIB_COMPATIBILITY_VERSION = 1; 1007 | DYLIB_CURRENT_VERSION = 1; 1008 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 1009 | FRAMEWORK_VERSION = A; 1010 | INFOPLIST_FILE = Configs/EasedGradient.plist; 1011 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 1012 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 1013 | MACOSX_DEPLOYMENT_TARGET = 10.10; 1014 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-macOS"; 1015 | PRODUCT_NAME = EasedGradient; 1016 | SDKROOT = macosx; 1017 | SKIP_INSTALL = YES; 1018 | SWIFT_VERSION = 3.0; 1019 | }; 1020 | name = Debug; 1021 | }; 1022 | 52D6DA221BF000BD002C0205 /* Release */ = { 1023 | isa = XCBuildConfiguration; 1024 | buildSettings = { 1025 | APPLICATION_EXTENSION_API_ONLY = YES; 1026 | CODE_SIGN_IDENTITY = "-"; 1027 | COMBINE_HIDPI_IMAGES = YES; 1028 | DEFINES_MODULE = YES; 1029 | DYLIB_COMPATIBILITY_VERSION = 1; 1030 | DYLIB_CURRENT_VERSION = 1; 1031 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 1032 | FRAMEWORK_VERSION = A; 1033 | INFOPLIST_FILE = Configs/EasedGradient.plist; 1034 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 1035 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 1036 | MACOSX_DEPLOYMENT_TARGET = 10.10; 1037 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-macOS"; 1038 | PRODUCT_NAME = EasedGradient; 1039 | SDKROOT = macosx; 1040 | SKIP_INSTALL = YES; 1041 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 1042 | SWIFT_VERSION = 3.0; 1043 | }; 1044 | name = Release; 1045 | }; 1046 | DD7502831C68FCFC006590AF /* Debug */ = { 1047 | isa = XCBuildConfiguration; 1048 | buildSettings = { 1049 | CODE_SIGN_IDENTITY = "-"; 1050 | COMBINE_HIDPI_IMAGES = YES; 1051 | INFOPLIST_FILE = Configs/EasedGradientTests.plist; 1052 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; 1053 | MACOSX_DEPLOYMENT_TARGET = 10.11; 1054 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-macOS-Tests"; 1055 | PRODUCT_NAME = "$(TARGET_NAME)"; 1056 | SDKROOT = macosx; 1057 | SWIFT_VERSION = 3.0; 1058 | }; 1059 | name = Debug; 1060 | }; 1061 | DD7502841C68FCFC006590AF /* Release */ = { 1062 | isa = XCBuildConfiguration; 1063 | buildSettings = { 1064 | CODE_SIGN_IDENTITY = "-"; 1065 | COMBINE_HIDPI_IMAGES = YES; 1066 | INFOPLIST_FILE = Configs/EasedGradientTests.plist; 1067 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; 1068 | MACOSX_DEPLOYMENT_TARGET = 10.11; 1069 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-macOS-Tests"; 1070 | PRODUCT_NAME = "$(TARGET_NAME)"; 1071 | SDKROOT = macosx; 1072 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 1073 | SWIFT_VERSION = 3.0; 1074 | }; 1075 | name = Release; 1076 | }; 1077 | DD7502961C690C7A006590AF /* Debug */ = { 1078 | isa = XCBuildConfiguration; 1079 | buildSettings = { 1080 | INFOPLIST_FILE = Configs/EasedGradientTests.plist; 1081 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1082 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-tvOS-Tests"; 1083 | PRODUCT_NAME = "$(TARGET_NAME)"; 1084 | SDKROOT = appletvos; 1085 | SWIFT_VERSION = 3.0; 1086 | TVOS_DEPLOYMENT_TARGET = 9.1; 1087 | }; 1088 | name = Debug; 1089 | }; 1090 | DD7502971C690C7A006590AF /* Release */ = { 1091 | isa = XCBuildConfiguration; 1092 | buildSettings = { 1093 | INFOPLIST_FILE = Configs/EasedGradientTests.plist; 1094 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1095 | PRODUCT_BUNDLE_IDENTIFIER = "com.EasedGradient.EasedGradient-tvOS-Tests"; 1096 | PRODUCT_NAME = "$(TARGET_NAME)"; 1097 | SDKROOT = appletvos; 1098 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 1099 | SWIFT_VERSION = 3.0; 1100 | TVOS_DEPLOYMENT_TARGET = 9.1; 1101 | }; 1102 | name = Release; 1103 | }; 1104 | /* End XCBuildConfiguration section */ 1105 | 1106 | /* Begin XCConfigurationList section */ 1107 | 041DFCFE1F17F47500FB048E /* Build configuration list for PBXNativeTarget "EasedGradient-Example" */ = { 1108 | isa = XCConfigurationList; 1109 | buildConfigurations = ( 1110 | 041DFCFF1F17F47500FB048E /* Debug */, 1111 | 041DFD001F17F47500FB048E /* Release */, 1112 | ); 1113 | defaultConfigurationIsVisible = 0; 1114 | }; 1115 | 52D6D9761BEFF229002C0205 /* Build configuration list for PBXProject "EasedGradient" */ = { 1116 | isa = XCConfigurationList; 1117 | buildConfigurations = ( 1118 | 52D6D98E1BEFF229002C0205 /* Debug */, 1119 | 52D6D98F1BEFF229002C0205 /* Release */, 1120 | ); 1121 | defaultConfigurationIsVisible = 0; 1122 | defaultConfigurationName = Release; 1123 | }; 1124 | 52D6D9901BEFF229002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-iOS" */ = { 1125 | isa = XCConfigurationList; 1126 | buildConfigurations = ( 1127 | 52D6D9911BEFF229002C0205 /* Debug */, 1128 | 52D6D9921BEFF229002C0205 /* Release */, 1129 | ); 1130 | defaultConfigurationIsVisible = 0; 1131 | defaultConfigurationName = Release; 1132 | }; 1133 | 52D6D9931BEFF229002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-iOS Tests" */ = { 1134 | isa = XCConfigurationList; 1135 | buildConfigurations = ( 1136 | 52D6D9941BEFF229002C0205 /* Debug */, 1137 | 52D6D9951BEFF229002C0205 /* Release */, 1138 | ); 1139 | defaultConfigurationIsVisible = 0; 1140 | defaultConfigurationName = Release; 1141 | }; 1142 | 52D6D9E71BEFFF6E002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-watchOS" */ = { 1143 | isa = XCConfigurationList; 1144 | buildConfigurations = ( 1145 | 52D6D9E81BEFFF6E002C0205 /* Debug */, 1146 | 52D6D9E91BEFFF6E002C0205 /* Release */, 1147 | ); 1148 | defaultConfigurationIsVisible = 0; 1149 | defaultConfigurationName = Release; 1150 | }; 1151 | 52D6DA011BEFFFBE002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-tvOS" */ = { 1152 | isa = XCConfigurationList; 1153 | buildConfigurations = ( 1154 | 52D6DA021BEFFFBE002C0205 /* Debug */, 1155 | 52D6DA031BEFFFBE002C0205 /* Release */, 1156 | ); 1157 | defaultConfigurationIsVisible = 0; 1158 | defaultConfigurationName = Release; 1159 | }; 1160 | 52D6DA201BF000BD002C0205 /* Build configuration list for PBXNativeTarget "EasedGradient-macOS" */ = { 1161 | isa = XCConfigurationList; 1162 | buildConfigurations = ( 1163 | 52D6DA211BF000BD002C0205 /* Debug */, 1164 | 52D6DA221BF000BD002C0205 /* Release */, 1165 | ); 1166 | defaultConfigurationIsVisible = 0; 1167 | defaultConfigurationName = Release; 1168 | }; 1169 | DD7502821C68FCFC006590AF /* Build configuration list for PBXNativeTarget "EasedGradient-macOS Tests" */ = { 1170 | isa = XCConfigurationList; 1171 | buildConfigurations = ( 1172 | DD7502831C68FCFC006590AF /* Debug */, 1173 | DD7502841C68FCFC006590AF /* Release */, 1174 | ); 1175 | defaultConfigurationIsVisible = 0; 1176 | defaultConfigurationName = Release; 1177 | }; 1178 | DD7502951C690C7A006590AF /* Build configuration list for PBXNativeTarget "EasedGradient-tvOS Tests" */ = { 1179 | isa = XCConfigurationList; 1180 | buildConfigurations = ( 1181 | DD7502961C690C7A006590AF /* Debug */, 1182 | DD7502971C690C7A006590AF /* Release */, 1183 | ); 1184 | defaultConfigurationIsVisible = 0; 1185 | defaultConfigurationName = Release; 1186 | }; 1187 | /* End XCConfigurationList section */ 1188 | }; 1189 | rootObject = 52D6D9731BEFF229002C0205 /* Project object */; 1190 | } 1191 | --------------------------------------------------------------------------------