├── Source └── ScaleTransition.gif ├── scaletransitiondemo ├── Assets.xcassets │ ├── Contents.json │ ├── Login │ │ ├── Contents.json │ │ ├── Icon.imageset │ │ │ ├── Icon.pdf │ │ │ └── Contents.json │ │ ├── NameIcon.imageset │ │ │ ├── NameIcon.pdf │ │ │ └── Contents.json │ │ ├── EmailIcon.imageset │ │ │ ├── EmailIcon.pdf │ │ │ └── Contents.json │ │ ├── Indicator.imageset │ │ │ ├── Indicator.pdf │ │ │ └── Contents.json │ │ ├── Background.imageset │ │ │ ├── Background.png │ │ │ └── Contents.json │ │ ├── PasswordIcon.imageset │ │ │ ├── PasswordIcon.pdf │ │ │ └── Contents.json │ │ └── UsernameIcon.imageset │ │ │ ├── UsernameIcon.pdf │ │ │ └── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json ├── Resources │ ├── Montserrat-Bold.ttf │ └── Montserrat-Regular.ttf ├── Info.plist ├── DetailViewController.swift ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── UI │ ├── LoginAppearance.swift │ └── Storyboards.swift ├── ViewController.swift ├── AppDelegate.swift └── ScaleTransition │ └── ScaleTransition.swift ├── ScaleTransitionDemo-Bridging-Header.h ├── ScaleTransitionDemo.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── project.pbxproj ├── ScaleTransition.podspec ├── ScaleTransitionDemoTests ├── Info.plist └── ScaleTransitionDemoTests.swift ├── ScaleTransitionDemoUITests ├── Info.plist └── ScaleTransitionDemoUITests.swift ├── LICENSE ├── .gitignore └── README.md /Source/ScaleTransition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/Source/ScaleTransition.gif -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /scaletransitiondemo/Resources/Montserrat-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Resources/Montserrat-Bold.ttf -------------------------------------------------------------------------------- /scaletransitiondemo/Resources/Montserrat-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Resources/Montserrat-Regular.ttf -------------------------------------------------------------------------------- /ScaleTransitionDemo-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | //#import -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/Icon.imageset/Icon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Assets.xcassets/Login/Icon.imageset/Icon.pdf -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/NameIcon.imageset/NameIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Assets.xcassets/Login/NameIcon.imageset/NameIcon.pdf -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/EmailIcon.imageset/EmailIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Assets.xcassets/Login/EmailIcon.imageset/EmailIcon.pdf -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/Indicator.imageset/Indicator.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Assets.xcassets/Login/Indicator.imageset/Indicator.pdf -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/Background.imageset/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Assets.xcassets/Login/Background.imageset/Background.png -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/PasswordIcon.imageset/PasswordIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Assets.xcassets/Login/PasswordIcon.imageset/PasswordIcon.pdf -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/UsernameIcon.imageset/UsernameIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dev-aleksey/ScaleTransition/HEAD/scaletransitiondemo/Assets.xcassets/Login/UsernameIcon.imageset/UsernameIcon.pdf -------------------------------------------------------------------------------- /ScaleTransitionDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/Background.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "Background.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/Icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal" 5 | }, 6 | { 7 | "idiom" : "universal", 8 | "scale" : "1x" 9 | }, 10 | { 11 | "idiom" : "universal", 12 | "filename" : "Icon.pdf", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "idiom" : "universal", 17 | "scale" : "3x" 18 | } 19 | ], 20 | "info" : { 21 | "version" : 1, 22 | "author" : "xcode" 23 | } 24 | } -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/EmailIcon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal" 5 | }, 6 | { 7 | "idiom" : "universal", 8 | "scale" : "1x" 9 | }, 10 | { 11 | "idiom" : "universal", 12 | "filename" : "EmailIcon.pdf", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "idiom" : "universal", 17 | "scale" : "3x" 18 | } 19 | ], 20 | "info" : { 21 | "version" : 1, 22 | "author" : "xcode" 23 | } 24 | } -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/Indicator.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal" 5 | }, 6 | { 7 | "idiom" : "universal", 8 | "scale" : "1x" 9 | }, 10 | { 11 | "idiom" : "universal", 12 | "filename" : "Indicator.pdf", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "idiom" : "universal", 17 | "scale" : "3x" 18 | } 19 | ], 20 | "info" : { 21 | "version" : 1, 22 | "author" : "xcode" 23 | } 24 | } -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/NameIcon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal" 5 | }, 6 | { 7 | "idiom" : "universal", 8 | "scale" : "1x" 9 | }, 10 | { 11 | "idiom" : "universal", 12 | "filename" : "NameIcon.pdf", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "idiom" : "universal", 17 | "scale" : "3x" 18 | } 19 | ], 20 | "info" : { 21 | "version" : 1, 22 | "author" : "xcode" 23 | } 24 | } -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/PasswordIcon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal" 5 | }, 6 | { 7 | "idiom" : "universal", 8 | "scale" : "1x" 9 | }, 10 | { 11 | "idiom" : "universal", 12 | "filename" : "PasswordIcon.pdf", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "idiom" : "universal", 17 | "scale" : "3x" 18 | } 19 | ], 20 | "info" : { 21 | "version" : 1, 22 | "author" : "xcode" 23 | } 24 | } -------------------------------------------------------------------------------- /scaletransitiondemo/Assets.xcassets/Login/UsernameIcon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal" 5 | }, 6 | { 7 | "idiom" : "universal", 8 | "scale" : "1x" 9 | }, 10 | { 11 | "idiom" : "universal", 12 | "filename" : "UsernameIcon.pdf", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "idiom" : "universal", 17 | "scale" : "3x" 18 | } 19 | ], 20 | "info" : { 21 | "version" : 1, 22 | "author" : "xcode" 23 | } 24 | } -------------------------------------------------------------------------------- /ScaleTransition.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | 4 | s.name = 'ScaleTransition' 5 | s.version = '2.0.0' 6 | s.summary = 'Custom modal transition animation.' 7 | s.license = 'MIT' 8 | s.homepage = 'https://github.com/dev-aleksey/ScaleTransition' 9 | 10 | s.author = { 'Alex' => 'dev.aleksey@yandex.ru' } 11 | s.platform = :ios, '8.0' 12 | s.source = { :git => 'https://github.com/dev-aleksey/ScaleTransition.git', :tag => s.version.to_s } 13 | 14 | s.source_files = 'scaletransitiondemo/ScaleTransition/*.swift' 15 | s.requires_arc = true 16 | end 17 | -------------------------------------------------------------------------------- /scaletransitiondemo/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 | } -------------------------------------------------------------------------------- /ScaleTransitionDemoTests/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 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ScaleTransitionDemoUITests/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 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 dev-aleksey 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 | -------------------------------------------------------------------------------- /ScaleTransitionDemoTests/ScaleTransitionDemoTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScaleTransitionDemoTests.swift 3 | // ScaleTransitionDemoTests 4 | // 5 | // Created by Alex K. on 18/02/16. 6 | // Copyright © 2016 Alex K. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | //@testable import ScaleTransitionDemo 11 | 12 | class ScaleTransitionDemoTests: 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 | -------------------------------------------------------------------------------- /scaletransitiondemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /ScaleTransitionDemoUITests/ScaleTransitionDemoUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScaleTransitionDemoUITests.swift 3 | // ScaleTransitionDemoUITests 4 | // 5 | // Created by Alex K. on 18/02/16. 6 | // Copyright © 2016 Alex K. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class ScaleTransitionDemoUITests: 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 | -------------------------------------------------------------------------------- /scaletransitiondemo/DetailViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DetailViewController.swift 3 | // 4 | // 5 | // Copyright (c) 21/02/16. Alex K (dev.aleksey@yandex.ru) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | 25 | 26 | 27 | import UIKit 28 | 29 | class DetailViewController: UIViewController { 30 | 31 | } 32 | 33 | 34 | extension DetailViewController { 35 | 36 | @IBAction func closeHandler(_ sender: AnyObject) { 37 | 38 | dismiss(animated: true, completion: nil) 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /.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 | *.xccheckout 22 | *.moved-aside 23 | *.xcuserstate 24 | *.xcscmblueprint 25 | 26 | ## Obj-C/Swift specific 27 | *.hmap 28 | *.ipa 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | 46 | Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/screenshots 64 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ScaleTransition 2 | 3 | Custom modal transition animation 4 | 5 | ![Animation](Source/ScaleTransition.gif) 6 | 7 | ## Requirements 8 | 9 | - iOS 8.0+ 10 | - Xcode 7.2 11 | 12 | ## Installation 13 | 14 | Just add the ``` ScaleTransition.swift ``` file to your project. 15 | 16 | or use [CocoaPods](https://cocoapods.org) with Podfile: 17 | ``` ruby 18 | pod 'ScaleTransition', '~> 1.0.3' 19 | ``` 20 | 21 | ## Usage 22 | 23 | 24 | ``` swift 25 | // create viewcontroller 26 | let storyboard = UIStoryboard(storyboard: .Main) 27 | let detail: DetailViewController = storyboard.instantiateViewController() 28 | 29 | // configure transition 30 | detail.transitioningDelegate = self 31 | detail.modalPresentationStyle = .Custom 32 | 33 | // present viewController 34 | navigationController?.presentViewController(detail, animated: true, completion: nil) 35 | ``` 36 | 37 | ``` swift 38 | // MARK: transition delegate 39 | extension ViewController: UIViewControllerTransitioningDelegate { 40 | 41 | func animationControllerForPresentedController(presented: UIViewController, 42 | presentingController presenting: UIViewController, 43 | sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? { 44 | 45 | return ScaleShowTransition(duration: 0.5, scale: 0.9) 46 | } 47 | 48 | 49 | func animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? { 50 | return ScaleHideTransition(duration: 0.5, scale: 0.9) 51 | } 52 | } 53 | ``` 54 | 55 | ## Licence 56 | 57 | ScaleTransition is released under the MIT license. 58 | See [LICENSE](./LICENSE) for details. 59 | 60 | ## About 61 | 62 | If you have any questions, you can write me dev.aleksey@yandex.ru 63 | -------------------------------------------------------------------------------- /scaletransitiondemo/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 | -------------------------------------------------------------------------------- /scaletransitiondemo/UI/LoginAppearance.swift: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // LoginAppearance.swift 4 | // 5 | // Copyright (c) 21/02/16. Alex K (dev.aleksey@yandex.ru) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | 25 | 26 | import Foundation 27 | import UIKit 28 | 29 | 30 | // MARK: textField 31 | 32 | protocol PlaceholderColor { 33 | func placeholderColor(color: UIColor) 34 | } 35 | 36 | extension PlaceholderColor where Self: UITextField { 37 | func placeholderColor(color: UIColor) { 38 | if let placeholder = placeholder { 39 | attributedPlaceholder = NSAttributedString(string: placeholder, 40 | attributes:[NSForegroundColorAttributeName : UIColor.white]) 41 | } 42 | } 43 | } 44 | 45 | class WhiteTextField: UITextField, PlaceholderColor { 46 | 47 | required init?(coder aDecoder: NSCoder) { 48 | super.init(coder: aDecoder) 49 | placeholderColor(color: .white) 50 | } 51 | } 52 | 53 | protocol Bordered { 54 | func borderWidth(width: Float, color: UIColor) 55 | } 56 | 57 | extension Bordered where Self: UIView { 58 | func borderWidth(width: Float, color: UIColor) { 59 | layer.borderColor = color.cgColor 60 | layer.borderWidth = CGFloat(width) 61 | } 62 | } 63 | 64 | class CountinueButton: UIButton, Bordered { 65 | required init?(coder aDecoder: NSCoder) { 66 | super.init(coder: aDecoder) 67 | borderWidth(width: 2, color: UIColor(colorLiteralRed: 1, green: 1, blue: 1, alpha: 0.3)) 68 | backgroundColor = .clear 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /scaletransitiondemo/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // 4 | // 5 | // Copyright (c) 21/02/16. Alex K (dev.aleksey@yandex.ru) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | 25 | 26 | 27 | import UIKit 28 | 29 | class ViewController: UIViewController { 30 | 31 | override func viewDidLoad() { 32 | super.viewDidLoad() 33 | // Do any additional setup after loading the view, typically from a nib. 34 | } 35 | 36 | override func didReceiveMemoryWarning() { 37 | super.didReceiveMemoryWarning() 38 | // Dispose of any resources that can be recreated. 39 | } 40 | 41 | // MARK: actions 42 | 43 | @IBAction func buttonHandler(_ sender: AnyObject) { 44 | 45 | let storyboard = UIStoryboard(storyboard: .Main) 46 | 47 | let detail: DetailViewController = storyboard.instantiateViewController() 48 | 49 | detail.transitioningDelegate = self 50 | detail.modalPresentationStyle = .custom 51 | 52 | navigationController?.present(detail, animated: true, completion: nil) 53 | 54 | } 55 | } 56 | 57 | // MARK: transition delegate 58 | 59 | extension ViewController: UIViewControllerTransitioningDelegate { 60 | 61 | func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? { 62 | return ScaleShowTransition(duration: 0.5, scale: 0.9) 63 | } 64 | 65 | func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? { 66 | return ScaleHideTransition(duration: 0.5, scale: 0.9) 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /scaletransitiondemo/UI/Storyboards.swift: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // Storyboards.swift 4 | // 5 | // Copyright (c) 21/02/16. Alex K (dev.aleksey@yandex.ru) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | 25 | 26 | import Foundation 27 | import UIKit 28 | 29 | 30 | // MARK: Storyboard 31 | 32 | extension UIViewController : StoryboardIdentifiable { } 33 | 34 | protocol StoryboardIdentifiable { 35 | static var storyboardIdentifier: String { get } 36 | } 37 | 38 | extension StoryboardIdentifiable where Self: UIViewController { 39 | static var storyboardIdentifier: String { 40 | return String(describing: self) 41 | } 42 | } 43 | 44 | extension UIStoryboard { 45 | 46 | enum Storyboard : String { 47 | case Main 48 | } 49 | 50 | /// Convenience Initializers 51 | 52 | convenience init(storyboard: Storyboard, bundle: Bundle? = nil) { 53 | self.init(name: storyboard.rawValue, bundle: bundle) 54 | } 55 | 56 | 57 | /// Class Functions 58 | 59 | class func storyboard(storyboard: Storyboard, bundle: Bundle? = nil) -> UIStoryboard { 60 | return UIStoryboard(name: storyboard.rawValue, bundle: bundle) 61 | } 62 | 63 | 64 | /// View Controller Instantiation from Generics 65 | /// Old Way: 66 | 67 | func instantiateViewController(_: T.Type) -> T where T: StoryboardIdentifiable { 68 | guard let viewController = self.instantiateViewController(withIdentifier: T.storyboardIdentifier) as? T else { 69 | fatalError("Couldn't instantiate view controller with identifier \(T.storyboardIdentifier) ") 70 | } 71 | 72 | return viewController 73 | } 74 | 75 | /// New Way 76 | func instantiateViewController() -> T where T: StoryboardIdentifiable { 77 | guard let viewController = self.instantiateViewController(withIdentifier: T.storyboardIdentifier) as? T else { 78 | fatalError("Couldn't instantiate view controller with identifier \(T.storyboardIdentifier) ") 79 | } 80 | 81 | return viewController 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /scaletransitiondemo/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ScaleTransitionDemo 4 | // 5 | // 6 | // Copyright (c) 21/02/16. Alex K (dev.aleksey@yandex.ru) 7 | // 8 | // Permission is hereby granted, free of charge, to any person obtaining a copy 9 | // of this software and associated documentation files (the "Software"), to deal 10 | // in the Software without restriction, including without limitation the rights 11 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | // copies of the Software, and to permit persons to whom the Software is 13 | // furnished to do so, subject to the following conditions: 14 | // 15 | // The above copyright notice and this permission notice shall be included in 16 | // all copies or substantial portions of the Software. 17 | // 18 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | // THE SOFTWARE. 25 | 26 | 27 | import UIKit 28 | 29 | @UIApplicationMain 30 | class AppDelegate: UIResponder, UIApplicationDelegate { 31 | 32 | var window: UIWindow? 33 | 34 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool { 35 | // Override point for customization after application launch. 36 | return true 37 | } 38 | 39 | func applicationWillResignActive(_ application: UIApplication) { 40 | // 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. 41 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 42 | } 43 | 44 | func applicationDidEnterBackground(_ application: UIApplication) { 45 | // 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. 46 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 47 | } 48 | 49 | func applicationWillEnterForeground(_ application: UIApplication) { 50 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 51 | } 52 | 53 | func applicationDidBecomeActive(_ application: UIApplication) { 54 | // 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. 55 | } 56 | 57 | func applicationWillTerminate(_ application: UIApplication) { 58 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 59 | } 60 | 61 | 62 | } 63 | 64 | -------------------------------------------------------------------------------- /scaletransitiondemo/ScaleTransition/ScaleTransition.swift: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // ScaleTransition.swift 4 | // 5 | // Copyright (c) 21/02/16. Alex K (dev.aleksey@yandex.ru) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the "Software"), to deal 9 | // in the Software without restriction, including without limitation the rights 10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | // copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | // THE SOFTWARE. 24 | 25 | 26 | import Foundation 27 | import UIKit 28 | 29 | // MARK: ScaleShowTransition 30 | 31 | public class ScaleShowTransition: NSObject, Animations { 32 | 33 | let duration: Double 34 | let scaleValue: Double 35 | 36 | public init (duration: Double, scale: Double) { 37 | self.duration = duration 38 | self.scaleValue = scale 39 | } 40 | } 41 | 42 | extension ScaleShowTransition: UIViewControllerAnimatedTransitioning { 43 | 44 | public func transitionDuration(using transitionContext: UIViewControllerContextTransitioning?) -> TimeInterval { 45 | return duration 46 | } 47 | 48 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) { 49 | 50 | guard let fromView = transitionContext.viewController(forKey: UITransitionContextViewControllerKey.from)?.view else { 51 | fatalError() 52 | } 53 | fromView.tintAdjustmentMode = .dimmed 54 | fromView.isUserInteractionEnabled = false 55 | 56 | guard let toView = transitionContext.viewController(forKey: UITransitionContextViewControllerKey.to)?.view else { 57 | fatalError() 58 | } 59 | 60 | let containerVeiw = transitionContext.containerView 61 | 62 | let blurView = createBlurView(sourceView: fromView) 63 | containerVeiw.addSubview(blurView) 64 | let show = alphaAnimation(fromValue: 0, toValue: 1, duration: duration / 2.0) 65 | blurView.layer.add(show, forKey: nil) 66 | 67 | toView.center = containerVeiw.center 68 | toView.layer.add(show, forKey: nil) 69 | containerVeiw.addSubview(toView) 70 | 71 | 72 | // scale 73 | let scale = scaleAnimation(fromValue: 1, toValue: scaleValue, duration: duration / 2.0) 74 | fromView.layer.add(scale, forKey: nil) 75 | transitionContext.completeTransition(true) 76 | } 77 | } 78 | 79 | extension ScaleShowTransition { 80 | 81 | fileprivate func createBlurView(sourceView: UIView) -> UIView { 82 | 83 | let blurView = createBlurView(frame: sourceView.bounds) 84 | sourceView.addSubview(blurView) 85 | defer { 86 | blurView.removeFromSuperview() 87 | } 88 | guard let snapShot = sourceView.snapshotView(afterScreenUpdates: true) else { 89 | return blurView 90 | } 91 | snapShot.accessibilityLabel = "blurView" 92 | 93 | return snapShot 94 | 95 | } 96 | 97 | fileprivate func createBlurView(frame: CGRect) -> UIView { 98 | let view = UIView(frame: frame) 99 | 100 | let visualEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light)) 101 | visualEffectView.frame = frame 102 | view.addSubview(visualEffectView) 103 | return view 104 | } 105 | } 106 | 107 | // MARK: ScaleHideTransition 108 | 109 | public class ScaleHideTransition: NSObject, Animations { 110 | 111 | let duration : Double 112 | let scaleValue: Double 113 | 114 | public init (duration: Double, scale: Double) { 115 | self.duration = duration 116 | self.scaleValue = scale 117 | } 118 | } 119 | 120 | extension ScaleHideTransition: UIViewControllerAnimatedTransitioning { 121 | 122 | public func transitionDuration(using transitionContext: UIViewControllerContextTransitioning?) -> TimeInterval { 123 | return duration 124 | } 125 | 126 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) { 127 | 128 | guard let fromView = transitionContext.viewController(forKey: UITransitionContextViewControllerKey.from)?.view else { 129 | fatalError() 130 | } 131 | let hide = alphaAnimation(fromValue: 1, toValue: 0, duration: duration / 2.0) 132 | fromView.alpha = 0 133 | fromView.layer.add(hide, forKey: nil) 134 | 135 | guard let toView = transitionContext.viewController(forKey: UITransitionContextViewControllerKey.to)?.view else { 136 | fatalError() 137 | } 138 | toView.tintAdjustmentMode = .normal 139 | toView.isUserInteractionEnabled = true 140 | 141 | // scale animation 142 | let scale = scaleAnimation(fromValue: scaleValue, toValue: 1, duration: duration / 2.0) 143 | toView.layer.add(scale, forKey: nil) 144 | 145 | let containerVeiw = transitionContext.containerView 146 | let blurView = containerVeiw.subviews.filter{$0.accessibilityLabel == "blurView"}.first 147 | blurView?.alpha = 0 148 | blurView?.layer.add(hide, forKey: nil) 149 | 150 | DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(duration * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC)) { 151 | transitionContext.completeTransition(true) 152 | } 153 | } 154 | } 155 | 156 | // MARK: animations 157 | 158 | protocol Animations { 159 | func scaleAnimation(fromValue: Double, toValue: Double, duration: Double) -> CABasicAnimation 160 | 161 | func alphaAnimation(fromValue: Double, toValue: Double, duration: Double) -> CABasicAnimation 162 | } 163 | 164 | extension Animations { 165 | 166 | func scaleAnimation(fromValue: Double, toValue: Double, duration: Double) -> CABasicAnimation { 167 | return Init(value: CABasicAnimation(keyPath: "transform.scale")) { 168 | $0.fromValue = (fromValue) 169 | $0.toValue = (toValue) 170 | $0.duration = duration 171 | $0.fillMode = kCAFillModeForwards 172 | $0.isRemovedOnCompletion = false; 173 | } 174 | } 175 | 176 | func alphaAnimation(fromValue: Double, toValue: Double, duration: Double) -> CABasicAnimation { 177 | return Init(value: CABasicAnimation(keyPath: "opacity")) { 178 | $0.fromValue = (fromValue) 179 | $0.toValue = (toValue) 180 | $0.duration = duration 181 | } 182 | } 183 | } 184 | 185 | 186 | // MARK: helpesrs 187 | 188 | private func Init(value : Type, block: (_ object: Type) -> Void) -> Type { 189 | block(value) 190 | return value 191 | } 192 | -------------------------------------------------------------------------------- /ScaleTransitionDemo.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 844EAD691C75F71F001E638A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 844EAD681C75F71F001E638A /* AppDelegate.swift */; }; 11 | 844EAD6B1C75F71F001E638A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 844EAD6A1C75F71F001E638A /* ViewController.swift */; }; 12 | 844EAD6E1C75F71F001E638A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 844EAD6C1C75F71F001E638A /* Main.storyboard */; }; 13 | 844EAD701C75F71F001E638A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 844EAD6F1C75F71F001E638A /* Assets.xcassets */; }; 14 | 844EAD731C75F71F001E638A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 844EAD711C75F71F001E638A /* LaunchScreen.storyboard */; }; 15 | 844EAD7E1C75F720001E638A /* ScaleTransitionDemoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 844EAD7D1C75F720001E638A /* ScaleTransitionDemoTests.swift */; }; 16 | 844EAD891C75F720001E638A /* ScaleTransitionDemoUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 844EAD881C75F720001E638A /* ScaleTransitionDemoUITests.swift */; }; 17 | 844EAD981C75FEB5001E638A /* ScaleTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 844EAD971C75FEB5001E638A /* ScaleTransition.swift */; }; 18 | 844EAD991C75FEBA001E638A /* ScaleTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 844EAD971C75FEB5001E638A /* ScaleTransition.swift */; }; 19 | 844EAD9A1C75FEBB001E638A /* ScaleTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 844EAD971C75FEB5001E638A /* ScaleTransition.swift */; }; 20 | 84766E871C7714A90039BF66 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84766E861C7714A90039BF66 /* DetailViewController.swift */; }; 21 | 84766E881C7714A90039BF66 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84766E861C7714A90039BF66 /* DetailViewController.swift */; }; 22 | 84766E891C7714A90039BF66 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84766E861C7714A90039BF66 /* DetailViewController.swift */; }; 23 | FA05A3C21C7B9CC400B6A90E /* Storyboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA05A3C11C7B9CC400B6A90E /* Storyboards.swift */; }; 24 | FA05A3C31C7B9CC400B6A90E /* Storyboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA05A3C11C7B9CC400B6A90E /* Storyboards.swift */; }; 25 | FA05A3C41C7B9CC400B6A90E /* Storyboards.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA05A3C11C7B9CC400B6A90E /* Storyboards.swift */; }; 26 | FA4A2F221C799BA400A169CF /* Montserrat-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA4A2F201C799BA400A169CF /* Montserrat-Bold.ttf */; }; 27 | FA4A2F231C799BA400A169CF /* Montserrat-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA4A2F201C799BA400A169CF /* Montserrat-Bold.ttf */; }; 28 | FA4A2F241C799BA400A169CF /* Montserrat-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA4A2F201C799BA400A169CF /* Montserrat-Bold.ttf */; }; 29 | FA4A2F251C799BA400A169CF /* Montserrat-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA4A2F211C799BA400A169CF /* Montserrat-Regular.ttf */; }; 30 | FA4A2F261C799BA400A169CF /* Montserrat-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA4A2F211C799BA400A169CF /* Montserrat-Regular.ttf */; }; 31 | FA4A2F271C799BA400A169CF /* Montserrat-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA4A2F211C799BA400A169CF /* Montserrat-Regular.ttf */; }; 32 | FA4A2F2E1C79BB4300A169CF /* LoginAppearance.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA4A2F2D1C79BB4300A169CF /* LoginAppearance.swift */; }; 33 | FA4A2F2F1C79BB4300A169CF /* LoginAppearance.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA4A2F2D1C79BB4300A169CF /* LoginAppearance.swift */; }; 34 | FA4A2F301C79BB4300A169CF /* LoginAppearance.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA4A2F2D1C79BB4300A169CF /* LoginAppearance.swift */; }; 35 | /* End PBXBuildFile section */ 36 | 37 | /* Begin PBXContainerItemProxy section */ 38 | 844EAD7A1C75F720001E638A /* PBXContainerItemProxy */ = { 39 | isa = PBXContainerItemProxy; 40 | containerPortal = 844EAD5D1C75F71F001E638A /* Project object */; 41 | proxyType = 1; 42 | remoteGlobalIDString = 844EAD641C75F71F001E638A; 43 | remoteInfo = ScaleTransitionDemo; 44 | }; 45 | 844EAD851C75F720001E638A /* PBXContainerItemProxy */ = { 46 | isa = PBXContainerItemProxy; 47 | containerPortal = 844EAD5D1C75F71F001E638A /* Project object */; 48 | proxyType = 1; 49 | remoteGlobalIDString = 844EAD641C75F71F001E638A; 50 | remoteInfo = ScaleTransitionDemo; 51 | }; 52 | /* End PBXContainerItemProxy section */ 53 | 54 | /* Begin PBXFileReference section */ 55 | 844EAD651C75F71F001E638A /* ScaleTransitionDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScaleTransitionDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 844EAD681C75F71F001E638A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 57 | 844EAD6A1C75F71F001E638A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 58 | 844EAD6D1C75F71F001E638A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 59 | 844EAD6F1C75F71F001E638A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 60 | 844EAD721C75F71F001E638A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 61 | 844EAD741C75F71F001E638A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 62 | 844EAD791C75F720001E638A /* ScaleTransitionDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ScaleTransitionDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 844EAD7D1C75F720001E638A /* ScaleTransitionDemoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScaleTransitionDemoTests.swift; sourceTree = ""; }; 64 | 844EAD7F1C75F720001E638A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 65 | 844EAD841C75F720001E638A /* ScaleTransitionDemoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ScaleTransitionDemoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 66 | 844EAD881C75F720001E638A /* ScaleTransitionDemoUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScaleTransitionDemoUITests.swift; sourceTree = ""; }; 67 | 844EAD8A1C75F720001E638A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 68 | 844EAD971C75FEB5001E638A /* ScaleTransition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScaleTransition.swift; sourceTree = ""; }; 69 | 84766E861C7714A90039BF66 /* DetailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DetailViewController.swift; sourceTree = ""; }; 70 | BE06110BD8088554D80C178F /* libPods-ScaleTransitionDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ScaleTransitionDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 71 | C918AB55C5C711779AA38C14 /* Pods-ScaleTransitionDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScaleTransitionDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-ScaleTransitionDemo/Pods-ScaleTransitionDemo.release.xcconfig"; sourceTree = ""; }; 72 | CDCFE3846A7F3B724F31C23C /* Pods-ScaleTransitionDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScaleTransitionDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ScaleTransitionDemo/Pods-ScaleTransitionDemo.debug.xcconfig"; sourceTree = ""; }; 73 | FA05A3C11C7B9CC400B6A90E /* Storyboards.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Storyboards.swift; sourceTree = ""; }; 74 | FA4A2F201C799BA400A169CF /* Montserrat-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Montserrat-Bold.ttf"; sourceTree = ""; }; 75 | FA4A2F211C799BA400A169CF /* Montserrat-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Montserrat-Regular.ttf"; sourceTree = ""; }; 76 | FA4A2F2D1C79BB4300A169CF /* LoginAppearance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoginAppearance.swift; sourceTree = ""; }; 77 | FAB476491C823CE3003F71A9 /* ScaleTransitionDemo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ScaleTransitionDemo-Bridging-Header.h"; sourceTree = ""; }; 78 | /* End PBXFileReference section */ 79 | 80 | /* Begin PBXFrameworksBuildPhase section */ 81 | 844EAD621C75F71F001E638A /* Frameworks */ = { 82 | isa = PBXFrameworksBuildPhase; 83 | buildActionMask = 2147483647; 84 | files = ( 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | 844EAD761C75F720001E638A /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | 844EAD811C75F720001E638A /* Frameworks */ = { 96 | isa = PBXFrameworksBuildPhase; 97 | buildActionMask = 2147483647; 98 | files = ( 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | /* End PBXFrameworksBuildPhase section */ 103 | 104 | /* Begin PBXGroup section */ 105 | 2BBC27E80670C3564E3DAFB6 /* Frameworks */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | BE06110BD8088554D80C178F /* libPods-ScaleTransitionDemo.a */, 109 | ); 110 | name = Frameworks; 111 | sourceTree = ""; 112 | }; 113 | 65840ACFBA8B4DBA6C30748D /* Pods */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | CDCFE3846A7F3B724F31C23C /* Pods-ScaleTransitionDemo.debug.xcconfig */, 117 | C918AB55C5C711779AA38C14 /* Pods-ScaleTransitionDemo.release.xcconfig */, 118 | ); 119 | name = Pods; 120 | sourceTree = ""; 121 | }; 122 | 844EAD5C1C75F71F001E638A = { 123 | isa = PBXGroup; 124 | children = ( 125 | 844EAD671C75F71F001E638A /* ScaleTransitionDemo */, 126 | 844EAD7C1C75F720001E638A /* ScaleTransitionDemoTests */, 127 | 844EAD871C75F720001E638A /* ScaleTransitionDemoUITests */, 128 | 844EAD661C75F71F001E638A /* Products */, 129 | 65840ACFBA8B4DBA6C30748D /* Pods */, 130 | 2BBC27E80670C3564E3DAFB6 /* Frameworks */, 131 | FAB476491C823CE3003F71A9 /* ScaleTransitionDemo-Bridging-Header.h */, 132 | ); 133 | sourceTree = ""; 134 | }; 135 | 844EAD661C75F71F001E638A /* Products */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 844EAD651C75F71F001E638A /* ScaleTransitionDemo.app */, 139 | 844EAD791C75F720001E638A /* ScaleTransitionDemoTests.xctest */, 140 | 844EAD841C75F720001E638A /* ScaleTransitionDemoUITests.xctest */, 141 | ); 142 | name = Products; 143 | sourceTree = ""; 144 | }; 145 | 844EAD671C75F71F001E638A /* ScaleTransitionDemo */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | FA4A2F281C79B9DD00A169CF /* UI */, 149 | FA4A2F1F1C799B7800A169CF /* Resources */, 150 | 844EAD961C75FE7E001E638A /* ScaleTransition */, 151 | 844EAD681C75F71F001E638A /* AppDelegate.swift */, 152 | 844EAD6A1C75F71F001E638A /* ViewController.swift */, 153 | 844EAD6C1C75F71F001E638A /* Main.storyboard */, 154 | 844EAD6F1C75F71F001E638A /* Assets.xcassets */, 155 | 844EAD711C75F71F001E638A /* LaunchScreen.storyboard */, 156 | 844EAD741C75F71F001E638A /* Info.plist */, 157 | 84766E861C7714A90039BF66 /* DetailViewController.swift */, 158 | ); 159 | path = ScaleTransitionDemo; 160 | sourceTree = ""; 161 | }; 162 | 844EAD7C1C75F720001E638A /* ScaleTransitionDemoTests */ = { 163 | isa = PBXGroup; 164 | children = ( 165 | 844EAD7D1C75F720001E638A /* ScaleTransitionDemoTests.swift */, 166 | 844EAD7F1C75F720001E638A /* Info.plist */, 167 | ); 168 | path = ScaleTransitionDemoTests; 169 | sourceTree = ""; 170 | }; 171 | 844EAD871C75F720001E638A /* ScaleTransitionDemoUITests */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | 844EAD881C75F720001E638A /* ScaleTransitionDemoUITests.swift */, 175 | 844EAD8A1C75F720001E638A /* Info.plist */, 176 | ); 177 | path = ScaleTransitionDemoUITests; 178 | sourceTree = ""; 179 | }; 180 | 844EAD961C75FE7E001E638A /* ScaleTransition */ = { 181 | isa = PBXGroup; 182 | children = ( 183 | 844EAD971C75FEB5001E638A /* ScaleTransition.swift */, 184 | ); 185 | path = ScaleTransition; 186 | sourceTree = ""; 187 | }; 188 | FA4A2F1F1C799B7800A169CF /* Resources */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | FA4A2F201C799BA400A169CF /* Montserrat-Bold.ttf */, 192 | FA4A2F211C799BA400A169CF /* Montserrat-Regular.ttf */, 193 | ); 194 | name = Resources; 195 | path = ../scaletransitiondemo/Resources; 196 | sourceTree = ""; 197 | }; 198 | FA4A2F281C79B9DD00A169CF /* UI */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | FA4A2F2D1C79BB4300A169CF /* LoginAppearance.swift */, 202 | FA05A3C11C7B9CC400B6A90E /* Storyboards.swift */, 203 | ); 204 | name = UI; 205 | path = ../scaletransitiondemo/UI; 206 | sourceTree = ""; 207 | }; 208 | /* End PBXGroup section */ 209 | 210 | /* Begin PBXNativeTarget section */ 211 | 844EAD641C75F71F001E638A /* ScaleTransitionDemo */ = { 212 | isa = PBXNativeTarget; 213 | buildConfigurationList = 844EAD8D1C75F720001E638A /* Build configuration list for PBXNativeTarget "ScaleTransitionDemo" */; 214 | buildPhases = ( 215 | 844EAD611C75F71F001E638A /* Sources */, 216 | 844EAD621C75F71F001E638A /* Frameworks */, 217 | 844EAD631C75F71F001E638A /* Resources */, 218 | ); 219 | buildRules = ( 220 | ); 221 | dependencies = ( 222 | ); 223 | name = ScaleTransitionDemo; 224 | productName = ScaleTransitionDemo; 225 | productReference = 844EAD651C75F71F001E638A /* ScaleTransitionDemo.app */; 226 | productType = "com.apple.product-type.application"; 227 | }; 228 | 844EAD781C75F720001E638A /* ScaleTransitionDemoTests */ = { 229 | isa = PBXNativeTarget; 230 | buildConfigurationList = 844EAD901C75F720001E638A /* Build configuration list for PBXNativeTarget "ScaleTransitionDemoTests" */; 231 | buildPhases = ( 232 | 844EAD751C75F720001E638A /* Sources */, 233 | 844EAD761C75F720001E638A /* Frameworks */, 234 | 844EAD771C75F720001E638A /* Resources */, 235 | ); 236 | buildRules = ( 237 | ); 238 | dependencies = ( 239 | 844EAD7B1C75F720001E638A /* PBXTargetDependency */, 240 | ); 241 | name = ScaleTransitionDemoTests; 242 | productName = ScaleTransitionDemoTests; 243 | productReference = 844EAD791C75F720001E638A /* ScaleTransitionDemoTests.xctest */; 244 | productType = "com.apple.product-type.bundle.unit-test"; 245 | }; 246 | 844EAD831C75F720001E638A /* ScaleTransitionDemoUITests */ = { 247 | isa = PBXNativeTarget; 248 | buildConfigurationList = 844EAD931C75F720001E638A /* Build configuration list for PBXNativeTarget "ScaleTransitionDemoUITests" */; 249 | buildPhases = ( 250 | 844EAD801C75F720001E638A /* Sources */, 251 | 844EAD811C75F720001E638A /* Frameworks */, 252 | 844EAD821C75F720001E638A /* Resources */, 253 | ); 254 | buildRules = ( 255 | ); 256 | dependencies = ( 257 | 844EAD861C75F720001E638A /* PBXTargetDependency */, 258 | ); 259 | name = ScaleTransitionDemoUITests; 260 | productName = ScaleTransitionDemoUITests; 261 | productReference = 844EAD841C75F720001E638A /* ScaleTransitionDemoUITests.xctest */; 262 | productType = "com.apple.product-type.bundle.ui-testing"; 263 | }; 264 | /* End PBXNativeTarget section */ 265 | 266 | /* Begin PBXProject section */ 267 | 844EAD5D1C75F71F001E638A /* Project object */ = { 268 | isa = PBXProject; 269 | attributes = { 270 | LastSwiftUpdateCheck = 0720; 271 | LastUpgradeCheck = 0800; 272 | ORGANIZATIONNAME = "Alex K."; 273 | TargetAttributes = { 274 | 844EAD641C75F71F001E638A = { 275 | CreatedOnToolsVersion = 7.2.1; 276 | LastSwiftMigration = 0800; 277 | ProvisioningStyle = Automatic; 278 | }; 279 | 844EAD781C75F720001E638A = { 280 | CreatedOnToolsVersion = 7.2.1; 281 | LastSwiftMigration = 0800; 282 | TestTargetID = 844EAD641C75F71F001E638A; 283 | }; 284 | 844EAD831C75F720001E638A = { 285 | CreatedOnToolsVersion = 7.2.1; 286 | LastSwiftMigration = 0800; 287 | TestTargetID = 844EAD641C75F71F001E638A; 288 | }; 289 | }; 290 | }; 291 | buildConfigurationList = 844EAD601C75F71F001E638A /* Build configuration list for PBXProject "ScaleTransitionDemo" */; 292 | compatibilityVersion = "Xcode 3.2"; 293 | developmentRegion = English; 294 | hasScannedForEncodings = 0; 295 | knownRegions = ( 296 | en, 297 | Base, 298 | ); 299 | mainGroup = 844EAD5C1C75F71F001E638A; 300 | productRefGroup = 844EAD661C75F71F001E638A /* Products */; 301 | projectDirPath = ""; 302 | projectRoot = ""; 303 | targets = ( 304 | 844EAD641C75F71F001E638A /* ScaleTransitionDemo */, 305 | 844EAD781C75F720001E638A /* ScaleTransitionDemoTests */, 306 | 844EAD831C75F720001E638A /* ScaleTransitionDemoUITests */, 307 | ); 308 | }; 309 | /* End PBXProject section */ 310 | 311 | /* Begin PBXResourcesBuildPhase section */ 312 | 844EAD631C75F71F001E638A /* Resources */ = { 313 | isa = PBXResourcesBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | FA4A2F221C799BA400A169CF /* Montserrat-Bold.ttf in Resources */, 317 | 844EAD731C75F71F001E638A /* LaunchScreen.storyboard in Resources */, 318 | 844EAD701C75F71F001E638A /* Assets.xcassets in Resources */, 319 | FA4A2F251C799BA400A169CF /* Montserrat-Regular.ttf in Resources */, 320 | 844EAD6E1C75F71F001E638A /* Main.storyboard in Resources */, 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | }; 324 | 844EAD771C75F720001E638A /* Resources */ = { 325 | isa = PBXResourcesBuildPhase; 326 | buildActionMask = 2147483647; 327 | files = ( 328 | FA4A2F261C799BA400A169CF /* Montserrat-Regular.ttf in Resources */, 329 | FA4A2F231C799BA400A169CF /* Montserrat-Bold.ttf in Resources */, 330 | ); 331 | runOnlyForDeploymentPostprocessing = 0; 332 | }; 333 | 844EAD821C75F720001E638A /* Resources */ = { 334 | isa = PBXResourcesBuildPhase; 335 | buildActionMask = 2147483647; 336 | files = ( 337 | FA4A2F271C799BA400A169CF /* Montserrat-Regular.ttf in Resources */, 338 | FA4A2F241C799BA400A169CF /* Montserrat-Bold.ttf in Resources */, 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | }; 342 | /* End PBXResourcesBuildPhase section */ 343 | 344 | /* Begin PBXSourcesBuildPhase section */ 345 | 844EAD611C75F71F001E638A /* Sources */ = { 346 | isa = PBXSourcesBuildPhase; 347 | buildActionMask = 2147483647; 348 | files = ( 349 | FA05A3C21C7B9CC400B6A90E /* Storyboards.swift in Sources */, 350 | 844EAD6B1C75F71F001E638A /* ViewController.swift in Sources */, 351 | 844EAD691C75F71F001E638A /* AppDelegate.swift in Sources */, 352 | FA4A2F2E1C79BB4300A169CF /* LoginAppearance.swift in Sources */, 353 | 844EAD981C75FEB5001E638A /* ScaleTransition.swift in Sources */, 354 | 84766E871C7714A90039BF66 /* DetailViewController.swift in Sources */, 355 | ); 356 | runOnlyForDeploymentPostprocessing = 0; 357 | }; 358 | 844EAD751C75F720001E638A /* Sources */ = { 359 | isa = PBXSourcesBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | 84766E881C7714A90039BF66 /* DetailViewController.swift in Sources */, 363 | FA05A3C31C7B9CC400B6A90E /* Storyboards.swift in Sources */, 364 | FA4A2F2F1C79BB4300A169CF /* LoginAppearance.swift in Sources */, 365 | 844EAD7E1C75F720001E638A /* ScaleTransitionDemoTests.swift in Sources */, 366 | 844EAD991C75FEBA001E638A /* ScaleTransition.swift in Sources */, 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | }; 370 | 844EAD801C75F720001E638A /* Sources */ = { 371 | isa = PBXSourcesBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | 84766E891C7714A90039BF66 /* DetailViewController.swift in Sources */, 375 | FA05A3C41C7B9CC400B6A90E /* Storyboards.swift in Sources */, 376 | FA4A2F301C79BB4300A169CF /* LoginAppearance.swift in Sources */, 377 | 844EAD891C75F720001E638A /* ScaleTransitionDemoUITests.swift in Sources */, 378 | 844EAD9A1C75FEBB001E638A /* ScaleTransition.swift in Sources */, 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | }; 382 | /* End PBXSourcesBuildPhase section */ 383 | 384 | /* Begin PBXTargetDependency section */ 385 | 844EAD7B1C75F720001E638A /* PBXTargetDependency */ = { 386 | isa = PBXTargetDependency; 387 | target = 844EAD641C75F71F001E638A /* ScaleTransitionDemo */; 388 | targetProxy = 844EAD7A1C75F720001E638A /* PBXContainerItemProxy */; 389 | }; 390 | 844EAD861C75F720001E638A /* PBXTargetDependency */ = { 391 | isa = PBXTargetDependency; 392 | target = 844EAD641C75F71F001E638A /* ScaleTransitionDemo */; 393 | targetProxy = 844EAD851C75F720001E638A /* PBXContainerItemProxy */; 394 | }; 395 | /* End PBXTargetDependency section */ 396 | 397 | /* Begin PBXVariantGroup section */ 398 | 844EAD6C1C75F71F001E638A /* Main.storyboard */ = { 399 | isa = PBXVariantGroup; 400 | children = ( 401 | 844EAD6D1C75F71F001E638A /* Base */, 402 | ); 403 | name = Main.storyboard; 404 | sourceTree = ""; 405 | }; 406 | 844EAD711C75F71F001E638A /* LaunchScreen.storyboard */ = { 407 | isa = PBXVariantGroup; 408 | children = ( 409 | 844EAD721C75F71F001E638A /* Base */, 410 | ); 411 | name = LaunchScreen.storyboard; 412 | sourceTree = ""; 413 | }; 414 | /* End PBXVariantGroup section */ 415 | 416 | /* Begin XCBuildConfiguration section */ 417 | 844EAD8C1C75F720001E638A /* Release */ = { 418 | isa = XCBuildConfiguration; 419 | buildSettings = { 420 | ALWAYS_SEARCH_USER_PATHS = NO; 421 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 422 | CLANG_CXX_LIBRARY = "libc++"; 423 | CLANG_ENABLE_MODULES = YES; 424 | CLANG_ENABLE_OBJC_ARC = YES; 425 | CLANG_WARN_BOOL_CONVERSION = YES; 426 | CLANG_WARN_CONSTANT_CONVERSION = YES; 427 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 428 | CLANG_WARN_EMPTY_BODY = YES; 429 | CLANG_WARN_ENUM_CONVERSION = YES; 430 | CLANG_WARN_INFINITE_RECURSION = YES; 431 | CLANG_WARN_INT_CONVERSION = YES; 432 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 433 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 434 | CLANG_WARN_UNREACHABLE_CODE = YES; 435 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 436 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 437 | COPY_PHASE_STRIP = NO; 438 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 439 | ENABLE_NS_ASSERTIONS = NO; 440 | ENABLE_STRICT_OBJC_MSGSEND = YES; 441 | GCC_C_LANGUAGE_STANDARD = gnu99; 442 | GCC_NO_COMMON_BLOCKS = YES; 443 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 444 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 445 | GCC_WARN_UNDECLARED_SELECTOR = YES; 446 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 447 | GCC_WARN_UNUSED_FUNCTION = YES; 448 | GCC_WARN_UNUSED_VARIABLE = YES; 449 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 450 | MTL_ENABLE_DEBUG_INFO = NO; 451 | SDKROOT = iphoneos; 452 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 453 | VALIDATE_PRODUCT = YES; 454 | }; 455 | name = Release; 456 | }; 457 | 844EAD8F1C75F720001E638A /* Release */ = { 458 | isa = XCBuildConfiguration; 459 | buildSettings = { 460 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 461 | CLANG_ENABLE_MODULES = YES; 462 | CODE_SIGN_IDENTITY = "iPhone Developer"; 463 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 464 | DEVELOPMENT_TEAM = ""; 465 | INFOPLIST_FILE = ScaleTransitionDemo/Info.plist; 466 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 467 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 468 | PRODUCT_BUNDLE_IDENTIFIER = com.ramotion.dev; 469 | PRODUCT_NAME = "$(TARGET_NAME)"; 470 | PROVISIONING_PROFILE = ""; 471 | PROVISIONING_PROFILE_SPECIFIER = ""; 472 | SWIFT_OBJC_BRIDGING_HEADER = "ScaleTransitionDemo-Bridging-Header.h"; 473 | SWIFT_VERSION = 3.0; 474 | }; 475 | name = Release; 476 | }; 477 | 844EAD921C75F720001E638A /* Release */ = { 478 | isa = XCBuildConfiguration; 479 | buildSettings = { 480 | BUNDLE_LOADER = "$(TEST_HOST)"; 481 | INFOPLIST_FILE = ScaleTransitionDemoTests/Info.plist; 482 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 483 | PRODUCT_BUNDLE_IDENTIFIER = com.ramotion.ScaleTransitionDemoTests; 484 | PRODUCT_NAME = "$(TARGET_NAME)"; 485 | SWIFT_VERSION = 3.0; 486 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ScaleTransitionDemo.app/ScaleTransitionDemo"; 487 | }; 488 | name = Release; 489 | }; 490 | 844EAD951C75F720001E638A /* Release */ = { 491 | isa = XCBuildConfiguration; 492 | buildSettings = { 493 | INFOPLIST_FILE = ScaleTransitionDemoUITests/Info.plist; 494 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 495 | PRODUCT_BUNDLE_IDENTIFIER = com.ramotion.ScaleTransitionDemoUITests; 496 | PRODUCT_NAME = "$(TARGET_NAME)"; 497 | SWIFT_VERSION = 3.0; 498 | TEST_TARGET_NAME = ScaleTransitionDemo; 499 | USES_XCTRUNNER = YES; 500 | }; 501 | name = Release; 502 | }; 503 | /* End XCBuildConfiguration section */ 504 | 505 | /* Begin XCConfigurationList section */ 506 | 844EAD601C75F71F001E638A /* Build configuration list for PBXProject "ScaleTransitionDemo" */ = { 507 | isa = XCConfigurationList; 508 | buildConfigurations = ( 509 | 844EAD8C1C75F720001E638A /* Release */, 510 | ); 511 | defaultConfigurationIsVisible = 0; 512 | defaultConfigurationName = Release; 513 | }; 514 | 844EAD8D1C75F720001E638A /* Build configuration list for PBXNativeTarget "ScaleTransitionDemo" */ = { 515 | isa = XCConfigurationList; 516 | buildConfigurations = ( 517 | 844EAD8F1C75F720001E638A /* Release */, 518 | ); 519 | defaultConfigurationIsVisible = 0; 520 | defaultConfigurationName = Release; 521 | }; 522 | 844EAD901C75F720001E638A /* Build configuration list for PBXNativeTarget "ScaleTransitionDemoTests" */ = { 523 | isa = XCConfigurationList; 524 | buildConfigurations = ( 525 | 844EAD921C75F720001E638A /* Release */, 526 | ); 527 | defaultConfigurationIsVisible = 0; 528 | defaultConfigurationName = Release; 529 | }; 530 | 844EAD931C75F720001E638A /* Build configuration list for PBXNativeTarget "ScaleTransitionDemoUITests" */ = { 531 | isa = XCConfigurationList; 532 | buildConfigurations = ( 533 | 844EAD951C75F720001E638A /* Release */, 534 | ); 535 | defaultConfigurationIsVisible = 0; 536 | defaultConfigurationName = Release; 537 | }; 538 | /* End XCConfigurationList section */ 539 | }; 540 | rootObject = 844EAD5D1C75F71F001E638A /* Project object */; 541 | } 542 | -------------------------------------------------------------------------------- /scaletransitiondemo/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Montserrat-Bold 12 | 13 | 14 | Montserrat-Regular 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 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 122 | 136 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 320 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | --------------------------------------------------------------------------------