├── .DS_Store ├── picture ├── .DS_Store ├── animation1.gif ├── animation2.gif ├── animation3.gif ├── animation4.gif ├── animation5.gif ├── animation6.gif ├── animation7.gif └── animation8.gif ├── iOSUIViewAnimation ├── .DS_Store ├── iOSUIViewAnimation │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── .DS_Store │ │ ├── tom1.imageset │ │ │ ├── tom1.png │ │ │ └── Contents.json │ │ ├── tom2.imageset │ │ │ ├── tom2.png │ │ │ └── Contents.json │ │ ├── tom3.imageset │ │ │ ├── tom3.png │ │ │ └── Contents.json │ │ ├── tom4.imageset │ │ │ ├── tom4.png │ │ │ └── Contents.json │ │ ├── tom5.imageset │ │ │ ├── tom5-1.png │ │ │ └── Contents.json │ │ ├── tom6.imageset │ │ │ ├── tom6.png │ │ │ └── Contents.json │ │ ├── tom8.imageset │ │ │ ├── tom8-1.png │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ ├── .DS_Store │ │ │ └── Contents.json │ │ └── tom7.imageset │ │ │ ├── animation7.png │ │ │ └── Contents.json │ ├── .DS_Store │ ├── Base.lproj │ │ ├── .DS_Store │ │ └── LaunchScreen.storyboard │ ├── ViewController.h │ ├── AnimationTableViewController.h │ ├── iOSUIViewAnimation.xcdatamodeld │ │ ├── .xccurrentversion │ │ └── iOSUIViewAnimation.xcdatamodel │ │ │ └── contents │ ├── AnimationDetailViewController.h │ ├── main.m │ ├── ViewController.m │ ├── AppDelegate.h │ ├── Info.plist │ ├── AnimationTableViewController.m │ ├── AnimationDetailViewController.m │ ├── AppDelegate.m │ └── Main.storyboard ├── iOSUIViewAnimation.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── iOSUIViewAnimationTests │ ├── Info.plist │ └── iOSUIViewAnimationTests.m └── iOSUIViewAnimationUITests │ ├── Info.plist │ └── iOSUIViewAnimationUITests.m ├── LICENSE ├── .gitignore └── README.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/.DS_Store -------------------------------------------------------------------------------- /picture/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/.DS_Store -------------------------------------------------------------------------------- /picture/animation1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/animation1.gif -------------------------------------------------------------------------------- /picture/animation2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/animation2.gif -------------------------------------------------------------------------------- /picture/animation3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/animation3.gif -------------------------------------------------------------------------------- /picture/animation4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/animation4.gif -------------------------------------------------------------------------------- /picture/animation5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/animation5.gif -------------------------------------------------------------------------------- /picture/animation6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/animation6.gif -------------------------------------------------------------------------------- /picture/animation7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/animation7.gif -------------------------------------------------------------------------------- /picture/animation8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/picture/animation8.gif -------------------------------------------------------------------------------- /iOSUIViewAnimation/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/.DS_Store -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/.DS_Store -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Base.lproj/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Base.lproj/.DS_Store -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/.DS_Store -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom1.imageset/tom1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom1.imageset/tom1.png -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom2.imageset/tom2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom2.imageset/tom2.png -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom3.imageset/tom3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom3.imageset/tom3.png -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom4.imageset/tom4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom4.imageset/tom4.png -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom5.imageset/tom5-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom5.imageset/tom5-1.png -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom6.imageset/tom6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom6.imageset/tom6.png -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom8.imageset/tom8-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom8.imageset/tom8-1.png -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/AppIcon.appiconset/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/AppIcon.appiconset/.DS_Store -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom7.imageset/animation7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minggo620/iOSViewAnimation/HEAD/iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom7.imageset/animation7.png -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/7. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/AnimationTableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AnimationTableViewController.h 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/8. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AnimationTableViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/iOSUIViewAnimation.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | iOSUIViewAnimation.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/AnimationDetailViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AnimationDetailViewController.h 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/8. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AnimationDetailViewController : UIViewController 12 | @property(nonatomic,assign) int type; 13 | @end 14 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/7. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/iOSUIViewAnimation.xcdatamodeld/iOSUIViewAnimation.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tom1.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tom2.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tom3.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tom4.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom6.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tom6.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom5.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tom5-1.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom8.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tom8-1.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Assets.xcassets/tom7.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "animation7.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/7. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/7. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (strong, nonatomic) UIWindow *window; 15 | 16 | @property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext; 17 | @property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel; 18 | @property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator; 19 | 20 | - (void)saveContext; 21 | - (NSURL *)applicationDocumentsDirectory; 22 | 23 | 24 | @end 25 | 26 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimationTests/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 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimationUITests/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 minggo 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 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimationTests/iOSUIViewAnimationTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // iOSUIViewAnimationTests.m 3 | // iOSUIViewAnimationTests 4 | // 5 | // Created by minggo on 16/7/7. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface iOSUIViewAnimationTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation iOSUIViewAnimationTests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | // Put setup code here. This method is called before the invocation of each test method in the class. 20 | } 21 | 22 | - (void)tearDown { 23 | // Put teardown code here. This method is called after the invocation of each test method in the class. 24 | [super tearDown]; 25 | } 26 | 27 | - (void)testExample { 28 | // This is an example of a functional test case. 29 | // Use XCTAssert and related functions to verify your tests produce the correct results. 30 | } 31 | 32 | - (void)testPerformanceExample { 33 | // This is an example of a performance test case. 34 | [self measureBlock:^{ 35 | // Put the code you want to measure the time of here. 36 | }]; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimationUITests/iOSUIViewAnimationUITests.m: -------------------------------------------------------------------------------- 1 | // 2 | // iOSUIViewAnimationUITests.m 3 | // iOSUIViewAnimationUITests 4 | // 5 | // Created by minggo on 16/7/7. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface iOSUIViewAnimationUITests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation iOSUIViewAnimationUITests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | 22 | // In UI tests it is usually best to stop immediately when a failure occurs. 23 | self.continueAfterFailure = NO; 24 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 25 | [[[XCUIApplication alloc] init] launch]; 26 | 27 | // 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. 28 | } 29 | 30 | - (void)tearDown { 31 | // Put teardown code here. This method is called after the invocation of each test method in the class. 32 | [super tearDown]; 33 | } 34 | 35 | - (void)testExample { 36 | // Use recording to get started writing UI tests. 37 | // Use XCTAssert and related functions to verify your tests produce the correct results. 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/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 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "83.5x83.5", 66 | "scale" : "2x" 67 | } 68 | ], 69 | "info" : { 70 | "version" : 1, 71 | "author" : "xcode" 72 | } 73 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/screenshots 54 | 55 | #Code Injection 56 | # 57 | # After new code Injection tools there's a generated folder /iOSInjectionProject 58 | # https://github.com/johnno1962/injectionforxcode 59 | 60 | iOSInjectionProject/ 61 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/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 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/AnimationTableViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // AnimationTableViewController.m 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/8. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import "AnimationTableViewController.h" 10 | #import "AnimationDetailViewController.h" 11 | 12 | @interface AnimationTableViewController () 13 | 14 | @end 15 | 16 | @implementation AnimationTableViewController{ 17 | int index; 18 | } 19 | 20 | - (void)viewDidLoad { 21 | [super viewDidLoad]; 22 | 23 | // Uncomment the following line to preserve selection between presentations. 24 | // self.clearsSelectionOnViewWillAppear = NO; 25 | 26 | // Uncomment the following line to display an Edit button in the navigation bar for this view controller. 27 | // self.navigationItem.rightBarButtonItem = self.editButtonItem; 28 | } 29 | 30 | - (void)didReceiveMemoryWarning { 31 | [super didReceiveMemoryWarning]; 32 | // Dispose of any resources that can be recreated. 33 | } 34 | 35 | #pragma mark - Table view data source 36 | 37 | -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ 38 | index = (int)indexPath.row; 39 | 40 | AnimationDetailViewController *controller = [self.storyboard instantiateViewControllerWithIdentifier:@"vc_detail"]; 41 | controller.type = index; 42 | [self.navigationController pushViewController:controller animated:YES]; 43 | } 44 | 45 | //- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { 46 | //#warning Incomplete implementation, return the number of sections 47 | // return 0; 48 | //} 49 | // 50 | //- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { 51 | //#warning Incomplete implementation, return the number of rows 52 | // return 0; 53 | //} 54 | 55 | /* 56 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { 57 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:<#@"reuseIdentifier"#> forIndexPath:indexPath]; 58 | 59 | // Configure the cell... 60 | 61 | return cell; 62 | } 63 | */ 64 | 65 | /* 66 | // Override to support conditional editing of the table view. 67 | - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { 68 | // Return NO if you do not want the specified item to be editable. 69 | return YES; 70 | } 71 | */ 72 | 73 | /* 74 | // Override to support editing the table view. 75 | - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { 76 | if (editingStyle == UITableViewCellEditingStyleDelete) { 77 | // Delete the row from the data source 78 | [tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade]; 79 | } else if (editingStyle == UITableViewCellEditingStyleInsert) { 80 | // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view 81 | } 82 | } 83 | */ 84 | 85 | /* 86 | // Override to support rearranging the table view. 87 | - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath { 88 | } 89 | */ 90 | 91 | /* 92 | // Override to support conditional rearranging of the table view. 93 | - (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath { 94 | // Return NO if you do not want the item to be re-orderable. 95 | return YES; 96 | } 97 | */ 98 | 99 | 100 | #pragma mark - Navigation 101 | 102 | // In a storyboard-based application, you will often want to do a little preparation before navigation 103 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 104 | // AnimationDetailViewController *controller = segue.destinationViewController; 105 | // controller.type = index; 106 | // NSLog(@"选择了-->%i",index); 107 | } 108 | 109 | 110 | @end 111 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 30 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/AnimationDetailViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // AnimationDetailViewController.m 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/8. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import "AnimationDetailViewController.h" 10 | 11 | @interface AnimationDetailViewController () 12 | @property (weak, nonatomic) IBOutlet UIImageView *anView; 13 | @end 14 | 15 | @implementation AnimationDetailViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | [self setImage]; 20 | } 21 | 22 | -(void)setImage{ 23 | 24 | [self.anView setImage:[UIImage imageNamed:[NSString stringWithFormat:@"tom%i",self.type+1]]]; 25 | [self.anView setBackgroundColor:[UIColor greenColor]]; 26 | 27 | } 28 | 29 | -(void)changeFrame{ 30 | 31 | CGRect originalRect = self.anView.frame; 32 | CGRect rect = CGRectMake(self.anView.frame.origin.x-20, self.anView.frame.origin.y-120, 160, 80); 33 | 34 | [UIView animateWithDuration:1 animations:^{ 35 | self.anView.frame = rect; 36 | } completion:^(BOOL finished) { 37 | [UIView animateWithDuration:1 animations:^{ 38 | self.anView.frame = originalRect; 39 | }]; 40 | 41 | }]; 42 | 43 | } 44 | 45 | -(void)changeBounds{ 46 | 47 | CGRect originalBounds = self.anView.bounds; 48 | //尽管这个rect的x,y跟原始的不同,动画也只是改变了宽高 49 | CGRect rect = CGRectMake(0, 0, 300, 120); 50 | 51 | [UIView animateWithDuration:1 animations:^{ 52 | self.anView.bounds = rect; 53 | } completion:^(BOOL finished) { 54 | [UIView animateWithDuration:1 animations:^{ 55 | self.anView.bounds = originalBounds; 56 | }]; 57 | 58 | }]; 59 | } 60 | 61 | -(void)changeCenter{ 62 | 63 | CGPoint originalPoint = self.anView.center; 64 | CGPoint point = CGPointMake(self.anView.center.x, self.anView.center.y-170); 65 | 66 | [UIView animateWithDuration:0.3 animations:^{ 67 | self.anView.center = point; 68 | } completion:^(BOOL finished) { 69 | [UIView animateWithDuration:1 animations:^{ 70 | self.anView.center = originalPoint; 71 | }]; 72 | 73 | }]; 74 | } 75 | 76 | -(void)transform{ 77 | CGAffineTransform originalTransform = self.anView.transform; 78 | [UIView animateWithDuration:2 animations:^{ 79 | //self.anView.transform = CGAffineTransformMakeScale(0.6, 0.6);//缩放 80 | //self.anView.transform = CGAffineTransformMakeTranslation(60, -60); 81 | self.anView.transform = CGAffineTransformMakeRotation(4.0f); 82 | 83 | } completion:^(BOOL finished) { 84 | [UIView animateWithDuration:2 animations:^{ 85 | self.anView.transform = originalTransform; 86 | 87 | }]; 88 | }]; 89 | } 90 | 91 | -(void)alpha{ 92 | [UIView animateWithDuration:1 animations:^{ 93 | self.anView.alpha = 0.2; 94 | } completion:^(BOOL finished) { 95 | [UIView animateWithDuration:1 animations:^{ 96 | self.anView.alpha = 1; 97 | }]; 98 | 99 | }]; 100 | } 101 | 102 | -(void)changeBackground{ 103 | 104 | [UIView animateKeyframesWithDuration:9.0 delay:0.f options:UIViewKeyframeAnimationOptionCalculationModeLinear animations:^{ 105 | [UIView addKeyframeWithRelativeStartTime:0.f relativeDuration:1.0 / 4 animations:^{ 106 | self.anView.backgroundColor = [UIColor colorWithRed:0.9475 green:0.1921 blue:0.1746 alpha:1.0]; 107 | }]; 108 | [UIView addKeyframeWithRelativeStartTime:1.0 / 4 relativeDuration:1.0 / 4 animations:^{ 109 | self.anView.backgroundColor = [UIColor colorWithRed:0.1064 green:0.6052 blue:0.0334 alpha:1.0]; 110 | }]; 111 | [UIView addKeyframeWithRelativeStartTime:2.0 / 4 relativeDuration:1.0 / 4 animations:^{ 112 | self.anView.backgroundColor = [UIColor colorWithRed:0.1366 green:0.3017 blue:0.8411 alpha:1.0]; 113 | }]; 114 | [UIView addKeyframeWithRelativeStartTime:3.0 / 4 relativeDuration:1.0 / 4 animations:^{ 115 | self.anView.backgroundColor = [UIColor colorWithRed:0.619 green:0.037 blue:0.6719 alpha:1.0]; 116 | }]; 117 | [UIView addKeyframeWithRelativeStartTime:3.0 / 4 relativeDuration:1.0 / 4 animations:^{ 118 | self.anView.backgroundColor = [UIColor whiteColor]; 119 | }]; 120 | } completion:^(BOOL finished) { 121 | NSLog(@"动画结束"); 122 | }]; 123 | } 124 | 125 | -(void)springAnimation{ 126 | CGRect originalRect = self.anView.frame; 127 | CGRect rect = CGRectMake(self.anView.frame.origin.x-80, self.anView.frame.origin.y, 120, 120); 128 | 129 | [UIView animateWithDuration:0.4 delay:0 usingSpringWithDamping:0.5 initialSpringVelocity:4 options:UIViewAnimationOptionCurveLinear animations:^{ 130 | self.anView.frame = rect; 131 | } completion:^(BOOL finished) { 132 | [UIView animateWithDuration:1 delay:1 usingSpringWithDamping:0.5 initialSpringVelocity:4 options:UIViewAnimationOptionCurveLinear animations:^{ 133 | self.anView.frame = originalRect; 134 | } completion:^(BOOL finished) { 135 | 136 | }]; 137 | }]; 138 | 139 | } 140 | 141 | -(void)transitionAnimation{ 142 | [UIView transitionWithView:self.anView duration:2.0 options:UIViewAnimationOptionTransitionFlipFromLeft animations:^{ 143 | //self.anView.backgroundColor = [UIColor blueColor]; 144 | } completion:^(BOOL finished) { 145 | [UIView transitionWithView:self.anView duration:2.0 options:UIViewAnimationOptionTransitionFlipFromRight animations:^{ 146 | //self.anView.backgroundColor = [UIColor greenColor]; 147 | } completion:^(BOOL finished) { 148 | 149 | }]; 150 | }]; 151 | } 152 | 153 | - (void)didReceiveMemoryWarning { 154 | [super didReceiveMemoryWarning]; 155 | 156 | } 157 | - (IBAction)click:(id)sender { 158 | if (self.type==0) { 159 | [self changeFrame]; 160 | }else if (self.type==1){ 161 | [self changeBounds]; 162 | }else if (self.type==2){ 163 | [self changeCenter]; 164 | }else if (self.type==3){ 165 | [self transform]; 166 | }else if (self.type==4){ 167 | [self alpha]; 168 | }else if (self.type==5){ 169 | [self changeBackground]; 170 | }else if (self.type==6){ 171 | [self springAnimation]; 172 | }else if (self.type==7){ 173 | [self transitionAnimation]; 174 | } 175 | } 176 | 177 | @end 178 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // iOSUIViewAnimation 4 | // 5 | // Created by minggo on 16/7/7. 6 | // Copyright © 2016年 minggo. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | return YES; 21 | } 22 | 23 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // 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. 25 | // 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. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // 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. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // 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. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application { 42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | // Saves changes in the application's managed object context before the application terminates. 44 | [self saveContext]; 45 | } 46 | 47 | #pragma mark - Core Data stack 48 | 49 | @synthesize managedObjectContext = _managedObjectContext; 50 | @synthesize managedObjectModel = _managedObjectModel; 51 | @synthesize persistentStoreCoordinator = _persistentStoreCoordinator; 52 | 53 | - (NSURL *)applicationDocumentsDirectory { 54 | // The directory the application uses to store the Core Data store file. This code uses a directory named "com.minggo.iOSUIViewAnimation" in the application's documents directory. 55 | return [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]; 56 | } 57 | 58 | - (NSManagedObjectModel *)managedObjectModel { 59 | // The managed object model for the application. It is a fatal error for the application not to be able to find and load its model. 60 | if (_managedObjectModel != nil) { 61 | return _managedObjectModel; 62 | } 63 | NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"iOSUIViewAnimation" withExtension:@"momd"]; 64 | _managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL]; 65 | return _managedObjectModel; 66 | } 67 | 68 | - (NSPersistentStoreCoordinator *)persistentStoreCoordinator { 69 | // The persistent store coordinator for the application. This implementation creates and returns a coordinator, having added the store for the application to it. 70 | if (_persistentStoreCoordinator != nil) { 71 | return _persistentStoreCoordinator; 72 | } 73 | 74 | // Create the coordinator and store 75 | 76 | _persistentStoreCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:[self managedObjectModel]]; 77 | NSURL *storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"iOSUIViewAnimation.sqlite"]; 78 | NSError *error = nil; 79 | NSString *failureReason = @"There was an error creating or loading the application's saved data."; 80 | if (![_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:nil error:&error]) { 81 | // Report any error we got. 82 | NSMutableDictionary *dict = [NSMutableDictionary dictionary]; 83 | dict[NSLocalizedDescriptionKey] = @"Failed to initialize the application's saved data"; 84 | dict[NSLocalizedFailureReasonErrorKey] = failureReason; 85 | dict[NSUnderlyingErrorKey] = error; 86 | error = [NSError errorWithDomain:@"YOUR_ERROR_DOMAIN" code:9999 userInfo:dict]; 87 | // Replace this with code to handle the error appropriately. 88 | // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development. 89 | NSLog(@"Unresolved error %@, %@", error, [error userInfo]); 90 | abort(); 91 | } 92 | 93 | return _persistentStoreCoordinator; 94 | } 95 | 96 | 97 | - (NSManagedObjectContext *)managedObjectContext { 98 | // Returns the managed object context for the application (which is already bound to the persistent store coordinator for the application.) 99 | if (_managedObjectContext != nil) { 100 | return _managedObjectContext; 101 | } 102 | 103 | NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator]; 104 | if (!coordinator) { 105 | return nil; 106 | } 107 | _managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType]; 108 | [_managedObjectContext setPersistentStoreCoordinator:coordinator]; 109 | return _managedObjectContext; 110 | } 111 | 112 | #pragma mark - Core Data Saving support 113 | 114 | - (void)saveContext { 115 | NSManagedObjectContext *managedObjectContext = self.managedObjectContext; 116 | if (managedObjectContext != nil) { 117 | NSError *error = nil; 118 | if ([managedObjectContext hasChanges] && ![managedObjectContext save:&error]) { 119 | // Replace this implementation with code to handle the error appropriately. 120 | // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development. 121 | NSLog(@"Unresolved error %@, %@", error, [error userInfo]); 122 | abort(); 123 | } 124 | } 125 | } 126 | 127 | @end 128 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # 谈UIView Animation编程艺术 3 | [![Support](https://img.shields.io/badge/support-iOS%207%2B%20-blue.svg?style=flat)](https://www.apple.com/nl/ios/)  4 | [![Travis](https://img.shields.io/travis/rust-lang/rust.svg)]() 5 | [![GitHub release](https://img.shields.io/github/release/qubyte/rubidium.svg)]() 6 | [![Github All Releases](https://img.shields.io/badge/download-6M Total-green.svg)](https://github.com/minggo620/iOSViewAnimation/master.zip) 7 | “Action!”,欢迎收看这期大型扯谈实用类技术节目,《小明讲故事》,大家好我是小明! 8 | 9 | 有人会这么问,“小明,no zuo no die,你觉得哪个城市的人最作?”。“我觉得~伦敦的人比较作,相当作,作得有风格,作得有国际范!因为~有一个伦敦人叫Charlie Chaplin,中文名叫查理 卓别林,小名叫作不停,作界的佛爷啊,嘻嘻~”。 10 | 11 | “幼稚!!” ,“美国新墨西哥州的人也挺作的,你看《猫和老鼠》中的Tom捉了140集,Jerry还是没有被捉住,作界的二爷呢。” ,“滚!!”。 12 | 13 | **得动画者得天下啊**,有请我们今天的嘉宾哑剧之王--卓别林先生和深爱Jerry的Tom先生。 14 | ![文章结构图](http://upload-images.jianshu.io/upload_images/1252638-e34dbfae11866a13.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 15 | 卓先生,您也做过电影后期剪切工作,电影的动画是如何形成的呢? 16 | >在英国把动画叫Animation,它的动词形式是Animate,你们中文意思是“赋予生命”。对于人类来说,眼睛看到一幅画或一个物体后,在0.34秒内不会消失。利用这一原理,在一幅画还没有消失前播放下一幅画,就会给人造成一种流畅的视觉变化效果。对于苍蝇,那就不一样,那叫反应迟钝。 17 | 18 | ![chaplin.gif](http://upload-images.jianshu.io/upload_images/1252638-b4400573ed42866e.gif?imageMogr2/auto-orient/strip%7CimageView2/2/w/320) 19 | 20 | 21 | 哦~卓先生说的应该就是**逐帧动画**,每一个画面就是一帧,逐一播放形成连续的动画效果。那么,Tom先生,您那个时代动画又有什么变化吗? 22 | >我是看卓先生的电影长大的,1940我才出现在荧屏上。不过有些不一样了,不仅仅单一画面逐一播放,你们可以在《猫和老鼠》中,看到我的胡子被Jerry拉得夸张长,追起Jerry来,身体那些夸张的伸缩,人无法做到的,这也是动漫的魅力。这些动画变化,是可以通过计算机计算每一个时间变化的信息集合成每一帧的画面。 23 | 24 | ![tom.gif](http://upload-images.jianshu.io/upload_images/1252638-2bfdc6e531105220.gif?imageMogr2/auto-orient/strip%7CimageView2/2/w/320) 25 | 26 | 哦~Tom先生说的应该是**关键帧动画**,这个在现代技术比较常见的动画制作方式。比如现在大家用的苹果产品,按钮的大小变化,图片的移动,旋转等等这些都是关键帧动画。作为iOS开发者的话,UIView Animation就是属于关键帧动画这一类。 27 | 28 | 现代的技术是很先进,挺有味道的,我们一起来领略一下,还得请Tom示范一下。 29 | ###一.大小动画(改变frame) 30 | ####1.展示效果 31 | ![fram大小变化](http://upload-images.jianshu.io/upload_images/1252638-e55121cc90b124cc.gif?imageMogr2/auto-orient/strip) 32 | ####2.Show Code 33 | -(void)changeFrame{ 34 | 35 | CGRect originalRect = self.anView.frame; 36 | CGRect rect = CGRectMake(self.anView.frame.origin.x-20, self.anView.frame.origin.y-120, 160, 80); 37 | 38 | [UIView animateWithDuration:1 animations:^{ 39 | self.anView.frame = rect; 40 | } completion:^(BOOL finished) { 41 | [UIView animateWithDuration:1 animations:^{ 42 | self.anView.frame = originalRect; 43 | }]; 44 | 45 | }]; 46 | } 47 | 48 | ###二.拉伸动画(改变bounds) 49 | ####1.展示效果 50 | ![bounds变化](http://upload-images.jianshu.io/upload_images/1252638-c537a67a110fed09.gif?imageMogr2/auto-orient/strip) 51 | ####2.Show Code 52 | -(void)changeBounds{ 53 | 54 | CGRect originalBounds = self.anView.bounds; 55 | //尽管这个rect的x,y跟原始的不同,动画也只是改变了宽高 56 | CGRect rect = CGRectMake(0, 0, 300, 120); 57 | 58 | [UIView animateWithDuration:1 animations:^{ 59 | self.anView.bounds = rect; 60 | } completion:^(BOOL finished) { 61 | [UIView animateWithDuration:1 animations:^{ 62 | self.anView.bounds = originalBounds; 63 | }]; 64 | 65 | }]; 66 | } 67 | 68 | ###三.转移动画(改变center) 69 | ####1.展示效果 70 | ![animation3.gif](http://upload-images.jianshu.io/upload_images/1252638-982b6c7a810f4ed1.gif?imageMogr2/auto-orient/strip) 71 | ####2.Show Code 72 | 73 | -(void)changeCenter{ 74 | 75 | CGPoint originalPoint = self.anView.center; 76 | CGPoint point = CGPointMake(self.anView.center.x, self.anView.center.y-170); 77 | 78 | [UIView animateWithDuration:0.3 animations:^{ 79 | self.anView.center = point; 80 | } completion:^(BOOL finished) { 81 | [UIView animateWithDuration:1 animations:^{ 82 | self.anView.center = originalPoint; 83 | }]; 84 | 85 | }]; 86 | } 87 | 88 | 89 | 谢谢二爷的示范,经典的表情也勾起很多人的回忆。好,我们回到现实,以上的3个例子,大家不难发现共同的特点和重复性。 90 | >**1.都是改变UIView的属性就可以产生动画。** 91 | **2.都是带有block做结束回调,对结束监控** 92 | **3.动画大小和位置变化可以通过多种方式实现** 93 | 94 | “佛爷,是不是很好奇我们并没有使用Tom先生很多图片组逐一显示?来,也请您下矿一走!”。“哈哈,好!不过那碗河水我还是要倒的”,“行,随你翻腾~”。 95 | 96 | ###四.旋转动画(改变transform) 97 | ####1.展示效果 98 | ![animation4.gif](http://upload-images.jianshu.io/upload_images/1252638-21b81e01aeffae75.gif?imageMogr2/auto-orient/strip) 99 | ####2.Show Code 100 | -(void)transform{ 101 | CGAffineTransform originalTransform = self.anView.transform; 102 | [UIView animateWithDuration:2 animations:^{ 103 | //self.anView.transform = CGAffineTransformMakeScale(0.6, 0.6);//缩放 104 | //self.anView.transform = CGAffineTransformMakeTranslation(60, -60); 105 | self.anView.transform = CGAffineTransformMakeRotation(4.0f); 106 | 107 | } completion:^(BOOL finished) { 108 | [UIView animateWithDuration:2 animations:^{ 109 | self.anView.transform = originalTransform; 110 | 111 | }]; 112 | }]; 113 | } 114 | 115 | ###五.透明度动画(改变alpha) 116 | ####1.展示效果 117 | ![animation5.gif](http://upload-images.jianshu.io/upload_images/1252638-8413629d4f3ffe79.gif?imageMogr2/auto-orient/strip) 118 | ####2.Show Code 119 | -(void)alpha{ 120 | [UIView animateWithDuration:2 animations:^{ 121 | self.anView.alpha = 0.3; 122 | } completion:^(BOOL finished) { 123 | [UIView animateWithDuration:2 animations:^{ 124 | self.anView.alpha = 1; 125 | }]; 126 | 127 | }]; 128 | } 129 | 130 | 卓先生,停停停,来,回到我们舞台中间来。就以上6中都能让您玩的这么愉快,以上都是仅仅修改本身的属性值,我再介绍剩下三种基于UIView特别的动画,一个是Keyframe,一个Spring和transition动画。一人一个轮着来,卓先生先生你先。 131 | 132 | ###六.背景颜色Keyframes动画(改变background) 133 | ####1.展示效果 134 | ![animation6.gif](http://upload-images.jianshu.io/upload_images/1252638-1bd8f41adab762f0.gif?imageMogr2/auto-orient/strip) 135 | ####2.Show Code 136 | -(void)changeBackground{ 137 | 138 | [UIView animateKeyframesWithDuration:9.0 delay:0.f options:UIViewKeyframeAnimationOptionCalculationModeLinear animations:^{ 139 | [UIView addKeyframeWithRelativeStartTime:0.f relativeDuration:1.0 / 4 animations:^{ 140 | self.anView.backgroundColor = [UIColor colorWithRed:0.9475 green:0.1921 blue:0.1746 alpha:1.0]; 141 | }]; 142 | [UIView addKeyframeWithRelativeStartTime:1.0 / 4 relativeDuration:1.0 / 4 animations:^{ 143 | self.anView.backgroundColor = [UIColor colorWithRed:0.1064 green:0.6052 blue:0.0334 alpha:1.0]; 144 | }]; 145 | [UIView addKeyframeWithRelativeStartTime:2.0 / 4 relativeDuration:1.0 / 4 animations:^{ 146 | self.anView.backgroundColor = [UIColor colorWithRed:0.1366 green:0.3017 blue:0.8411 alpha:1.0]; 147 | }]; 148 | [UIView addKeyframeWithRelativeStartTime:3.0 / 4 relativeDuration:1.0 / 4 animations:^{ 149 | self.anView.backgroundColor = [UIColor colorWithRed:0.619 green:0.037 blue:0.6719 alpha:1.0]; 150 | }]; 151 | [UIView addKeyframeWithRelativeStartTime:3.0 / 4 relativeDuration:1.0 / 4 animations:^{ 152 | self.anView.backgroundColor = [UIColor whiteColor]; 153 | }]; 154 | } completion:^(BOOL finished) { 155 | NSLog(@"动画结束"); 156 | }]; 157 | } 158 | 159 | ###七.Spring动画(iOS7.0起) 160 | ####1.展示效果 161 | ![animation7.gif](http://upload-images.jianshu.io/upload_images/1252638-be761fff07d7abe1.gif?imageMogr2/auto-orient/strip) 162 | ####2.Show Code 163 | -(void)springAnimation{ 164 | CGRect originalRect = self.anView.frame; 165 | CGRect rect = CGRectMake(self.anView.frame.origin.x-80, self.anView.frame.origin.y, 120, 120); 166 | 167 | [UIView animateWithDuration:0.4 delay:0 usingSpringWithDamping:0.5 initialSpringVelocity:4 options:UIViewAnimationOptionCurveLinear animations:^{ 168 | self.anView.frame = rect; 169 | } completion:^(BOOL finished) { 170 | [UIView animateWithDuration:1 delay:1 usingSpringWithDamping:0.5 initialSpringVelocity:4 options:UIViewAnimationOptionCurveLinear animations:^{ 171 | self.anView.frame = originalRect; 172 | } completion:^(BOOL finished) { 173 | 174 | }]; 175 | }]; 176 | } 177 | 178 | 179 | ###八.transition动画 180 | ####1.展示效果 181 | ![animation8.gif](http://upload-images.jianshu.io/upload_images/1252638-a10f214c11af5c57.gif?imageMogr2/auto-orient/strip) 182 | ####2.Show Code 183 | -(void)transitionAnimation{ 184 | [UIView transitionWithView:self.anView duration:2.0 options:UIViewAnimationOptionTransitionFlipFromLeft animations:^{ 185 | //self.anView.backgroundColor = [UIColor blueColor]; 186 | } completion:^(BOOL finished) { 187 | [UIView transitionWithView:self.anView duration:2.0 options:UIViewAnimationOptionTransitionFlipFromRight animations:^{ 188 | //self.anView.backgroundColor = [UIColor greenColor]; 189 | } completion:^(BOOL finished) { 190 | 191 | }]; 192 | }]; 193 | } 194 | 195 | ###九.关于参数option选择说明 196 | ####1.UIViewAnimationOptions 197 | 198 | UIViewAnimationOptionLayoutSubviews //进行动画时布局子控件 199 | UIViewAnimationOptionAllowUserInteraction //进行动画时允许用户交互 200 | UIViewAnimationOptionBeginFromCurrentState //从当前状态开始动画 201 | UIViewAnimationOptionRepeat //无限重复执行动画 202 | UIViewAnimationOptionAutoreverse //执行动画回路 203 | UIViewAnimationOptionOverrideInheritedDuration //忽略嵌套动画的执行时间设置 204 | UIViewAnimationOptionOverrideInheritedCurve //忽略嵌套动画的曲线设置 205 | UIViewAnimationOptionAllowAnimatedContent //转场:进行动画时重绘视图 206 | UIViewAnimationOptionShowHideTransitionViews //转场:移除(添加和移除图层的)动画效果 207 | UIViewAnimationOptionOverrideInheritedOptions //不继承父动画设置 208 | 209 | UIViewAnimationOptionCurveEaseInOut //时间曲线,慢进慢出(默认值) 210 | UIViewAnimationOptionCurveEaseIn //时间曲线,慢进 211 | UIViewAnimationOptionCurveEaseOut //时间曲线,慢出 212 | UIViewAnimationOptionCurveLinear //时间曲线,匀速 213 | 214 | UIViewAnimationOptionTransitionNone //转场,不使用动画 215 | UIViewAnimationOptionTransitionFlipFromLeft //转场,从左向右旋转翻页 216 | UIViewAnimationOptionTransitionFlipFromRight //转场,从右向左旋转翻页 217 | UIViewAnimationOptionTransitionCurlUp //转场,下往上卷曲翻页 218 | UIViewAnimationOptionTransitionCurlDown //转场,从上往下卷曲翻页 219 | UIViewAnimationOptionTransitionCrossDissolve //转场,交叉消失和出现 220 | UIViewAnimationOptionTransitionFlipFromTop //转场,从上向下旋转翻页 221 | UIViewAnimationOptionTransitionFlipFromBottom //转场,从下向上旋转翻页 222 | 223 | ###2.UIViewKeyframeAnimationOptions 224 | UIViewAnimationOptionLayoutSubviews //进行动画时布局子控件 225 | UIViewAnimationOptionAllowUserInteraction //进行动画时允许用户交互 226 | UIViewAnimationOptionBeginFromCurrentState //从当前状态开始动画 227 | UIViewAnimationOptionRepeat //无限重复执行动画 228 | UIViewAnimationOptionAutoreverse //执行动画回路 229 | UIViewAnimationOptionOverrideInheritedDuration //忽略嵌套动画的执行时间设置 230 | UIViewAnimationOptionOverrideInheritedOptions //不继承父动画设置 231 | 232 | UIViewKeyframeAnimationOptionCalculationModeLinear //运算模式 :连续 233 | UIViewKeyframeAnimationOptionCalculationModeDiscrete //运算模式 :离散 234 | UIViewKeyframeAnimationOptionCalculationModePaced //运算模式 :均匀执行 235 | UIViewKeyframeAnimationOptionCalculationModeCubic //运算模式 :平滑 236 | UIViewKeyframeAnimationOptionCalculationModeCubicPaced //运算模式 :平滑均匀 237 | 238 | 就UIView的动画而言,UIViewKeyframeAnimationOptions紧在Keyframes,其余的都是UIViewAnimationOptions。 239 | 240 | ###十.总结和扩展 241 | **1.UIView动画主要是变化UIView的自带属性** 242 | **2.UIView动画可以有很多种方式实现同一效果** 243 | **3.Spring动画iOS7.0以上才有** 244 | **4.UIViewKeyframeAnimationOptions用着Keyframes动画,其余都用UIViewAnimationOptions枚举** 245 | 这就以上UIView Animation的动画的基础内容了,节目到了尾声。嘿,卓先生,Tom先生停下来,给大家说byebye啦。谢谢大家,让我们再次以热烈的掌声感谢卓先生和Tom先生。谢谢~~ 246 | ###十一.源码地址 247 | #####*[https://github.com/minggo620/iOSViewAnimation](https://github.com/minggo620/iOSViewAnimation)* 248 | ######谢谢收看这期大型扯淡实用技术类节目,《小明讲故事》。"Tom老师,你对我眨眼什么意思?",“你们中国的《喜洋洋和灰太狼》捉了多少集?” 249 | *** 250 | **【原创出品 未经授权 禁止转载】** 251 | **【欢迎微友分享转发 禁止公号等未经授权的转载】** 252 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 467747F61D2E647D000C6519 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 467747F51D2E647D000C6519 /* main.m */; }; 11 | 467747F91D2E647D000C6519 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 467747F81D2E647D000C6519 /* AppDelegate.m */; }; 12 | 467747FC1D2E647D000C6519 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 467747FB1D2E647D000C6519 /* ViewController.m */; }; 13 | 467748021D2E647D000C6519 /* iOSUIViewAnimation.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 467748001D2E647D000C6519 /* iOSUIViewAnimation.xcdatamodeld */; }; 14 | 467748041D2E647D000C6519 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 467748031D2E647D000C6519 /* Assets.xcassets */; }; 15 | 467748071D2E647D000C6519 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 467748051D2E647D000C6519 /* LaunchScreen.storyboard */; }; 16 | 467748121D2E647D000C6519 /* iOSUIViewAnimationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 467748111D2E647D000C6519 /* iOSUIViewAnimationTests.m */; }; 17 | 4677481D1D2E647E000C6519 /* iOSUIViewAnimationUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4677481C1D2E647E000C6519 /* iOSUIViewAnimationUITests.m */; }; 18 | 4677482C1D2F4743000C6519 /* AnimationTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4677482B1D2F4743000C6519 /* AnimationTableViewController.m */; }; 19 | 4677482F1D2F4883000C6519 /* AnimationDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4677482E1D2F4883000C6519 /* AnimationDetailViewController.m */; }; 20 | 467748381D2F5E69000C6519 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 467748371D2F5E69000C6519 /* Main.storyboard */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 4677480E1D2E647D000C6519 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = 467747E91D2E647D000C6519 /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 467747F01D2E647D000C6519; 29 | remoteInfo = iOSUIViewAnimation; 30 | }; 31 | 467748191D2E647E000C6519 /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = 467747E91D2E647D000C6519 /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = 467747F01D2E647D000C6519; 36 | remoteInfo = iOSUIViewAnimation; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 467747F11D2E647D000C6519 /* iOSUIViewAnimation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOSUIViewAnimation.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 467747F51D2E647D000C6519 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 43 | 467747F71D2E647D000C6519 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 44 | 467747F81D2E647D000C6519 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 45 | 467747FA1D2E647D000C6519 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 46 | 467747FB1D2E647D000C6519 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 47 | 467748011D2E647D000C6519 /* iOSUIViewAnimation.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = iOSUIViewAnimation.xcdatamodel; sourceTree = ""; }; 48 | 467748031D2E647D000C6519 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 49 | 467748061D2E647D000C6519 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 50 | 467748081D2E647D000C6519 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | 4677480D1D2E647D000C6519 /* iOSUIViewAnimationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iOSUIViewAnimationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 467748111D2E647D000C6519 /* iOSUIViewAnimationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOSUIViewAnimationTests.m; sourceTree = ""; }; 53 | 467748131D2E647D000C6519 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | 467748181D2E647E000C6519 /* iOSUIViewAnimationUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iOSUIViewAnimationUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 4677481C1D2E647E000C6519 /* iOSUIViewAnimationUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOSUIViewAnimationUITests.m; sourceTree = ""; }; 56 | 4677481E1D2E647E000C6519 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | 4677482A1D2F4743000C6519 /* AnimationTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnimationTableViewController.h; sourceTree = ""; }; 58 | 4677482B1D2F4743000C6519 /* AnimationTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnimationTableViewController.m; sourceTree = ""; }; 59 | 4677482D1D2F4883000C6519 /* AnimationDetailViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnimationDetailViewController.h; sourceTree = ""; }; 60 | 4677482E1D2F4883000C6519 /* AnimationDetailViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnimationDetailViewController.m; sourceTree = ""; }; 61 | 467748371D2F5E69000C6519 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 62 | /* End PBXFileReference section */ 63 | 64 | /* Begin PBXFrameworksBuildPhase section */ 65 | 467747EE1D2E647D000C6519 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | ); 70 | runOnlyForDeploymentPostprocessing = 0; 71 | }; 72 | 4677480A1D2E647D000C6519 /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | 467748151D2E647E000C6519 /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | /* End PBXFrameworksBuildPhase section */ 87 | 88 | /* Begin PBXGroup section */ 89 | 467747E81D2E647D000C6519 = { 90 | isa = PBXGroup; 91 | children = ( 92 | 467747F31D2E647D000C6519 /* iOSUIViewAnimation */, 93 | 467748101D2E647D000C6519 /* iOSUIViewAnimationTests */, 94 | 4677481B1D2E647E000C6519 /* iOSUIViewAnimationUITests */, 95 | 467747F21D2E647D000C6519 /* Products */, 96 | ); 97 | sourceTree = ""; 98 | }; 99 | 467747F21D2E647D000C6519 /* Products */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 467747F11D2E647D000C6519 /* iOSUIViewAnimation.app */, 103 | 4677480D1D2E647D000C6519 /* iOSUIViewAnimationTests.xctest */, 104 | 467748181D2E647E000C6519 /* iOSUIViewAnimationUITests.xctest */, 105 | ); 106 | name = Products; 107 | sourceTree = ""; 108 | }; 109 | 467747F31D2E647D000C6519 /* iOSUIViewAnimation */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 467747F71D2E647D000C6519 /* AppDelegate.h */, 113 | 467747F81D2E647D000C6519 /* AppDelegate.m */, 114 | 467747FA1D2E647D000C6519 /* ViewController.h */, 115 | 467747FB1D2E647D000C6519 /* ViewController.m */, 116 | 4677482A1D2F4743000C6519 /* AnimationTableViewController.h */, 117 | 4677482B1D2F4743000C6519 /* AnimationTableViewController.m */, 118 | 4677482D1D2F4883000C6519 /* AnimationDetailViewController.h */, 119 | 4677482E1D2F4883000C6519 /* AnimationDetailViewController.m */, 120 | 467748031D2E647D000C6519 /* Assets.xcassets */, 121 | 467748371D2F5E69000C6519 /* Main.storyboard */, 122 | 467748051D2E647D000C6519 /* LaunchScreen.storyboard */, 123 | 467748081D2E647D000C6519 /* Info.plist */, 124 | 467748001D2E647D000C6519 /* iOSUIViewAnimation.xcdatamodeld */, 125 | 467747F41D2E647D000C6519 /* Supporting Files */, 126 | ); 127 | path = iOSUIViewAnimation; 128 | sourceTree = ""; 129 | }; 130 | 467747F41D2E647D000C6519 /* Supporting Files */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 467747F51D2E647D000C6519 /* main.m */, 134 | ); 135 | name = "Supporting Files"; 136 | sourceTree = ""; 137 | }; 138 | 467748101D2E647D000C6519 /* iOSUIViewAnimationTests */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | 467748111D2E647D000C6519 /* iOSUIViewAnimationTests.m */, 142 | 467748131D2E647D000C6519 /* Info.plist */, 143 | ); 144 | path = iOSUIViewAnimationTests; 145 | sourceTree = ""; 146 | }; 147 | 4677481B1D2E647E000C6519 /* iOSUIViewAnimationUITests */ = { 148 | isa = PBXGroup; 149 | children = ( 150 | 4677481C1D2E647E000C6519 /* iOSUIViewAnimationUITests.m */, 151 | 4677481E1D2E647E000C6519 /* Info.plist */, 152 | ); 153 | path = iOSUIViewAnimationUITests; 154 | sourceTree = ""; 155 | }; 156 | /* End PBXGroup section */ 157 | 158 | /* Begin PBXNativeTarget section */ 159 | 467747F01D2E647D000C6519 /* iOSUIViewAnimation */ = { 160 | isa = PBXNativeTarget; 161 | buildConfigurationList = 467748211D2E647E000C6519 /* Build configuration list for PBXNativeTarget "iOSUIViewAnimation" */; 162 | buildPhases = ( 163 | 467747ED1D2E647D000C6519 /* Sources */, 164 | 467747EE1D2E647D000C6519 /* Frameworks */, 165 | 467747EF1D2E647D000C6519 /* Resources */, 166 | ); 167 | buildRules = ( 168 | ); 169 | dependencies = ( 170 | ); 171 | name = iOSUIViewAnimation; 172 | productName = iOSUIViewAnimation; 173 | productReference = 467747F11D2E647D000C6519 /* iOSUIViewAnimation.app */; 174 | productType = "com.apple.product-type.application"; 175 | }; 176 | 4677480C1D2E647D000C6519 /* iOSUIViewAnimationTests */ = { 177 | isa = PBXNativeTarget; 178 | buildConfigurationList = 467748241D2E647E000C6519 /* Build configuration list for PBXNativeTarget "iOSUIViewAnimationTests" */; 179 | buildPhases = ( 180 | 467748091D2E647D000C6519 /* Sources */, 181 | 4677480A1D2E647D000C6519 /* Frameworks */, 182 | 4677480B1D2E647D000C6519 /* Resources */, 183 | ); 184 | buildRules = ( 185 | ); 186 | dependencies = ( 187 | 4677480F1D2E647D000C6519 /* PBXTargetDependency */, 188 | ); 189 | name = iOSUIViewAnimationTests; 190 | productName = iOSUIViewAnimationTests; 191 | productReference = 4677480D1D2E647D000C6519 /* iOSUIViewAnimationTests.xctest */; 192 | productType = "com.apple.product-type.bundle.unit-test"; 193 | }; 194 | 467748171D2E647E000C6519 /* iOSUIViewAnimationUITests */ = { 195 | isa = PBXNativeTarget; 196 | buildConfigurationList = 467748271D2E647E000C6519 /* Build configuration list for PBXNativeTarget "iOSUIViewAnimationUITests" */; 197 | buildPhases = ( 198 | 467748141D2E647E000C6519 /* Sources */, 199 | 467748151D2E647E000C6519 /* Frameworks */, 200 | 467748161D2E647E000C6519 /* Resources */, 201 | ); 202 | buildRules = ( 203 | ); 204 | dependencies = ( 205 | 4677481A1D2E647E000C6519 /* PBXTargetDependency */, 206 | ); 207 | name = iOSUIViewAnimationUITests; 208 | productName = iOSUIViewAnimationUITests; 209 | productReference = 467748181D2E647E000C6519 /* iOSUIViewAnimationUITests.xctest */; 210 | productType = "com.apple.product-type.bundle.ui-testing"; 211 | }; 212 | /* End PBXNativeTarget section */ 213 | 214 | /* Begin PBXProject section */ 215 | 467747E91D2E647D000C6519 /* Project object */ = { 216 | isa = PBXProject; 217 | attributes = { 218 | LastUpgradeCheck = 0720; 219 | ORGANIZATIONNAME = minggo; 220 | TargetAttributes = { 221 | 467747F01D2E647D000C6519 = { 222 | CreatedOnToolsVersion = 7.2.1; 223 | }; 224 | 4677480C1D2E647D000C6519 = { 225 | CreatedOnToolsVersion = 7.2.1; 226 | TestTargetID = 467747F01D2E647D000C6519; 227 | }; 228 | 467748171D2E647E000C6519 = { 229 | CreatedOnToolsVersion = 7.2.1; 230 | TestTargetID = 467747F01D2E647D000C6519; 231 | }; 232 | }; 233 | }; 234 | buildConfigurationList = 467747EC1D2E647D000C6519 /* Build configuration list for PBXProject "iOSUIViewAnimation" */; 235 | compatibilityVersion = "Xcode 3.2"; 236 | developmentRegion = English; 237 | hasScannedForEncodings = 0; 238 | knownRegions = ( 239 | en, 240 | Base, 241 | ); 242 | mainGroup = 467747E81D2E647D000C6519; 243 | productRefGroup = 467747F21D2E647D000C6519 /* Products */; 244 | projectDirPath = ""; 245 | projectRoot = ""; 246 | targets = ( 247 | 467747F01D2E647D000C6519 /* iOSUIViewAnimation */, 248 | 4677480C1D2E647D000C6519 /* iOSUIViewAnimationTests */, 249 | 467748171D2E647E000C6519 /* iOSUIViewAnimationUITests */, 250 | ); 251 | }; 252 | /* End PBXProject section */ 253 | 254 | /* Begin PBXResourcesBuildPhase section */ 255 | 467747EF1D2E647D000C6519 /* Resources */ = { 256 | isa = PBXResourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | 467748381D2F5E69000C6519 /* Main.storyboard in Resources */, 260 | 467748071D2E647D000C6519 /* LaunchScreen.storyboard in Resources */, 261 | 467748041D2E647D000C6519 /* Assets.xcassets in Resources */, 262 | ); 263 | runOnlyForDeploymentPostprocessing = 0; 264 | }; 265 | 4677480B1D2E647D000C6519 /* Resources */ = { 266 | isa = PBXResourcesBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | ); 270 | runOnlyForDeploymentPostprocessing = 0; 271 | }; 272 | 467748161D2E647E000C6519 /* Resources */ = { 273 | isa = PBXResourcesBuildPhase; 274 | buildActionMask = 2147483647; 275 | files = ( 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | /* End PBXResourcesBuildPhase section */ 280 | 281 | /* Begin PBXSourcesBuildPhase section */ 282 | 467747ED1D2E647D000C6519 /* Sources */ = { 283 | isa = PBXSourcesBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | 4677482C1D2F4743000C6519 /* AnimationTableViewController.m in Sources */, 287 | 467747FC1D2E647D000C6519 /* ViewController.m in Sources */, 288 | 467747F91D2E647D000C6519 /* AppDelegate.m in Sources */, 289 | 467747F61D2E647D000C6519 /* main.m in Sources */, 290 | 4677482F1D2F4883000C6519 /* AnimationDetailViewController.m in Sources */, 291 | 467748021D2E647D000C6519 /* iOSUIViewAnimation.xcdatamodeld in Sources */, 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | }; 295 | 467748091D2E647D000C6519 /* Sources */ = { 296 | isa = PBXSourcesBuildPhase; 297 | buildActionMask = 2147483647; 298 | files = ( 299 | 467748121D2E647D000C6519 /* iOSUIViewAnimationTests.m in Sources */, 300 | ); 301 | runOnlyForDeploymentPostprocessing = 0; 302 | }; 303 | 467748141D2E647E000C6519 /* Sources */ = { 304 | isa = PBXSourcesBuildPhase; 305 | buildActionMask = 2147483647; 306 | files = ( 307 | 4677481D1D2E647E000C6519 /* iOSUIViewAnimationUITests.m in Sources */, 308 | ); 309 | runOnlyForDeploymentPostprocessing = 0; 310 | }; 311 | /* End PBXSourcesBuildPhase section */ 312 | 313 | /* Begin PBXTargetDependency section */ 314 | 4677480F1D2E647D000C6519 /* PBXTargetDependency */ = { 315 | isa = PBXTargetDependency; 316 | target = 467747F01D2E647D000C6519 /* iOSUIViewAnimation */; 317 | targetProxy = 4677480E1D2E647D000C6519 /* PBXContainerItemProxy */; 318 | }; 319 | 4677481A1D2E647E000C6519 /* PBXTargetDependency */ = { 320 | isa = PBXTargetDependency; 321 | target = 467747F01D2E647D000C6519 /* iOSUIViewAnimation */; 322 | targetProxy = 467748191D2E647E000C6519 /* PBXContainerItemProxy */; 323 | }; 324 | /* End PBXTargetDependency section */ 325 | 326 | /* Begin PBXVariantGroup section */ 327 | 467748051D2E647D000C6519 /* LaunchScreen.storyboard */ = { 328 | isa = PBXVariantGroup; 329 | children = ( 330 | 467748061D2E647D000C6519 /* Base */, 331 | ); 332 | name = LaunchScreen.storyboard; 333 | sourceTree = ""; 334 | }; 335 | /* End PBXVariantGroup section */ 336 | 337 | /* Begin XCBuildConfiguration section */ 338 | 4677481F1D2E647E000C6519 /* Debug */ = { 339 | isa = XCBuildConfiguration; 340 | buildSettings = { 341 | ALWAYS_SEARCH_USER_PATHS = NO; 342 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 343 | CLANG_CXX_LIBRARY = "libc++"; 344 | CLANG_ENABLE_MODULES = YES; 345 | CLANG_ENABLE_OBJC_ARC = YES; 346 | CLANG_WARN_BOOL_CONVERSION = YES; 347 | CLANG_WARN_CONSTANT_CONVERSION = YES; 348 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 349 | CLANG_WARN_EMPTY_BODY = YES; 350 | CLANG_WARN_ENUM_CONVERSION = YES; 351 | CLANG_WARN_INT_CONVERSION = YES; 352 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 353 | CLANG_WARN_UNREACHABLE_CODE = YES; 354 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 355 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 356 | COPY_PHASE_STRIP = NO; 357 | DEBUG_INFORMATION_FORMAT = dwarf; 358 | ENABLE_STRICT_OBJC_MSGSEND = YES; 359 | ENABLE_TESTABILITY = YES; 360 | GCC_C_LANGUAGE_STANDARD = gnu99; 361 | GCC_DYNAMIC_NO_PIC = NO; 362 | GCC_NO_COMMON_BLOCKS = YES; 363 | GCC_OPTIMIZATION_LEVEL = 0; 364 | GCC_PREPROCESSOR_DEFINITIONS = ( 365 | "DEBUG=1", 366 | "$(inherited)", 367 | ); 368 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 369 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 370 | GCC_WARN_UNDECLARED_SELECTOR = YES; 371 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 372 | GCC_WARN_UNUSED_FUNCTION = YES; 373 | GCC_WARN_UNUSED_VARIABLE = YES; 374 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 375 | MTL_ENABLE_DEBUG_INFO = YES; 376 | ONLY_ACTIVE_ARCH = YES; 377 | SDKROOT = iphoneos; 378 | TARGETED_DEVICE_FAMILY = "1,2"; 379 | }; 380 | name = Debug; 381 | }; 382 | 467748201D2E647E000C6519 /* Release */ = { 383 | isa = XCBuildConfiguration; 384 | buildSettings = { 385 | ALWAYS_SEARCH_USER_PATHS = NO; 386 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 387 | CLANG_CXX_LIBRARY = "libc++"; 388 | CLANG_ENABLE_MODULES = YES; 389 | CLANG_ENABLE_OBJC_ARC = YES; 390 | CLANG_WARN_BOOL_CONVERSION = YES; 391 | CLANG_WARN_CONSTANT_CONVERSION = YES; 392 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 393 | CLANG_WARN_EMPTY_BODY = YES; 394 | CLANG_WARN_ENUM_CONVERSION = YES; 395 | CLANG_WARN_INT_CONVERSION = YES; 396 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 397 | CLANG_WARN_UNREACHABLE_CODE = YES; 398 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 399 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 400 | COPY_PHASE_STRIP = NO; 401 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 402 | ENABLE_NS_ASSERTIONS = NO; 403 | ENABLE_STRICT_OBJC_MSGSEND = YES; 404 | GCC_C_LANGUAGE_STANDARD = gnu99; 405 | GCC_NO_COMMON_BLOCKS = YES; 406 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 407 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 408 | GCC_WARN_UNDECLARED_SELECTOR = YES; 409 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 410 | GCC_WARN_UNUSED_FUNCTION = YES; 411 | GCC_WARN_UNUSED_VARIABLE = YES; 412 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 413 | MTL_ENABLE_DEBUG_INFO = NO; 414 | SDKROOT = iphoneos; 415 | TARGETED_DEVICE_FAMILY = "1,2"; 416 | VALIDATE_PRODUCT = YES; 417 | }; 418 | name = Release; 419 | }; 420 | 467748221D2E647E000C6519 /* Debug */ = { 421 | isa = XCBuildConfiguration; 422 | buildSettings = { 423 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 424 | INFOPLIST_FILE = iOSUIViewAnimation/Info.plist; 425 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 426 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 427 | PRODUCT_BUNDLE_IDENTIFIER = com.minggo.iOSUIViewAnimation; 428 | PRODUCT_NAME = "$(TARGET_NAME)"; 429 | }; 430 | name = Debug; 431 | }; 432 | 467748231D2E647E000C6519 /* Release */ = { 433 | isa = XCBuildConfiguration; 434 | buildSettings = { 435 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 436 | INFOPLIST_FILE = iOSUIViewAnimation/Info.plist; 437 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 438 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 439 | PRODUCT_BUNDLE_IDENTIFIER = com.minggo.iOSUIViewAnimation; 440 | PRODUCT_NAME = "$(TARGET_NAME)"; 441 | }; 442 | name = Release; 443 | }; 444 | 467748251D2E647E000C6519 /* Debug */ = { 445 | isa = XCBuildConfiguration; 446 | buildSettings = { 447 | BUNDLE_LOADER = "$(TEST_HOST)"; 448 | INFOPLIST_FILE = iOSUIViewAnimationTests/Info.plist; 449 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 450 | PRODUCT_BUNDLE_IDENTIFIER = com.minggo.iOSUIViewAnimationTests; 451 | PRODUCT_NAME = "$(TARGET_NAME)"; 452 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOSUIViewAnimation.app/iOSUIViewAnimation"; 453 | }; 454 | name = Debug; 455 | }; 456 | 467748261D2E647E000C6519 /* Release */ = { 457 | isa = XCBuildConfiguration; 458 | buildSettings = { 459 | BUNDLE_LOADER = "$(TEST_HOST)"; 460 | INFOPLIST_FILE = iOSUIViewAnimationTests/Info.plist; 461 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 462 | PRODUCT_BUNDLE_IDENTIFIER = com.minggo.iOSUIViewAnimationTests; 463 | PRODUCT_NAME = "$(TARGET_NAME)"; 464 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOSUIViewAnimation.app/iOSUIViewAnimation"; 465 | }; 466 | name = Release; 467 | }; 468 | 467748281D2E647E000C6519 /* Debug */ = { 469 | isa = XCBuildConfiguration; 470 | buildSettings = { 471 | INFOPLIST_FILE = iOSUIViewAnimationUITests/Info.plist; 472 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 473 | PRODUCT_BUNDLE_IDENTIFIER = com.minggo.iOSUIViewAnimationUITests; 474 | PRODUCT_NAME = "$(TARGET_NAME)"; 475 | TEST_TARGET_NAME = iOSUIViewAnimation; 476 | USES_XCTRUNNER = YES; 477 | }; 478 | name = Debug; 479 | }; 480 | 467748291D2E647E000C6519 /* Release */ = { 481 | isa = XCBuildConfiguration; 482 | buildSettings = { 483 | INFOPLIST_FILE = iOSUIViewAnimationUITests/Info.plist; 484 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 485 | PRODUCT_BUNDLE_IDENTIFIER = com.minggo.iOSUIViewAnimationUITests; 486 | PRODUCT_NAME = "$(TARGET_NAME)"; 487 | TEST_TARGET_NAME = iOSUIViewAnimation; 488 | USES_XCTRUNNER = YES; 489 | }; 490 | name = Release; 491 | }; 492 | /* End XCBuildConfiguration section */ 493 | 494 | /* Begin XCConfigurationList section */ 495 | 467747EC1D2E647D000C6519 /* Build configuration list for PBXProject "iOSUIViewAnimation" */ = { 496 | isa = XCConfigurationList; 497 | buildConfigurations = ( 498 | 4677481F1D2E647E000C6519 /* Debug */, 499 | 467748201D2E647E000C6519 /* Release */, 500 | ); 501 | defaultConfigurationIsVisible = 0; 502 | defaultConfigurationName = Release; 503 | }; 504 | 467748211D2E647E000C6519 /* Build configuration list for PBXNativeTarget "iOSUIViewAnimation" */ = { 505 | isa = XCConfigurationList; 506 | buildConfigurations = ( 507 | 467748221D2E647E000C6519 /* Debug */, 508 | 467748231D2E647E000C6519 /* Release */, 509 | ); 510 | defaultConfigurationIsVisible = 0; 511 | defaultConfigurationName = Release; 512 | }; 513 | 467748241D2E647E000C6519 /* Build configuration list for PBXNativeTarget "iOSUIViewAnimationTests" */ = { 514 | isa = XCConfigurationList; 515 | buildConfigurations = ( 516 | 467748251D2E647E000C6519 /* Debug */, 517 | 467748261D2E647E000C6519 /* Release */, 518 | ); 519 | defaultConfigurationIsVisible = 0; 520 | defaultConfigurationName = Release; 521 | }; 522 | 467748271D2E647E000C6519 /* Build configuration list for PBXNativeTarget "iOSUIViewAnimationUITests" */ = { 523 | isa = XCConfigurationList; 524 | buildConfigurations = ( 525 | 467748281D2E647E000C6519 /* Debug */, 526 | 467748291D2E647E000C6519 /* Release */, 527 | ); 528 | defaultConfigurationIsVisible = 0; 529 | defaultConfigurationName = Release; 530 | }; 531 | /* End XCConfigurationList section */ 532 | 533 | /* Begin XCVersionGroup section */ 534 | 467748001D2E647D000C6519 /* iOSUIViewAnimation.xcdatamodeld */ = { 535 | isa = XCVersionGroup; 536 | children = ( 537 | 467748011D2E647D000C6519 /* iOSUIViewAnimation.xcdatamodel */, 538 | ); 539 | currentVersion = 467748011D2E647D000C6519 /* iOSUIViewAnimation.xcdatamodel */; 540 | path = iOSUIViewAnimation.xcdatamodeld; 541 | sourceTree = ""; 542 | versionGroupType = wrapper.xcdatamodel; 543 | }; 544 | /* End XCVersionGroup section */ 545 | }; 546 | rootObject = 467747E91D2E647D000C6519 /* Project object */; 547 | } 548 | -------------------------------------------------------------------------------- /iOSUIViewAnimation/iOSUIViewAnimation/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 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 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | --------------------------------------------------------------------------------