├── Images └── Pulse Animation.gif ├── README.md ├── PulsingAnimation ├── PulsingAnimation │ ├── Assets.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── AppDelegate.swift │ ├── PulseAnimation.swift │ └── ViewController.swift └── PulsingAnimation.xcodeproj │ ├── project.xcworkspace │ └── contents.xcworkspacedata │ └── project.pbxproj └── .gitignore /Images/Pulse Animation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1992Shubham/Pulse-Animation/HEAD/Images/Pulse Animation.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Pulse-Animation 2 | Output would be: 3 |
4 |

5 | 6 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | PulsingAnimation/PulsingAnimation.xcodeproj/project.xcworkspace/xcshareddata 2 | PulsingAnimation/PulsingAnimation.xcodeproj/project.xcworkspace/xcuserdata 3 | PulsingAnimation/PulsingAnimation.xcodeproj/xcuserdata 4 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation/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 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation/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 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // PulsingAnimation 4 | // 5 | // Created by SHUBHAM AGARWAL on 21/03/19. 6 | // Copyright © 2019 SHUBHAM AGARWAL. 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: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and 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 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation/PulseAnimation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PulseAnimation.swift 3 | // SearchSpeechToText 4 | // 5 | // Created by Ranosys_ShubhamAgarwal on 23/01/19. 6 | // Copyright © 2019 Ranosys_ShubhamAgarwal. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class PulseAnimation: CALayer { 12 | 13 | var animationGroup = CAAnimationGroup() 14 | var animationDuration: TimeInterval = 1.5 15 | var radius: CGFloat = 200 16 | var numebrOfPulse: Float = Float.infinity 17 | 18 | override init(layer: Any) { 19 | super.init(layer: layer) 20 | } 21 | 22 | required init?(coder aDecoder: NSCoder) { 23 | fatalError("init(coder:) has not been implemented") 24 | } 25 | 26 | init(numberOfPulse: Float = Float.infinity, radius: CGFloat, postion: CGPoint){ 27 | super.init() 28 | self.backgroundColor = UIColor.black.cgColor 29 | self.contentsScale = UIScreen.main.scale 30 | self.opacity = 0 31 | self.radius = radius 32 | self.numebrOfPulse = numberOfPulse 33 | self.position = postion 34 | 35 | self.bounds = CGRect(x: 0, y: 0, width: radius*2, height: radius*2) 36 | self.cornerRadius = radius 37 | 38 | DispatchQueue.global(qos: .default).async { 39 | self.setupAnimationGroup() 40 | DispatchQueue.main.async { 41 | self.add(self.animationGroup, forKey: "pulse") 42 | } 43 | } 44 | } 45 | 46 | func scaleAnimation() -> CABasicAnimation { 47 | let scaleAnimaton = CABasicAnimation(keyPath: "transform.scale.xy") 48 | scaleAnimaton.fromValue = NSNumber(value: 0) 49 | scaleAnimaton.toValue = NSNumber(value: 1) 50 | scaleAnimaton.duration = animationDuration 51 | return scaleAnimaton 52 | } 53 | 54 | func createOpacityAnimation() -> CAKeyframeAnimation { 55 | let opacityAnimiation = CAKeyframeAnimation(keyPath: "opacity") 56 | opacityAnimiation.duration = animationDuration 57 | opacityAnimiation.values = [0.4,0.8,0] 58 | opacityAnimiation.keyTimes = [0,0.3,1] 59 | return opacityAnimiation 60 | } 61 | 62 | func setupAnimationGroup() { 63 | self.animationGroup.duration = animationDuration 64 | self.animationGroup.repeatCount = numebrOfPulse 65 | let defaultCurve = CAMediaTimingFunction(name: CAMediaTimingFunctionName.default) 66 | self.animationGroup.timingFunction = defaultCurve 67 | self.animationGroup.animations = [scaleAnimation(),createOpacityAnimation()] 68 | } 69 | 70 | 71 | } 72 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // PulsingAnimation 4 | // 5 | // Created by SHUBHAM AGARWAL on 21/03/19. 6 | // Copyright © 2019 SHUBHAM AGARWAL. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | @IBOutlet weak var btnorng: UIButton! 14 | @IBOutlet weak var btnred: UIButton! 15 | @IBOutlet weak var btnblue: UIButton! 16 | 17 | override func viewDidLoad() { 18 | super.viewDidLoad() 19 | cornerRadius(view1: btnorng, radius: 17) 20 | cornerRadius(view1: btnred, radius: 17) 21 | cornerRadius(view1: btnblue, radius: 17) 22 | 23 | } 24 | 25 | 26 | func cornerRadius(view1: UIView, radius: CGFloat = 10) { 27 | view1.layer.cornerRadius = radius 28 | } 29 | 30 | func showAnimation() { 31 | let pulse = PulseAnimation(numberOfPulse: 15, radius: 200, postion: self.view.center) 32 | pulse.animationDuration = 1.0 33 | pulse.backgroundColor = #colorLiteral(red: 0.05282949957, green: 0.5737867104, blue: 1, alpha: 1) 34 | self.view.layer.insertSublayer(pulse, below: self.view.layer) 35 | } 36 | 37 | @IBAction func onClickRedButton(_ sender: UIButton) { 38 | let pulse = PulseAnimation(numberOfPulse: Float.infinity, radius: 150, postion: sender.center) 39 | pulse.animationDuration = 1.0 40 | pulse.backgroundColor = #colorLiteral(red: 0.8993218541, green: 0.1372507513, blue: 0.2670814395, alpha: 1) 41 | self.view.layer.insertSublayer(pulse, below: self.view.layer) 42 | } 43 | 44 | @IBAction func onClickOrange(_ sender: UIButton) { 45 | let pulse = PulseAnimation(numberOfPulse: Float.infinity, radius: 120, postion: sender.center) 46 | pulse.animationDuration = 1.2 47 | pulse.backgroundColor = #colorLiteral(red: 1, green: 0.3653766513, blue: 0.1507387459, alpha: 1) 48 | self.view.layer.insertSublayer(pulse, below: self.view.layer) 49 | } 50 | @IBAction func onClickBlue(_ sender: UIButton) { 51 | let pulse = PulseAnimation(numberOfPulse: Float.infinity, radius: 100, postion: sender.center) 52 | pulse.animationDuration = 1.0 53 | pulse.backgroundColor = #colorLiteral(red: 0.2247976189, green: 0.4235115114, blue: 1, alpha: 1) 54 | self.view.layer.insertSublayer(pulse, below: self.view.layer) 55 | let pulse1 = PulseAnimation(numberOfPulse: 15, radius: 200, postion: sender.center) 56 | pulse1.animationDuration = 1.4 57 | pulse1.backgroundColor = #colorLiteral(red: 1, green: 0.3653766513, blue: 0.1507387459, alpha: 1) 58 | self.view.layer.insertSublayer(pulse1, below: self.view.layer) 59 | } 60 | } 61 | 62 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation/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 | 32 | 43 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /PulsingAnimation/PulsingAnimation.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0E700C822243BD2E0030CDD0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E700C812243BD2E0030CDD0 /* AppDelegate.swift */; }; 11 | 0E700C842243BD2E0030CDD0 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E700C832243BD2E0030CDD0 /* ViewController.swift */; }; 12 | 0E700C872243BD2E0030CDD0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0E700C852243BD2E0030CDD0 /* Main.storyboard */; }; 13 | 0E700C892243BD300030CDD0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0E700C882243BD300030CDD0 /* Assets.xcassets */; }; 14 | 0E700C8C2243BD300030CDD0 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0E700C8A2243BD300030CDD0 /* LaunchScreen.storyboard */; }; 15 | 0E700C942243BD4C0030CDD0 /* PulseAnimation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E700C932243BD4C0030CDD0 /* PulseAnimation.swift */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 0E700C7E2243BD2E0030CDD0 /* PulsingAnimation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PulsingAnimation.app; sourceTree = BUILT_PRODUCTS_DIR; }; 20 | 0E700C812243BD2E0030CDD0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 21 | 0E700C832243BD2E0030CDD0 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 22 | 0E700C862243BD2E0030CDD0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 23 | 0E700C882243BD300030CDD0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 24 | 0E700C8B2243BD300030CDD0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 25 | 0E700C8D2243BD300030CDD0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 0E700C932243BD4C0030CDD0 /* PulseAnimation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PulseAnimation.swift; sourceTree = ""; }; 27 | /* End PBXFileReference section */ 28 | 29 | /* Begin PBXFrameworksBuildPhase section */ 30 | 0E700C7B2243BD2E0030CDD0 /* Frameworks */ = { 31 | isa = PBXFrameworksBuildPhase; 32 | buildActionMask = 2147483647; 33 | files = ( 34 | ); 35 | runOnlyForDeploymentPostprocessing = 0; 36 | }; 37 | /* End PBXFrameworksBuildPhase section */ 38 | 39 | /* Begin PBXGroup section */ 40 | 0E700C752243BD2E0030CDD0 = { 41 | isa = PBXGroup; 42 | children = ( 43 | 0E700C802243BD2E0030CDD0 /* PulsingAnimation */, 44 | 0E700C7F2243BD2E0030CDD0 /* Products */, 45 | ); 46 | sourceTree = ""; 47 | }; 48 | 0E700C7F2243BD2E0030CDD0 /* Products */ = { 49 | isa = PBXGroup; 50 | children = ( 51 | 0E700C7E2243BD2E0030CDD0 /* PulsingAnimation.app */, 52 | ); 53 | name = Products; 54 | sourceTree = ""; 55 | }; 56 | 0E700C802243BD2E0030CDD0 /* PulsingAnimation */ = { 57 | isa = PBXGroup; 58 | children = ( 59 | 0E700C812243BD2E0030CDD0 /* AppDelegate.swift */, 60 | 0E700C832243BD2E0030CDD0 /* ViewController.swift */, 61 | 0E700C852243BD2E0030CDD0 /* Main.storyboard */, 62 | 0E700C882243BD300030CDD0 /* Assets.xcassets */, 63 | 0E700C8A2243BD300030CDD0 /* LaunchScreen.storyboard */, 64 | 0E700C8D2243BD300030CDD0 /* Info.plist */, 65 | 0E700C932243BD4C0030CDD0 /* PulseAnimation.swift */, 66 | ); 67 | path = PulsingAnimation; 68 | sourceTree = ""; 69 | }; 70 | /* End PBXGroup section */ 71 | 72 | /* Begin PBXNativeTarget section */ 73 | 0E700C7D2243BD2E0030CDD0 /* PulsingAnimation */ = { 74 | isa = PBXNativeTarget; 75 | buildConfigurationList = 0E700C902243BD300030CDD0 /* Build configuration list for PBXNativeTarget "PulsingAnimation" */; 76 | buildPhases = ( 77 | 0E700C7A2243BD2E0030CDD0 /* Sources */, 78 | 0E700C7B2243BD2E0030CDD0 /* Frameworks */, 79 | 0E700C7C2243BD2E0030CDD0 /* Resources */, 80 | ); 81 | buildRules = ( 82 | ); 83 | dependencies = ( 84 | ); 85 | name = PulsingAnimation; 86 | productName = PulsingAnimation; 87 | productReference = 0E700C7E2243BD2E0030CDD0 /* PulsingAnimation.app */; 88 | productType = "com.apple.product-type.application"; 89 | }; 90 | /* End PBXNativeTarget section */ 91 | 92 | /* Begin PBXProject section */ 93 | 0E700C762243BD2E0030CDD0 /* Project object */ = { 94 | isa = PBXProject; 95 | attributes = { 96 | LastSwiftUpdateCheck = 1010; 97 | LastUpgradeCheck = 1010; 98 | ORGANIZATIONNAME = "SHUBHAM AGARWAL"; 99 | TargetAttributes = { 100 | 0E700C7D2243BD2E0030CDD0 = { 101 | CreatedOnToolsVersion = 10.1; 102 | }; 103 | }; 104 | }; 105 | buildConfigurationList = 0E700C792243BD2E0030CDD0 /* Build configuration list for PBXProject "PulsingAnimation" */; 106 | compatibilityVersion = "Xcode 9.3"; 107 | developmentRegion = en; 108 | hasScannedForEncodings = 0; 109 | knownRegions = ( 110 | en, 111 | Base, 112 | ); 113 | mainGroup = 0E700C752243BD2E0030CDD0; 114 | productRefGroup = 0E700C7F2243BD2E0030CDD0 /* Products */; 115 | projectDirPath = ""; 116 | projectRoot = ""; 117 | targets = ( 118 | 0E700C7D2243BD2E0030CDD0 /* PulsingAnimation */, 119 | ); 120 | }; 121 | /* End PBXProject section */ 122 | 123 | /* Begin PBXResourcesBuildPhase section */ 124 | 0E700C7C2243BD2E0030CDD0 /* Resources */ = { 125 | isa = PBXResourcesBuildPhase; 126 | buildActionMask = 2147483647; 127 | files = ( 128 | 0E700C8C2243BD300030CDD0 /* LaunchScreen.storyboard in Resources */, 129 | 0E700C892243BD300030CDD0 /* Assets.xcassets in Resources */, 130 | 0E700C872243BD2E0030CDD0 /* Main.storyboard in Resources */, 131 | ); 132 | runOnlyForDeploymentPostprocessing = 0; 133 | }; 134 | /* End PBXResourcesBuildPhase section */ 135 | 136 | /* Begin PBXSourcesBuildPhase section */ 137 | 0E700C7A2243BD2E0030CDD0 /* Sources */ = { 138 | isa = PBXSourcesBuildPhase; 139 | buildActionMask = 2147483647; 140 | files = ( 141 | 0E700C842243BD2E0030CDD0 /* ViewController.swift in Sources */, 142 | 0E700C942243BD4C0030CDD0 /* PulseAnimation.swift in Sources */, 143 | 0E700C822243BD2E0030CDD0 /* AppDelegate.swift in Sources */, 144 | ); 145 | runOnlyForDeploymentPostprocessing = 0; 146 | }; 147 | /* End PBXSourcesBuildPhase section */ 148 | 149 | /* Begin PBXVariantGroup section */ 150 | 0E700C852243BD2E0030CDD0 /* Main.storyboard */ = { 151 | isa = PBXVariantGroup; 152 | children = ( 153 | 0E700C862243BD2E0030CDD0 /* Base */, 154 | ); 155 | name = Main.storyboard; 156 | sourceTree = ""; 157 | }; 158 | 0E700C8A2243BD300030CDD0 /* LaunchScreen.storyboard */ = { 159 | isa = PBXVariantGroup; 160 | children = ( 161 | 0E700C8B2243BD300030CDD0 /* Base */, 162 | ); 163 | name = LaunchScreen.storyboard; 164 | sourceTree = ""; 165 | }; 166 | /* End PBXVariantGroup section */ 167 | 168 | /* Begin XCBuildConfiguration section */ 169 | 0E700C8E2243BD300030CDD0 /* Debug */ = { 170 | isa = XCBuildConfiguration; 171 | buildSettings = { 172 | ALWAYS_SEARCH_USER_PATHS = NO; 173 | CLANG_ANALYZER_NONNULL = YES; 174 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 175 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 176 | CLANG_CXX_LIBRARY = "libc++"; 177 | CLANG_ENABLE_MODULES = YES; 178 | CLANG_ENABLE_OBJC_ARC = YES; 179 | CLANG_ENABLE_OBJC_WEAK = YES; 180 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 181 | CLANG_WARN_BOOL_CONVERSION = YES; 182 | CLANG_WARN_COMMA = YES; 183 | CLANG_WARN_CONSTANT_CONVERSION = YES; 184 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 185 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 186 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 187 | CLANG_WARN_EMPTY_BODY = YES; 188 | CLANG_WARN_ENUM_CONVERSION = YES; 189 | CLANG_WARN_INFINITE_RECURSION = YES; 190 | CLANG_WARN_INT_CONVERSION = YES; 191 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 192 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 193 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 194 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 195 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 196 | CLANG_WARN_STRICT_PROTOTYPES = YES; 197 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 198 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 199 | CLANG_WARN_UNREACHABLE_CODE = YES; 200 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 201 | CODE_SIGN_IDENTITY = "iPhone Developer"; 202 | COPY_PHASE_STRIP = NO; 203 | DEBUG_INFORMATION_FORMAT = dwarf; 204 | ENABLE_STRICT_OBJC_MSGSEND = YES; 205 | ENABLE_TESTABILITY = YES; 206 | GCC_C_LANGUAGE_STANDARD = gnu11; 207 | GCC_DYNAMIC_NO_PIC = NO; 208 | GCC_NO_COMMON_BLOCKS = YES; 209 | GCC_OPTIMIZATION_LEVEL = 0; 210 | GCC_PREPROCESSOR_DEFINITIONS = ( 211 | "DEBUG=1", 212 | "$(inherited)", 213 | ); 214 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 215 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 216 | GCC_WARN_UNDECLARED_SELECTOR = YES; 217 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 218 | GCC_WARN_UNUSED_FUNCTION = YES; 219 | GCC_WARN_UNUSED_VARIABLE = YES; 220 | IPHONEOS_DEPLOYMENT_TARGET = 12.1; 221 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 222 | MTL_FAST_MATH = YES; 223 | ONLY_ACTIVE_ARCH = YES; 224 | SDKROOT = iphoneos; 225 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 226 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 227 | }; 228 | name = Debug; 229 | }; 230 | 0E700C8F2243BD300030CDD0 /* Release */ = { 231 | isa = XCBuildConfiguration; 232 | buildSettings = { 233 | ALWAYS_SEARCH_USER_PATHS = NO; 234 | CLANG_ANALYZER_NONNULL = YES; 235 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 236 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 237 | CLANG_CXX_LIBRARY = "libc++"; 238 | CLANG_ENABLE_MODULES = YES; 239 | CLANG_ENABLE_OBJC_ARC = YES; 240 | CLANG_ENABLE_OBJC_WEAK = YES; 241 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 242 | CLANG_WARN_BOOL_CONVERSION = YES; 243 | CLANG_WARN_COMMA = YES; 244 | CLANG_WARN_CONSTANT_CONVERSION = YES; 245 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 246 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 247 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 248 | CLANG_WARN_EMPTY_BODY = YES; 249 | CLANG_WARN_ENUM_CONVERSION = YES; 250 | CLANG_WARN_INFINITE_RECURSION = YES; 251 | CLANG_WARN_INT_CONVERSION = YES; 252 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 253 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 254 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 255 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 256 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 257 | CLANG_WARN_STRICT_PROTOTYPES = YES; 258 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 259 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 260 | CLANG_WARN_UNREACHABLE_CODE = YES; 261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 262 | CODE_SIGN_IDENTITY = "iPhone Developer"; 263 | COPY_PHASE_STRIP = NO; 264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 265 | ENABLE_NS_ASSERTIONS = NO; 266 | ENABLE_STRICT_OBJC_MSGSEND = YES; 267 | GCC_C_LANGUAGE_STANDARD = gnu11; 268 | GCC_NO_COMMON_BLOCKS = YES; 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 12.1; 276 | MTL_ENABLE_DEBUG_INFO = NO; 277 | MTL_FAST_MATH = YES; 278 | SDKROOT = iphoneos; 279 | SWIFT_COMPILATION_MODE = wholemodule; 280 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 281 | VALIDATE_PRODUCT = YES; 282 | }; 283 | name = Release; 284 | }; 285 | 0E700C912243BD300030CDD0 /* Debug */ = { 286 | isa = XCBuildConfiguration; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CODE_SIGN_STYLE = Automatic; 290 | INFOPLIST_FILE = PulsingAnimation/Info.plist; 291 | LD_RUNPATH_SEARCH_PATHS = ( 292 | "$(inherited)", 293 | "@executable_path/Frameworks", 294 | ); 295 | PRODUCT_BUNDLE_IDENTIFIER = LetCreateAnApp.PulsingAnimation; 296 | PRODUCT_NAME = "$(TARGET_NAME)"; 297 | SWIFT_VERSION = 4.2; 298 | TARGETED_DEVICE_FAMILY = "1,2"; 299 | }; 300 | name = Debug; 301 | }; 302 | 0E700C922243BD300030CDD0 /* Release */ = { 303 | isa = XCBuildConfiguration; 304 | buildSettings = { 305 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 306 | CODE_SIGN_STYLE = Automatic; 307 | INFOPLIST_FILE = PulsingAnimation/Info.plist; 308 | LD_RUNPATH_SEARCH_PATHS = ( 309 | "$(inherited)", 310 | "@executable_path/Frameworks", 311 | ); 312 | PRODUCT_BUNDLE_IDENTIFIER = LetCreateAnApp.PulsingAnimation; 313 | PRODUCT_NAME = "$(TARGET_NAME)"; 314 | SWIFT_VERSION = 4.2; 315 | TARGETED_DEVICE_FAMILY = "1,2"; 316 | }; 317 | name = Release; 318 | }; 319 | /* End XCBuildConfiguration section */ 320 | 321 | /* Begin XCConfigurationList section */ 322 | 0E700C792243BD2E0030CDD0 /* Build configuration list for PBXProject "PulsingAnimation" */ = { 323 | isa = XCConfigurationList; 324 | buildConfigurations = ( 325 | 0E700C8E2243BD300030CDD0 /* Debug */, 326 | 0E700C8F2243BD300030CDD0 /* Release */, 327 | ); 328 | defaultConfigurationIsVisible = 0; 329 | defaultConfigurationName = Release; 330 | }; 331 | 0E700C902243BD300030CDD0 /* Build configuration list for PBXNativeTarget "PulsingAnimation" */ = { 332 | isa = XCConfigurationList; 333 | buildConfigurations = ( 334 | 0E700C912243BD300030CDD0 /* Debug */, 335 | 0E700C922243BD300030CDD0 /* Release */, 336 | ); 337 | defaultConfigurationIsVisible = 0; 338 | defaultConfigurationName = Release; 339 | }; 340 | /* End XCConfigurationList section */ 341 | }; 342 | rootObject = 0E700C762243BD2E0030CDD0 /* Project object */; 343 | } 344 | --------------------------------------------------------------------------------