├── ANCustomView.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata ├── xcuserdata │ └── anand.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist └── project.pbxproj ├── README.md ├── ANCustomView ├── ViewController.swift ├── Info.plist ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── AppDelegate.swift └── Source │ └── ANCustomView.swift ├── ANCustomViewTests ├── Info.plist └── ANCustomViewTests.swift ├── ANCustomViewUITests ├── Info.plist └── ANCustomViewUITests.swift └── LICENSE /ANCustomView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ANCustomView 2 | Blog for @IBDesignable and @IBInspectable in Swift for make Custom View. 3 | 4 | [Blog Video](https://youtu.be/7LyEqvAiz_A) 5 | 6 | Check out my full blog from [here.](https://medium.com/@nimjea/ibdesignable-and-ibinspectable-in-swift-c12ea557b82b) 7 | -------------------------------------------------------------------------------- /ANCustomView.xcodeproj/xcuserdata/anand.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ANCustomView.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ANCustomView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // ANCustomView 4 | // 5 | // Created by Anand Nimje on 28/01/18. 6 | // Copyright © 2018 Anand. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | @IBOutlet weak var viewCircle: ANCustomView! 14 | 15 | override func viewDidLoad() { 16 | super.viewDidLoad() 17 | 18 | } 19 | 20 | @IBAction func actionAnimateView(_ sender: UIButton) { 21 | //Animation for View here 22 | viewCircle.AnimateView() 23 | } 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /ANCustomViewTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /ANCustomViewUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Anand Nimje 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 | -------------------------------------------------------------------------------- /ANCustomViewTests/ANCustomViewTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ANCustomViewTests.swift 3 | // ANCustomViewTests 4 | // 5 | // Created by Anand Nimje on 28/01/18. 6 | // Copyright © 2018 Anand. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import ANCustomView 11 | 12 | class ANCustomViewTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measure { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /ANCustomViewUITests/ANCustomViewUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ANCustomViewUITests.swift 3 | // ANCustomViewUITests 4 | // 5 | // Created by Anand Nimje on 28/01/18. 6 | // Copyright © 2018 Anand. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class ANCustomViewUITests: XCTestCase { 12 | 13 | override func setUp() { 14 | super.setUp() 15 | 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | 18 | // In UI tests it is usually best to stop immediately when a failure occurs. 19 | continueAfterFailure = false 20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 21 | XCUIApplication().launch() 22 | 23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 24 | } 25 | 26 | override func tearDown() { 27 | // Put teardown code here. This method is called after the invocation of each test method in the class. 28 | super.tearDown() 29 | } 30 | 31 | func testExample() { 32 | // Use recording to get started writing UI tests. 33 | // Use XCTAssert and related functions to verify your tests produce the correct results. 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /ANCustomView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ANCustomView/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 | -------------------------------------------------------------------------------- /ANCustomView/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | } 88 | ], 89 | "info" : { 90 | "version" : 1, 91 | "author" : "xcode" 92 | } 93 | } -------------------------------------------------------------------------------- /ANCustomView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ANCustomView 4 | // 5 | // Created by Anand Nimje on 28/01/18. 6 | // Copyright © 2018 Anand. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /ANCustomView/Source/ANCustomView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ANCustomView.swift 3 | // UIViewLaywerEffect 4 | // 5 | // Created by ANSCoder on 14/01/16. 6 | // Copyright © 2016 Anand. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | import QuartzCore 12 | 13 | /// Computed properties, based on the backing CALayer property, that are visible in Interface Builder. 14 | @IBDesignable open class ANCustomView: UIView { 15 | 16 | /// When positive, the background of the layer will be drawn with rounded corners. Also effects the mask generated by the `masksToBounds' property. Defaults to zero. Animatable. 17 | @IBInspectable var cornerRadius: Double { 18 | get { 19 | return Double(self.layer.cornerRadius) 20 | } 21 | set { 22 | self.layer.cornerRadius = CGFloat(newValue) 23 | } 24 | } 25 | 26 | /// The width of the layer's border, inset from the layer bounds. The border is composited above the layer's content and sublayers and includes the effects of the `cornerRadius' property. Defaults to zero. Animatable. 27 | @IBInspectable var borderWidth: Double { 28 | get { 29 | return Double(self.layer.borderWidth) 30 | } 31 | set { 32 | self.layer.borderWidth = CGFloat(newValue) 33 | } 34 | } 35 | 36 | /// The color of the layer's border. Defaults to opaque black. Colors created from tiled patterns are supported. Animatable. 37 | @IBInspectable var borderColor: UIColor? { 38 | get { 39 | return UIColor(cgColor: self.layer.borderColor!) 40 | } 41 | set { 42 | self.layer.borderColor = newValue?.cgColor 43 | } 44 | } 45 | 46 | /// The color of the shadow. Defaults to opaque black. Colors created from patterns are currently NOT supported. Animatable. 47 | @IBInspectable var shadowColor: UIColor? { 48 | get { 49 | return UIColor(cgColor: self.layer.shadowColor!) 50 | } 51 | set { 52 | self.layer.shadowColor = newValue?.cgColor 53 | } 54 | } 55 | 56 | /// The opacity of the shadow. Defaults to 0. Specifying a value outside the [0,1] range will give undefined results. Animatable. 57 | @IBInspectable var shadowOpacity: Float { 58 | get { 59 | return self.layer.shadowOpacity 60 | } 61 | set { 62 | self.layer.shadowOpacity = newValue 63 | } 64 | } 65 | 66 | /// The shadow offset. Defaults to (0, -3). Animatable. 67 | @IBInspectable var shadowOffset: CGSize { 68 | get { 69 | return self.layer.shadowOffset 70 | } 71 | set { 72 | self.layer.shadowOffset = newValue 73 | } 74 | } 75 | 76 | /// The blur radius used to create the shadow. Defaults to 3. Animatable. 77 | @IBInspectable var shadowRadius: Double { 78 | get { 79 | return Double(self.layer.shadowRadius) 80 | } 81 | set { 82 | self.layer.shadowRadius = CGFloat(newValue) 83 | } 84 | } 85 | } 86 | 87 | // Call this Function only, access from any where in your project 88 | 89 | // Default values here 90 | private let animationDuration: TimeInterval = 1.0 91 | private let deleyTime: TimeInterval = 0 92 | private let springDamping: CGFloat = 0.25 93 | private let lowSpringDamping: CGFloat = 0.50 94 | private let springVelocity: CGFloat = 8.00 95 | 96 | extension ANCustomView { 97 | 98 | //MARK:- Default Animation here 99 | public func AnimateView(){ 100 | provideAnimation(animationDuration: animationDuration, deleyTime: deleyTime, springDamping: springDamping, springVelocity: springVelocity) 101 | } 102 | 103 | //MARK:- Custom Animation here 104 | public func AnimateViewWithSpringDuration(_ name:UIView, animationDuration:TimeInterval, springDamping:CGFloat, springVelocity:CGFloat){ 105 | provideAnimation(animationDuration: animationDuration, deleyTime: deleyTime, springDamping: springDamping, springVelocity: springVelocity) 106 | } 107 | 108 | //MARK:- Low Damping Custom Animation here 109 | public func AnimateViewWithSpringDurationWithLowDamping(_ name:UIView, animationDuration:TimeInterval, springVelocity:CGFloat){ 110 | provideAnimation(animationDuration: animationDuration, deleyTime: deleyTime, springDamping: lowSpringDamping, springVelocity: springVelocity) 111 | } 112 | 113 | private func provideAnimation(animationDuration:TimeInterval, deleyTime:TimeInterval, springDamping:CGFloat, springVelocity:CGFloat){ 114 | self.transform = CGAffineTransform(scaleX: 0.1, y: 0.1) 115 | UIView.animate(withDuration: animationDuration, 116 | delay: deleyTime, 117 | usingSpringWithDamping: springDamping, 118 | initialSpringVelocity: springVelocity, 119 | options: .allowUserInteraction, 120 | animations: { 121 | self.transform = CGAffineTransform.identity 122 | }) 123 | } 124 | } 125 | 126 | -------------------------------------------------------------------------------- /ANCustomView/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /ANCustomView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 48; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 170A1410201DBF98004E8F2C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 170A140F201DBF98004E8F2C /* AppDelegate.swift */; }; 11 | 170A1412201DBF98004E8F2C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 170A1411201DBF98004E8F2C /* ViewController.swift */; }; 12 | 170A1415201DBF98004E8F2C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 170A1413201DBF98004E8F2C /* Main.storyboard */; }; 13 | 170A1417201DBF99004E8F2C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 170A1416201DBF99004E8F2C /* Assets.xcassets */; }; 14 | 170A141A201DBF99004E8F2C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 170A1418201DBF99004E8F2C /* LaunchScreen.storyboard */; }; 15 | 170A1425201DBF99004E8F2C /* ANCustomViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 170A1424201DBF99004E8F2C /* ANCustomViewTests.swift */; }; 16 | 170A1430201DBF99004E8F2C /* ANCustomViewUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 170A142F201DBF99004E8F2C /* ANCustomViewUITests.swift */; }; 17 | 170A143E201DBFA9004E8F2C /* ANCustomView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 170A143D201DBFA9004E8F2C /* ANCustomView.swift */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 170A1421201DBF99004E8F2C /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 170A1404201DBF98004E8F2C /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 170A140B201DBF98004E8F2C; 26 | remoteInfo = ANCustomView; 27 | }; 28 | 170A142C201DBF99004E8F2C /* PBXContainerItemProxy */ = { 29 | isa = PBXContainerItemProxy; 30 | containerPortal = 170A1404201DBF98004E8F2C /* Project object */; 31 | proxyType = 1; 32 | remoteGlobalIDString = 170A140B201DBF98004E8F2C; 33 | remoteInfo = ANCustomView; 34 | }; 35 | /* End PBXContainerItemProxy section */ 36 | 37 | /* Begin PBXFileReference section */ 38 | 170A140C201DBF98004E8F2C /* ANCustomView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ANCustomView.app; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 170A140F201DBF98004E8F2C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 170A1411201DBF98004E8F2C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 41 | 170A1414201DBF98004E8F2C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 170A1416201DBF99004E8F2C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 43 | 170A1419201DBF99004E8F2C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 44 | 170A141B201DBF99004E8F2C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 170A1420201DBF99004E8F2C /* ANCustomViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ANCustomViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 170A1424201DBF99004E8F2C /* ANCustomViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ANCustomViewTests.swift; sourceTree = ""; }; 47 | 170A1426201DBF99004E8F2C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 170A142B201DBF99004E8F2C /* ANCustomViewUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ANCustomViewUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 170A142F201DBF99004E8F2C /* ANCustomViewUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ANCustomViewUITests.swift; sourceTree = ""; }; 50 | 170A1431201DBF99004E8F2C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | 170A143D201DBFA9004E8F2C /* ANCustomView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ANCustomView.swift; sourceTree = ""; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 170A1409201DBF98004E8F2C /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | ); 60 | runOnlyForDeploymentPostprocessing = 0; 61 | }; 62 | 170A141D201DBF99004E8F2C /* Frameworks */ = { 63 | isa = PBXFrameworksBuildPhase; 64 | buildActionMask = 2147483647; 65 | files = ( 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | 170A1428201DBF99004E8F2C /* Frameworks */ = { 70 | isa = PBXFrameworksBuildPhase; 71 | buildActionMask = 2147483647; 72 | files = ( 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | /* End PBXFrameworksBuildPhase section */ 77 | 78 | /* Begin PBXGroup section */ 79 | 170A1403201DBF98004E8F2C = { 80 | isa = PBXGroup; 81 | children = ( 82 | 170A140E201DBF98004E8F2C /* ANCustomView */, 83 | 170A1423201DBF99004E8F2C /* ANCustomViewTests */, 84 | 170A142E201DBF99004E8F2C /* ANCustomViewUITests */, 85 | 170A140D201DBF98004E8F2C /* Products */, 86 | ); 87 | sourceTree = ""; 88 | }; 89 | 170A140D201DBF98004E8F2C /* Products */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 170A140C201DBF98004E8F2C /* ANCustomView.app */, 93 | 170A1420201DBF99004E8F2C /* ANCustomViewTests.xctest */, 94 | 170A142B201DBF99004E8F2C /* ANCustomViewUITests.xctest */, 95 | ); 96 | name = Products; 97 | sourceTree = ""; 98 | }; 99 | 170A140E201DBF98004E8F2C /* ANCustomView */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 170A143F201DBFB2004E8F2C /* Source */, 103 | 170A140F201DBF98004E8F2C /* AppDelegate.swift */, 104 | 170A1411201DBF98004E8F2C /* ViewController.swift */, 105 | 170A1413201DBF98004E8F2C /* Main.storyboard */, 106 | 170A1416201DBF99004E8F2C /* Assets.xcassets */, 107 | 170A1418201DBF99004E8F2C /* LaunchScreen.storyboard */, 108 | 170A141B201DBF99004E8F2C /* Info.plist */, 109 | ); 110 | path = ANCustomView; 111 | sourceTree = ""; 112 | }; 113 | 170A1423201DBF99004E8F2C /* ANCustomViewTests */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 170A1424201DBF99004E8F2C /* ANCustomViewTests.swift */, 117 | 170A1426201DBF99004E8F2C /* Info.plist */, 118 | ); 119 | path = ANCustomViewTests; 120 | sourceTree = ""; 121 | }; 122 | 170A142E201DBF99004E8F2C /* ANCustomViewUITests */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | 170A142F201DBF99004E8F2C /* ANCustomViewUITests.swift */, 126 | 170A1431201DBF99004E8F2C /* Info.plist */, 127 | ); 128 | path = ANCustomViewUITests; 129 | sourceTree = ""; 130 | }; 131 | 170A143F201DBFB2004E8F2C /* Source */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 170A143D201DBFA9004E8F2C /* ANCustomView.swift */, 135 | ); 136 | path = Source; 137 | sourceTree = ""; 138 | }; 139 | /* End PBXGroup section */ 140 | 141 | /* Begin PBXNativeTarget section */ 142 | 170A140B201DBF98004E8F2C /* ANCustomView */ = { 143 | isa = PBXNativeTarget; 144 | buildConfigurationList = 170A1434201DBF99004E8F2C /* Build configuration list for PBXNativeTarget "ANCustomView" */; 145 | buildPhases = ( 146 | 170A1408201DBF98004E8F2C /* Sources */, 147 | 170A1409201DBF98004E8F2C /* Frameworks */, 148 | 170A140A201DBF98004E8F2C /* Resources */, 149 | ); 150 | buildRules = ( 151 | ); 152 | dependencies = ( 153 | ); 154 | name = ANCustomView; 155 | productName = ANCustomView; 156 | productReference = 170A140C201DBF98004E8F2C /* ANCustomView.app */; 157 | productType = "com.apple.product-type.application"; 158 | }; 159 | 170A141F201DBF99004E8F2C /* ANCustomViewTests */ = { 160 | isa = PBXNativeTarget; 161 | buildConfigurationList = 170A1437201DBF99004E8F2C /* Build configuration list for PBXNativeTarget "ANCustomViewTests" */; 162 | buildPhases = ( 163 | 170A141C201DBF99004E8F2C /* Sources */, 164 | 170A141D201DBF99004E8F2C /* Frameworks */, 165 | 170A141E201DBF99004E8F2C /* Resources */, 166 | ); 167 | buildRules = ( 168 | ); 169 | dependencies = ( 170 | 170A1422201DBF99004E8F2C /* PBXTargetDependency */, 171 | ); 172 | name = ANCustomViewTests; 173 | productName = ANCustomViewTests; 174 | productReference = 170A1420201DBF99004E8F2C /* ANCustomViewTests.xctest */; 175 | productType = "com.apple.product-type.bundle.unit-test"; 176 | }; 177 | 170A142A201DBF99004E8F2C /* ANCustomViewUITests */ = { 178 | isa = PBXNativeTarget; 179 | buildConfigurationList = 170A143A201DBF99004E8F2C /* Build configuration list for PBXNativeTarget "ANCustomViewUITests" */; 180 | buildPhases = ( 181 | 170A1427201DBF99004E8F2C /* Sources */, 182 | 170A1428201DBF99004E8F2C /* Frameworks */, 183 | 170A1429201DBF99004E8F2C /* Resources */, 184 | ); 185 | buildRules = ( 186 | ); 187 | dependencies = ( 188 | 170A142D201DBF99004E8F2C /* PBXTargetDependency */, 189 | ); 190 | name = ANCustomViewUITests; 191 | productName = ANCustomViewUITests; 192 | productReference = 170A142B201DBF99004E8F2C /* ANCustomViewUITests.xctest */; 193 | productType = "com.apple.product-type.bundle.ui-testing"; 194 | }; 195 | /* End PBXNativeTarget section */ 196 | 197 | /* Begin PBXProject section */ 198 | 170A1404201DBF98004E8F2C /* Project object */ = { 199 | isa = PBXProject; 200 | attributes = { 201 | LastSwiftUpdateCheck = 0920; 202 | LastUpgradeCheck = 0920; 203 | ORGANIZATIONNAME = Anand; 204 | TargetAttributes = { 205 | 170A140B201DBF98004E8F2C = { 206 | CreatedOnToolsVersion = 9.2; 207 | ProvisioningStyle = Automatic; 208 | }; 209 | 170A141F201DBF99004E8F2C = { 210 | CreatedOnToolsVersion = 9.2; 211 | ProvisioningStyle = Automatic; 212 | TestTargetID = 170A140B201DBF98004E8F2C; 213 | }; 214 | 170A142A201DBF99004E8F2C = { 215 | CreatedOnToolsVersion = 9.2; 216 | ProvisioningStyle = Automatic; 217 | TestTargetID = 170A140B201DBF98004E8F2C; 218 | }; 219 | }; 220 | }; 221 | buildConfigurationList = 170A1407201DBF98004E8F2C /* Build configuration list for PBXProject "ANCustomView" */; 222 | compatibilityVersion = "Xcode 8.0"; 223 | developmentRegion = en; 224 | hasScannedForEncodings = 0; 225 | knownRegions = ( 226 | en, 227 | Base, 228 | ); 229 | mainGroup = 170A1403201DBF98004E8F2C; 230 | productRefGroup = 170A140D201DBF98004E8F2C /* Products */; 231 | projectDirPath = ""; 232 | projectRoot = ""; 233 | targets = ( 234 | 170A140B201DBF98004E8F2C /* ANCustomView */, 235 | 170A141F201DBF99004E8F2C /* ANCustomViewTests */, 236 | 170A142A201DBF99004E8F2C /* ANCustomViewUITests */, 237 | ); 238 | }; 239 | /* End PBXProject section */ 240 | 241 | /* Begin PBXResourcesBuildPhase section */ 242 | 170A140A201DBF98004E8F2C /* Resources */ = { 243 | isa = PBXResourcesBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | 170A141A201DBF99004E8F2C /* LaunchScreen.storyboard in Resources */, 247 | 170A1417201DBF99004E8F2C /* Assets.xcassets in Resources */, 248 | 170A1415201DBF98004E8F2C /* Main.storyboard in Resources */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | 170A141E201DBF99004E8F2C /* Resources */ = { 253 | isa = PBXResourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | 170A1429201DBF99004E8F2C /* Resources */ = { 260 | isa = PBXResourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | /* End PBXResourcesBuildPhase section */ 267 | 268 | /* Begin PBXSourcesBuildPhase section */ 269 | 170A1408201DBF98004E8F2C /* Sources */ = { 270 | isa = PBXSourcesBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | 170A143E201DBFA9004E8F2C /* ANCustomView.swift in Sources */, 274 | 170A1412201DBF98004E8F2C /* ViewController.swift in Sources */, 275 | 170A1410201DBF98004E8F2C /* AppDelegate.swift in Sources */, 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | 170A141C201DBF99004E8F2C /* Sources */ = { 280 | isa = PBXSourcesBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | 170A1425201DBF99004E8F2C /* ANCustomViewTests.swift in Sources */, 284 | ); 285 | runOnlyForDeploymentPostprocessing = 0; 286 | }; 287 | 170A1427201DBF99004E8F2C /* Sources */ = { 288 | isa = PBXSourcesBuildPhase; 289 | buildActionMask = 2147483647; 290 | files = ( 291 | 170A1430201DBF99004E8F2C /* ANCustomViewUITests.swift in Sources */, 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | }; 295 | /* End PBXSourcesBuildPhase section */ 296 | 297 | /* Begin PBXTargetDependency section */ 298 | 170A1422201DBF99004E8F2C /* PBXTargetDependency */ = { 299 | isa = PBXTargetDependency; 300 | target = 170A140B201DBF98004E8F2C /* ANCustomView */; 301 | targetProxy = 170A1421201DBF99004E8F2C /* PBXContainerItemProxy */; 302 | }; 303 | 170A142D201DBF99004E8F2C /* PBXTargetDependency */ = { 304 | isa = PBXTargetDependency; 305 | target = 170A140B201DBF98004E8F2C /* ANCustomView */; 306 | targetProxy = 170A142C201DBF99004E8F2C /* PBXContainerItemProxy */; 307 | }; 308 | /* End PBXTargetDependency section */ 309 | 310 | /* Begin PBXVariantGroup section */ 311 | 170A1413201DBF98004E8F2C /* Main.storyboard */ = { 312 | isa = PBXVariantGroup; 313 | children = ( 314 | 170A1414201DBF98004E8F2C /* Base */, 315 | ); 316 | name = Main.storyboard; 317 | sourceTree = ""; 318 | }; 319 | 170A1418201DBF99004E8F2C /* LaunchScreen.storyboard */ = { 320 | isa = PBXVariantGroup; 321 | children = ( 322 | 170A1419201DBF99004E8F2C /* Base */, 323 | ); 324 | name = LaunchScreen.storyboard; 325 | sourceTree = ""; 326 | }; 327 | /* End PBXVariantGroup section */ 328 | 329 | /* Begin XCBuildConfiguration section */ 330 | 170A1432201DBF99004E8F2C /* Debug */ = { 331 | isa = XCBuildConfiguration; 332 | buildSettings = { 333 | ALWAYS_SEARCH_USER_PATHS = NO; 334 | CLANG_ANALYZER_NONNULL = YES; 335 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 336 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 337 | CLANG_CXX_LIBRARY = "libc++"; 338 | CLANG_ENABLE_MODULES = YES; 339 | CLANG_ENABLE_OBJC_ARC = YES; 340 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 341 | CLANG_WARN_BOOL_CONVERSION = YES; 342 | CLANG_WARN_COMMA = YES; 343 | CLANG_WARN_CONSTANT_CONVERSION = YES; 344 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 345 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 346 | CLANG_WARN_EMPTY_BODY = YES; 347 | CLANG_WARN_ENUM_CONVERSION = YES; 348 | CLANG_WARN_INFINITE_RECURSION = YES; 349 | CLANG_WARN_INT_CONVERSION = YES; 350 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 351 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 352 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 353 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 354 | CLANG_WARN_STRICT_PROTOTYPES = YES; 355 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 356 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 357 | CLANG_WARN_UNREACHABLE_CODE = YES; 358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 359 | CODE_SIGN_IDENTITY = "iPhone Developer"; 360 | COPY_PHASE_STRIP = NO; 361 | DEBUG_INFORMATION_FORMAT = dwarf; 362 | ENABLE_STRICT_OBJC_MSGSEND = YES; 363 | ENABLE_TESTABILITY = YES; 364 | GCC_C_LANGUAGE_STANDARD = gnu11; 365 | GCC_DYNAMIC_NO_PIC = NO; 366 | GCC_NO_COMMON_BLOCKS = YES; 367 | GCC_OPTIMIZATION_LEVEL = 0; 368 | GCC_PREPROCESSOR_DEFINITIONS = ( 369 | "DEBUG=1", 370 | "$(inherited)", 371 | ); 372 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 373 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 374 | GCC_WARN_UNDECLARED_SELECTOR = YES; 375 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 376 | GCC_WARN_UNUSED_FUNCTION = YES; 377 | GCC_WARN_UNUSED_VARIABLE = YES; 378 | IPHONEOS_DEPLOYMENT_TARGET = 11.2; 379 | MTL_ENABLE_DEBUG_INFO = YES; 380 | ONLY_ACTIVE_ARCH = YES; 381 | SDKROOT = iphoneos; 382 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 383 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 384 | }; 385 | name = Debug; 386 | }; 387 | 170A1433201DBF99004E8F2C /* Release */ = { 388 | isa = XCBuildConfiguration; 389 | buildSettings = { 390 | ALWAYS_SEARCH_USER_PATHS = NO; 391 | CLANG_ANALYZER_NONNULL = YES; 392 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 393 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 394 | CLANG_CXX_LIBRARY = "libc++"; 395 | CLANG_ENABLE_MODULES = YES; 396 | CLANG_ENABLE_OBJC_ARC = YES; 397 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 398 | CLANG_WARN_BOOL_CONVERSION = YES; 399 | CLANG_WARN_COMMA = YES; 400 | CLANG_WARN_CONSTANT_CONVERSION = YES; 401 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 402 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 403 | CLANG_WARN_EMPTY_BODY = YES; 404 | CLANG_WARN_ENUM_CONVERSION = YES; 405 | CLANG_WARN_INFINITE_RECURSION = YES; 406 | CLANG_WARN_INT_CONVERSION = YES; 407 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 408 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 409 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 410 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 411 | CLANG_WARN_STRICT_PROTOTYPES = YES; 412 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 413 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 414 | CLANG_WARN_UNREACHABLE_CODE = YES; 415 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 416 | CODE_SIGN_IDENTITY = "iPhone Developer"; 417 | COPY_PHASE_STRIP = NO; 418 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 419 | ENABLE_NS_ASSERTIONS = NO; 420 | ENABLE_STRICT_OBJC_MSGSEND = YES; 421 | GCC_C_LANGUAGE_STANDARD = gnu11; 422 | GCC_NO_COMMON_BLOCKS = YES; 423 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 424 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 425 | GCC_WARN_UNDECLARED_SELECTOR = YES; 426 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 427 | GCC_WARN_UNUSED_FUNCTION = YES; 428 | GCC_WARN_UNUSED_VARIABLE = YES; 429 | IPHONEOS_DEPLOYMENT_TARGET = 11.2; 430 | MTL_ENABLE_DEBUG_INFO = NO; 431 | SDKROOT = iphoneos; 432 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 433 | VALIDATE_PRODUCT = YES; 434 | }; 435 | name = Release; 436 | }; 437 | 170A1435201DBF99004E8F2C /* Debug */ = { 438 | isa = XCBuildConfiguration; 439 | buildSettings = { 440 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 441 | CODE_SIGN_STYLE = Automatic; 442 | INFOPLIST_FILE = ANCustomView/Info.plist; 443 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 444 | PRODUCT_BUNDLE_IDENTIFIER = anscoder.ANCustomView; 445 | PRODUCT_NAME = "$(TARGET_NAME)"; 446 | SWIFT_VERSION = 4.0; 447 | TARGETED_DEVICE_FAMILY = "1,2"; 448 | }; 449 | name = Debug; 450 | }; 451 | 170A1436201DBF99004E8F2C /* Release */ = { 452 | isa = XCBuildConfiguration; 453 | buildSettings = { 454 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 455 | CODE_SIGN_STYLE = Automatic; 456 | INFOPLIST_FILE = ANCustomView/Info.plist; 457 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 458 | PRODUCT_BUNDLE_IDENTIFIER = anscoder.ANCustomView; 459 | PRODUCT_NAME = "$(TARGET_NAME)"; 460 | SWIFT_VERSION = 4.0; 461 | TARGETED_DEVICE_FAMILY = "1,2"; 462 | }; 463 | name = Release; 464 | }; 465 | 170A1438201DBF99004E8F2C /* Debug */ = { 466 | isa = XCBuildConfiguration; 467 | buildSettings = { 468 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 469 | BUNDLE_LOADER = "$(TEST_HOST)"; 470 | CODE_SIGN_STYLE = Automatic; 471 | INFOPLIST_FILE = ANCustomViewTests/Info.plist; 472 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 473 | PRODUCT_BUNDLE_IDENTIFIER = anscoder.ANCustomViewTests; 474 | PRODUCT_NAME = "$(TARGET_NAME)"; 475 | SWIFT_VERSION = 4.0; 476 | TARGETED_DEVICE_FAMILY = "1,2"; 477 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ANCustomView.app/ANCustomView"; 478 | }; 479 | name = Debug; 480 | }; 481 | 170A1439201DBF99004E8F2C /* Release */ = { 482 | isa = XCBuildConfiguration; 483 | buildSettings = { 484 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 485 | BUNDLE_LOADER = "$(TEST_HOST)"; 486 | CODE_SIGN_STYLE = Automatic; 487 | INFOPLIST_FILE = ANCustomViewTests/Info.plist; 488 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 489 | PRODUCT_BUNDLE_IDENTIFIER = anscoder.ANCustomViewTests; 490 | PRODUCT_NAME = "$(TARGET_NAME)"; 491 | SWIFT_VERSION = 4.0; 492 | TARGETED_DEVICE_FAMILY = "1,2"; 493 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ANCustomView.app/ANCustomView"; 494 | }; 495 | name = Release; 496 | }; 497 | 170A143B201DBF99004E8F2C /* Debug */ = { 498 | isa = XCBuildConfiguration; 499 | buildSettings = { 500 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 501 | CODE_SIGN_STYLE = Automatic; 502 | INFOPLIST_FILE = ANCustomViewUITests/Info.plist; 503 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 504 | PRODUCT_BUNDLE_IDENTIFIER = anscoder.ANCustomViewUITests; 505 | PRODUCT_NAME = "$(TARGET_NAME)"; 506 | SWIFT_VERSION = 4.0; 507 | TARGETED_DEVICE_FAMILY = "1,2"; 508 | TEST_TARGET_NAME = ANCustomView; 509 | }; 510 | name = Debug; 511 | }; 512 | 170A143C201DBF99004E8F2C /* Release */ = { 513 | isa = XCBuildConfiguration; 514 | buildSettings = { 515 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 516 | CODE_SIGN_STYLE = Automatic; 517 | INFOPLIST_FILE = ANCustomViewUITests/Info.plist; 518 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 519 | PRODUCT_BUNDLE_IDENTIFIER = anscoder.ANCustomViewUITests; 520 | PRODUCT_NAME = "$(TARGET_NAME)"; 521 | SWIFT_VERSION = 4.0; 522 | TARGETED_DEVICE_FAMILY = "1,2"; 523 | TEST_TARGET_NAME = ANCustomView; 524 | }; 525 | name = Release; 526 | }; 527 | /* End XCBuildConfiguration section */ 528 | 529 | /* Begin XCConfigurationList section */ 530 | 170A1407201DBF98004E8F2C /* Build configuration list for PBXProject "ANCustomView" */ = { 531 | isa = XCConfigurationList; 532 | buildConfigurations = ( 533 | 170A1432201DBF99004E8F2C /* Debug */, 534 | 170A1433201DBF99004E8F2C /* Release */, 535 | ); 536 | defaultConfigurationIsVisible = 0; 537 | defaultConfigurationName = Release; 538 | }; 539 | 170A1434201DBF99004E8F2C /* Build configuration list for PBXNativeTarget "ANCustomView" */ = { 540 | isa = XCConfigurationList; 541 | buildConfigurations = ( 542 | 170A1435201DBF99004E8F2C /* Debug */, 543 | 170A1436201DBF99004E8F2C /* Release */, 544 | ); 545 | defaultConfigurationIsVisible = 0; 546 | defaultConfigurationName = Release; 547 | }; 548 | 170A1437201DBF99004E8F2C /* Build configuration list for PBXNativeTarget "ANCustomViewTests" */ = { 549 | isa = XCConfigurationList; 550 | buildConfigurations = ( 551 | 170A1438201DBF99004E8F2C /* Debug */, 552 | 170A1439201DBF99004E8F2C /* Release */, 553 | ); 554 | defaultConfigurationIsVisible = 0; 555 | defaultConfigurationName = Release; 556 | }; 557 | 170A143A201DBF99004E8F2C /* Build configuration list for PBXNativeTarget "ANCustomViewUITests" */ = { 558 | isa = XCConfigurationList; 559 | buildConfigurations = ( 560 | 170A143B201DBF99004E8F2C /* Debug */, 561 | 170A143C201DBF99004E8F2C /* Release */, 562 | ); 563 | defaultConfigurationIsVisible = 0; 564 | defaultConfigurationName = Release; 565 | }; 566 | /* End XCConfigurationList section */ 567 | }; 568 | rootObject = 170A1404201DBF98004E8F2C /* Project object */; 569 | } 570 | --------------------------------------------------------------------------------