├── CollectionViewCell-Animation ├── Assets.xcassets │ ├── Contents.json │ ├── 0.imageset │ │ ├── 0.jpg │ │ └── Contents.json │ ├── 1.imageset │ │ ├── 1.jpg │ │ └── Contents.json │ ├── 2.imageset │ │ ├── 2.jpg │ │ └── Contents.json │ ├── 3.imageset │ │ ├── 3.jpg │ │ └── Contents.json │ ├── 4.imageset │ │ ├── 4.jpg │ │ └── Contents.json │ ├── 5.imageset │ │ ├── 5.jpg │ │ └── Contents.json │ ├── 6.imageset │ │ ├── 6.jpg │ │ └── Contents.json │ ├── 7.imageset │ │ ├── 7.jpg │ │ └── Contents.json │ ├── 8.imageset │ │ ├── 8.jpg │ │ └── Contents.json │ ├── delete.imageset │ │ ├── delete.png │ │ └── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json ├── CollectionViewController.h ├── AppDelegate.h ├── main.m ├── Cell.h ├── Info.plist ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Cell.m ├── YTAnimation.h ├── AppDelegate.m ├── CollectionViewController.m └── YTAnimation.m ├── CollectionViewCell-Animation.xcodeproj ├── xcuserdata │ └── Mac.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ ├── xcschememanagement.plist │ │ └── CollectionViewCell-Animation.xcscheme ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── Mac.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── project.pbxproj ├── CollectionViewCell-AnimationTests ├── Info.plist └── CollectionViewCell_AnimationTests.m ├── CollectionViewCell-AnimationUITests ├── Info.plist └── CollectionViewCell_AnimationUITests.m └── README.md /CollectionViewCell-Animation/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/0.imageset/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/0.imageset/0.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/1.imageset/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/1.imageset/1.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/2.imageset/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/2.imageset/2.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/3.imageset/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/3.imageset/3.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/4.imageset/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/4.imageset/4.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/5.imageset/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/5.imageset/5.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/6.imageset/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/6.imageset/6.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/7.imageset/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/7.imageset/7.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/8.imageset/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/8.imageset/8.jpg -------------------------------------------------------------------------------- /CollectionViewCell-Animation.xcodeproj/xcuserdata/Mac.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/delete.imageset/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation/Assets.xcassets/delete.imageset/delete.png -------------------------------------------------------------------------------- /CollectionViewCell-Animation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation.xcodeproj/project.xcworkspace/xcuserdata/Mac.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YinTokey/CollectionViewCell-animation/HEAD/CollectionViewCell-Animation.xcodeproj/project.xcworkspace/xcuserdata/Mac.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /CollectionViewCell-Animation/CollectionViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // CollectionViewController.h 3 | // CollectionViewCell-Animation 4 | // 5 | // Created by Mac on 16/5/20. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface CollectionViewController : UICollectionViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // CollectionViewCell-Animation 4 | // 5 | // Created by Mac on 16/5/19. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // CollectionViewCell-Animation 4 | // 5 | // Created by Mac on 16/5/19. 6 | // Copyright © 2016年 YinTokey. 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 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/0.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "0.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "2.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "3.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "4.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/5.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "5.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/6.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "6.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/7.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "7.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/8.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "8.jpg", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Assets.xcassets/delete.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "delete.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Cell.h: -------------------------------------------------------------------------------- 1 | // 2 | // Cell.h 3 | // CollectionViewCell-Animation 4 | // 5 | // Created by Mac on 16/5/20. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | 9 | #import 10 | @class Cell; 11 | @protocol CellDelegate 12 | 13 | -(void)deleteCellAtIndexpath:(NSIndexPath *)indexPath cellView:(Cell *)cell; 14 | -(void)showAllDeleteBtn; 15 | -(void)hideAllDeleteBtn; 16 | @end 17 | 18 | @interface Cell : UICollectionViewCell 19 | 20 | @property (weak, nonatomic) IBOutlet UIImageView *imgView; 21 | 22 | 23 | @property (nonatomic,strong) UIButton *deleteBtn; 24 | @property (nonatomic,strong)NSIndexPath *indexPath; 25 | @property (nonatomic,weak) iddelegate; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/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 | } -------------------------------------------------------------------------------- /CollectionViewCell-AnimationTests/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 | -------------------------------------------------------------------------------- /CollectionViewCell-AnimationUITests/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 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation.xcodeproj/xcuserdata/Mac.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | CollectionViewCell-Animation.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 044647B51CEDA9AA0045757B 16 | 17 | primary 18 | 19 | 20 | 044647CE1CEDA9AA0045757B 21 | 22 | primary 23 | 24 | 25 | 044647D91CEDA9AA0045757B 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /CollectionViewCell-AnimationTests/CollectionViewCell_AnimationTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // CollectionViewCell_AnimationTests.m 3 | // CollectionViewCell-AnimationTests 4 | // 5 | // Created by Mac on 16/5/19. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface CollectionViewCell_AnimationTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation CollectionViewCell_AnimationTests 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 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/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 | -------------------------------------------------------------------------------- /CollectionViewCell-AnimationUITests/CollectionViewCell_AnimationUITests.m: -------------------------------------------------------------------------------- 1 | // 2 | // CollectionViewCell_AnimationUITests.m 3 | // CollectionViewCell-AnimationUITests 4 | // 5 | // Created by Mac on 16/5/19. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface CollectionViewCell_AnimationUITests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation CollectionViewCell_AnimationUITests 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 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/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 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Cell.m: -------------------------------------------------------------------------------- 1 | // 2 | // Cell.m 3 | // CollectionViewCell-Animation 4 | // 5 | // Created by Mac on 16/5/20. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | 9 | #import "Cell.h" 10 | #import "YTAnimation.h" 11 | @implementation Cell{ 12 | } 13 | - (instancetype)initWithCoder:(NSCoder *)aDecoder 14 | { 15 | self = [super initWithCoder:aDecoder]; 16 | if (self) 17 | { 18 | [self setCell]; 19 | 20 | } 21 | return self; 22 | } 23 | 24 | 25 | #pragma mark - setAnimationType 26 | - (void)setAnimationType 27 | { 28 | 29 | [YTAnimation toMiniAnimation:self]; 30 | 31 | } 32 | //the following methods ,you just need copy ~ paste 33 | - (void)setCell{ 34 | [self addDeleteButton]; 35 | [self addLongPressGesture]; 36 | } 37 | - (void)addLongPressGesture{ 38 | UILongPressGestureRecognizer *lpgr = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longClick:)]; 39 | [self addGestureRecognizer:lpgr]; 40 | } 41 | - (void)longClick:(UILongPressGestureRecognizer *)lpgr 42 | { 43 | 44 | [self.delegate showAllDeleteBtn]; 45 | 46 | } 47 | - (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag{ 48 | 49 | if ([anim valueForKey:@"animType"] ){ 50 | [self.delegate deleteCellAtIndexpath:_indexPath cellView:self]; 51 | } 52 | 53 | } 54 | #warning there is a picture in Assets.xcassets 55 | - (void)addDeleteButton{ 56 | _deleteBtn = [UIButton buttonWithType:UIButtonTypeCustom]; 57 | _deleteBtn.frame = CGRectMake(0, 0, 20, 20); 58 | [_deleteBtn setImage:[UIImage imageNamed:@"delete"] forState:UIControlStateNormal]; 59 | _deleteBtn.hidden = YES; 60 | [_deleteBtn addTarget:self action:@selector(setAnimationType) forControlEvents:UIControlEventTouchUpInside]; 61 | [self.contentView addSubview:_deleteBtn]; 62 | 63 | } 64 | 65 | @end 66 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/YTAnimation.h: -------------------------------------------------------------------------------- 1 | // 2 | // YTAnimation.h 3 | // 4 | // 5 | // Created by Mac on 16/5/6. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | // This animation class is used for UICollectionViewCell deletion, 9 | // it's also avaliable in other controls inherited from UIView 10 | 11 | 12 | #import 13 | #import 14 | @interface YTAnimation : NSObject 15 | /** 16 | * Make the cell vibrate 17 | * 18 | * @param AniView UICollectionViewCell 19 | */ 20 | +(void)vibrateAnimation:(UIView *)AniView; 21 | 22 | /** 23 | * Delete cell with fadeAnimation 24 | * 25 | * @param AniView UICollectionViewCell 26 | */ 27 | + (void)fadeAnimation:(UIView *)AniView; 28 | 29 | /** 30 | * Delete cell with rotateAnimation 31 | * 32 | * @param AniView UICollectionViewCell 33 | */ 34 | + (void)rotateAnimation:(UIView *)AniView; 35 | 36 | /** 37 | * Delete cell with suckEffectAnimation 38 | * 39 | * @param AniView UICollectionViewCell 40 | */ 41 | + (void)suckEffectAnimation:(UIView *)AniView; 42 | 43 | /** 44 | * Delete cell with pushAnimation 45 | * 46 | * @param AniView UICollectionViewCell 47 | */ 48 | + (void)pushAnimation:(UIView *)AniView; 49 | 50 | /** 51 | * Delete cell with rippleEffectAnimation 52 | * 53 | * @param AniView UICollectionViewCell 54 | */ 55 | + (void)rippleEffectAnimation:(UIView *)AniView; 56 | 57 | /** 58 | * Delete cell with cubeEffectAnimation 59 | * 60 | * @param AniView UICollectionViewCell 61 | */ 62 | + (void)cubeEffectAnimation:(UIView *)AniView; 63 | 64 | /** 65 | * Delete cell with oglFlipAnimation 66 | * 67 | * @param AniView UICollectionViewCell 68 | */ 69 | + (void)oglFlipAnimation:(UIView *)AniView; 70 | 71 | /** 72 | * Delete cell with toMiniAnimation 73 | * 74 | * @param AniView UICollectionViewCell 75 | */ 76 | + (void)toMiniAnimation:(UIView *)AniView; 77 | @end 78 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // CollectionViewCell-Animation 4 | // 5 | // Created by Mac on 16/5/19. 6 | // Copyright © 2016年 YinTokey. 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 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CollectionViewCell-animation 2 | 3 | ![](http://image18-c.poco.cn/mypoco/myphoto/20160521/20/17914753420160521200730070_640.jpg?310x552_110) ![](http://image18-c.poco.cn/mypoco/myphoto/20160521/19/17914753420160521194155029_640.jpg?310x556_110) ![](http://image18-c.poco.cn/mypoco/myphoto/20160521/19/17914753420160521194217069_640.jpg?308x558_110) 4 | ![](http://image18-c.poco.cn/mypoco/myphoto/20160521/19/17914753420160521194234078_640.jpg?306x558_110) 5 | ![](http://image18-c.poco.cn/mypoco/myphoto/20160521/19/1791475342016052119424909_640.jpg?300x530_110) ![](http://image18-c.poco.cn/mypoco/myphoto/20160521/19/17914753420160521194312075_640.jpg?306x552_110) 6 | ![](http://image18-c.poco.cn/mypoco/myphoto/20160521/19/17914753420160521194327083_640.jpg?310x558_110) ![](http://image18-c.poco.cn/mypoco/myphoto/20160521/20/17914753420160521202010073_640.jpg?312x554_110) 7 | 8 | # What is it? 9 | 10 | Delete UICollectionViewCell with Animations.I used CoreAnimation to realize its function. 11 | 12 | # How to operate this demo? 13 | 14 | Long press cells,until cells vibrate,click the delete button then you can delete the cell what you want.Double click screen can make all cell to normal status. 15 | 16 | # How to add it into your project? 17 | 18 | 1.Drag YTAnimation.h, YTAnimation.m to your project.It is a tool class. 19 | 20 | 2.Copy those codes to your cell .h file. 21 | 22 | ![](http://img.blog.csdn.net/20160521192508379) 23 | 24 | 3.Copy my codes in Cell.m to your cell .m file,you should pay attention to the following picture. 25 | 26 | ![](http://img.blog.csdn.net/20160523154735128) 27 | 28 | 4.Add those codes to your CollectionViewController 29 | 30 | ![](http://img.blog.csdn.net/20160523154856411) 31 | 32 | ![](http://img.blog.csdn.net/20160523154953508) 33 | 34 | 35 | 36 | # 概述 37 | 38 | 使用了核心动画里的转场动画和动画组来实现。 39 | 40 | # Demo操作 41 | 42 | 长按cell,出现抖动状态,然后点击左上角叉叉按钮即可删除Cell。双击屏幕即可恢复到原来装态。 43 | 44 | # 如何应用到自己项目中 45 | 46 | 1.首先将YTAnimation.h , YTAnimation.m两个文件拖入你的项目中,它相当于是一个工具类。 47 | 48 | 2.在你的自定义UICollectionViewCell 的 .h文件里,添加图中标出的协议声明和属性。 49 | 50 | ![](http://img.blog.csdn.net/20160521192508379) 51 | 52 | 3.在你的自定义的UICollectionViewCell 的 .m文件里,将我Cell.m 文件里方法实现部分黏贴进去。这里要注意,在方法addDeleteButton方法里用到了一张图片,那张图片在我工程里的Assets.xcassets,不要忘了。如果你已经有实现方法 - (instancetype)initWithCoder:(NSCoder *)aDecoder 那么把这两个方法的调用加到你自己的 inintWithCoder的相应位置。 53 | 54 | ![](http://img.blog.csdn.net/20160523154735128) 55 | 56 | 按照图中说明,调用动画类,选择动画类型。 57 | 58 | 4.UICollectionView控制器里: 加入如图画圈部分 (注:我这里的控制器直接使用UICollectionViewController, 而不是在UIViewController里拖入 UICollectionView控件)。 59 | 60 | ![](http://img.blog.csdn.net/20160523154856411) 61 | 62 | 至于那个sourceArr是我的数据源,你需要用你自己的数据源去处理。那两个BOOL变量是用来使cell长按抖动和左上角出现叉叉按钮用的。 63 | 64 | 剩下的按照图中说明即可。 65 | 66 | ![](http://img.blog.csdn.net/20160523154953508) 67 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/CollectionViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // CollectionViewController.m 3 | // CollectionViewCell-Animation 4 | // 5 | // Created by Mac on 16/5/20. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | 9 | #import "CollectionViewController.h" 10 | #import "Cell.h" 11 | #import "YTAnimation.h" 12 | @interface CollectionViewController () 13 | { 14 | BOOL deleteBtnFlag; 15 | BOOL vibrateAniFlag; 16 | 17 | NSMutableArray *sourceArr; 18 | } 19 | 20 | 21 | @end 22 | 23 | @implementation CollectionViewController 24 | 25 | static NSString * const reuseIdentifier = @"Cell"; 26 | 27 | 28 | - (void)viewDidLoad { 29 | [super viewDidLoad]; 30 | 31 | 32 | [self setFlagAndGsr]; 33 | 34 | //Data source and background 35 | self.collectionView.backgroundColor = [UIColor whiteColor]; 36 | sourceArr = [NSMutableArray arrayWithObjects:@"0",@"1",@"2",@"3",@"4",@"5",@"6",@"7", nil]; 37 | } 38 | 39 | 40 | #pragma mark 41 | 42 | - (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout insetForSectionAtIndex:(NSInteger)section { 43 | return UIEdgeInsetsMake(10,8,10,8); 44 | } 45 | 46 | - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section { 47 | return sourceArr.count; 48 | } 49 | 50 | - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { 51 | Cell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:reuseIdentifier forIndexPath:indexPath]; 52 | //configure your cell 53 | NSString *imgString = sourceArr[indexPath.row]; 54 | cell.imgView.image = [UIImage imageNamed:imgString]; 55 | 56 | 57 | 58 | //add this method implementation in your "cellForItemAtIndexPath" 59 | [self setCellVibrate:cell IndexPath:indexPath]; 60 | 61 | 62 | 63 | return cell; 64 | } 65 | 66 | 67 | -(void)deleteCellAtIndexpath:(NSIndexPath *)indexPath cellView:(Cell *)cell 68 | { 69 | 70 | [self.collectionView performBatchUpdates:^{ 71 | 72 | //delete the cell you selected 73 | [sourceArr removeObjectAtIndex:indexPath.row]; 74 | [self.collectionView deleteItemsAtIndexPaths:@[indexPath]]; 75 | 76 | } completion:^(BOOL finished) { 77 | [self.collectionView reloadData]; 78 | }]; 79 | } 80 | 81 | //the following methods you just need copy ~ paste 82 | - (void)setFlagAndGsr{ 83 | deleteBtnFlag = YES; 84 | vibrateAniFlag = YES; 85 | [self addDoubleTapGesture]; 86 | } 87 | - (void)setCellVibrate:(Cell *)cell IndexPath:(NSIndexPath *)indexPath{ 88 | cell.indexPath = indexPath; 89 | cell.deleteBtn.hidden = deleteBtnFlag?YES:NO; 90 | if (!vibrateAniFlag) { 91 | [YTAnimation vibrateAnimation:cell]; 92 | }else{ 93 | [cell.layer removeAnimationForKey:@"shake"]; 94 | } 95 | cell.delegate = self; 96 | } 97 | - (void) handleDoubleTap:(UITapGestureRecognizer *) gestureRecognizer{ 98 | [self hideAllDeleteBtn]; 99 | } 100 | - (void)addDoubleTapGesture{ 101 | UITapGestureRecognizer *doubletap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleDoubleTap:)]; 102 | [doubletap setNumberOfTapsRequired:2]; 103 | [self.view addGestureRecognizer:doubletap]; 104 | } 105 | - (void)hideAllDeleteBtn{ 106 | if (!deleteBtnFlag) { 107 | deleteBtnFlag = YES; 108 | vibrateAniFlag = YES; 109 | [self.collectionView reloadData]; 110 | } 111 | } 112 | - (void)showAllDeleteBtn{ 113 | deleteBtnFlag = NO; 114 | vibrateAniFlag = NO; 115 | [self.collectionView reloadData]; 116 | } 117 | 118 | 119 | @end 120 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/YTAnimation.m: -------------------------------------------------------------------------------- 1 | // 2 | // YTAnimation.m 3 | // 4 | // 5 | // Created by Mac on 16/5/6. 6 | // Copyright © 2016年 YinTokey. All rights reserved. 7 | // 8 | 9 | #import "YTAnimation.h" 10 | #import 11 | @implementation YTAnimation 12 | { 13 | BOOL deleteBtnFlag; 14 | BOOL rotateAniFlag; 15 | } 16 | +(void)vibrateAnimation:(UIView *)AniView { 17 | CAKeyframeAnimation *rvibrateAni = [CAKeyframeAnimation animation]; 18 | rvibrateAni.keyPath = @"transform.rotation"; 19 | CGFloat angle = M_PI_4/18; 20 | rvibrateAni.values = @[@(-angle),@(angle),@(-angle)]; 21 | rvibrateAni.repeatCount = MAXFLOAT; 22 | [AniView.layer addAnimation:rvibrateAni forKey:@"shake"]; 23 | } 24 | 25 | + (void)fadeAnimation:(UIView *)AniView{ 26 | CATransition *animation = [CATransition animation]; 27 | animation.delegate = AniView; 28 | animation.type = @"fade"; 29 | animation.subtype = @"fromTop"; 30 | animation.duration = 1.1; 31 | [animation setValue:@"fade" forKey:@"animType"]; 32 | [AniView.layer addAnimation:animation forKey:nil]; 33 | AniView.hidden = YES; 34 | } 35 | 36 | + (void)rotateAnimation:(UIView *)AniView{ 37 | CATransition *animation = [CATransition animation]; 38 | animation.delegate = AniView; 39 | animation.type = @"rotate"; 40 | animation.subtype = @"fromTop"; 41 | animation.duration = 1.1; 42 | [animation setValue:@"rotate" forKey:@"animType"]; 43 | [AniView.layer addAnimation:animation forKey:nil]; 44 | AniView.hidden = YES; 45 | } 46 | 47 | + (void)suckEffectAnimation:(UIView *)AniView{ 48 | CATransition *animation = [CATransition animation]; 49 | animation.delegate = AniView; 50 | animation.type = @"suckEffect"; 51 | animation.subtype = @"fromTop"; 52 | animation.duration = 1.3; 53 | [animation setValue:@"suckEffect" forKey:@"animType"]; 54 | [AniView.layer addAnimation:animation forKey:nil]; 55 | AniView.hidden = YES; 56 | } 57 | 58 | + (void)pushAnimation:(UIView *)AniView{ 59 | CATransition *animation = [CATransition animation]; 60 | animation.delegate = AniView; 61 | animation.type = @"push"; 62 | animation.subtype = @"fromTop"; 63 | animation.duration = 1.1; 64 | [animation setValue:@"push" forKey:@"animType"]; 65 | [AniView.layer addAnimation:animation forKey:nil]; 66 | AniView.hidden = YES; 67 | } 68 | 69 | + (void)rippleEffectAnimation:(UIView *)AniView{ 70 | CATransition *animation = [CATransition animation]; 71 | animation.delegate = AniView; 72 | animation.type = @"rippleEffect"; 73 | animation.subtype = @"fromTop"; 74 | animation.duration = 2.2; 75 | [animation setValue:@"rippleEffect" forKey:@"animType"]; 76 | [AniView.layer addAnimation:animation forKey:nil]; 77 | AniView.hidden = YES; 78 | } 79 | 80 | + (void)cubeEffectAnimation:(UIView *)AniView{ 81 | CATransition *animation = [CATransition animation]; 82 | animation.delegate = AniView; 83 | animation.type = @"cube"; 84 | animation.subtype = @"fromTop"; 85 | animation.duration = 1.1; 86 | [animation setValue:@"cubeEffect" forKey:@"animType"]; 87 | [AniView.layer addAnimation:animation forKey:nil]; 88 | AniView.hidden = YES; 89 | } 90 | 91 | + (void)oglFlipAnimation:(UIView *)AniView{ 92 | CATransition *animation = [CATransition animation]; 93 | animation.delegate = AniView; 94 | animation.type = @"oglFlip"; 95 | animation.subtype = @"fromTop"; 96 | animation.duration = 1.1; 97 | [animation setValue:@"oglFlip" forKey:@"animType"]; 98 | [AniView.layer addAnimation:animation forKey:nil]; 99 | AniView.hidden = YES; 100 | 101 | } 102 | 103 | 104 | + (void)toMiniAnimation:(UIView *)AniView { 105 | CAAnimationGroup *group = [CAAnimationGroup animation]; 106 | group.delegate = AniView; 107 | CABasicAnimation *rotationAni = [CABasicAnimation animation]; 108 | rotationAni.keyPath = @"transform.rotation"; 109 | rotationAni.toValue = @(M_PI_2*3); 110 | 111 | CABasicAnimation *scaleAni = [CABasicAnimation animation]; 112 | scaleAni.keyPath = @"transform.scale"; 113 | scaleAni.toValue = @(0.03); 114 | 115 | group.duration = 1.0; 116 | group.animations = @[rotationAni, scaleAni]; 117 | [group setValue:@"toMini" forKey:@"animType"]; 118 | group.removedOnCompletion = NO; 119 | group.fillMode = kCAFillModeForwards; 120 | [AniView.layer addAnimation:group forKey:nil]; 121 | } 122 | 123 | 124 | 125 | 126 | @end 127 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation.xcodeproj/xcuserdata/Mac.xcuserdatad/xcschemes/CollectionViewCell-Animation.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 43 | 49 | 50 | 51 | 52 | 53 | 59 | 60 | 61 | 62 | 63 | 64 | 74 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 95 | 101 | 102 | 103 | 104 | 106 | 107 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /CollectionViewCell-Animation.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0401D5921CEEABE600D36DDD /* CollectionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0401D5911CEEABE600D36DDD /* CollectionViewController.m */; }; 11 | 0401D5951CEEAD5500D36DDD /* Cell.m in Sources */ = {isa = PBXBuildFile; fileRef = 0401D5941CEEAD5500D36DDD /* Cell.m */; }; 12 | 04028C951CEE461300A7383C /* YTAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 04028C941CEE461300A7383C /* YTAnimation.m */; }; 13 | 044647BB1CEDA9AA0045757B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 044647BA1CEDA9AA0045757B /* main.m */; }; 14 | 044647BE1CEDA9AA0045757B /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 044647BD1CEDA9AA0045757B /* AppDelegate.m */; }; 15 | 044647C41CEDA9AA0045757B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 044647C21CEDA9AA0045757B /* Main.storyboard */; }; 16 | 044647C61CEDA9AA0045757B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 044647C51CEDA9AA0045757B /* Assets.xcassets */; }; 17 | 044647C91CEDA9AA0045757B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 044647C71CEDA9AA0045757B /* LaunchScreen.storyboard */; }; 18 | 044647D41CEDA9AA0045757B /* CollectionViewCell_AnimationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 044647D31CEDA9AA0045757B /* CollectionViewCell_AnimationTests.m */; }; 19 | 044647DF1CEDA9AA0045757B /* CollectionViewCell_AnimationUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 044647DE1CEDA9AA0045757B /* CollectionViewCell_AnimationUITests.m */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 044647D01CEDA9AA0045757B /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = 044647AE1CEDA9AA0045757B /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 044647B51CEDA9AA0045757B; 28 | remoteInfo = "CollectionViewCell-Animation"; 29 | }; 30 | 044647DB1CEDA9AA0045757B /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 044647AE1CEDA9AA0045757B /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 044647B51CEDA9AA0045757B; 35 | remoteInfo = "CollectionViewCell-Animation"; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 0401D5901CEEABE600D36DDD /* CollectionViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CollectionViewController.h; sourceTree = ""; }; 41 | 0401D5911CEEABE600D36DDD /* CollectionViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CollectionViewController.m; sourceTree = ""; }; 42 | 0401D5931CEEAD5500D36DDD /* Cell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cell.h; sourceTree = ""; }; 43 | 0401D5941CEEAD5500D36DDD /* Cell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Cell.m; sourceTree = ""; }; 44 | 04028C931CEE461300A7383C /* YTAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YTAnimation.h; sourceTree = ""; }; 45 | 04028C941CEE461300A7383C /* YTAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YTAnimation.m; sourceTree = ""; }; 46 | 044647B61CEDA9AA0045757B /* CollectionViewCell-Animation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CollectionViewCell-Animation.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 044647BA1CEDA9AA0045757B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 48 | 044647BC1CEDA9AA0045757B /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 49 | 044647BD1CEDA9AA0045757B /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 50 | 044647C31CEDA9AA0045757B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 51 | 044647C51CEDA9AA0045757B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 52 | 044647C81CEDA9AA0045757B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 53 | 044647CA1CEDA9AA0045757B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | 044647CF1CEDA9AA0045757B /* CollectionViewCell-AnimationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "CollectionViewCell-AnimationTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 044647D31CEDA9AA0045757B /* CollectionViewCell_AnimationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CollectionViewCell_AnimationTests.m; sourceTree = ""; }; 56 | 044647D51CEDA9AA0045757B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | 044647DA1CEDA9AA0045757B /* CollectionViewCell-AnimationUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "CollectionViewCell-AnimationUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 044647DE1CEDA9AA0045757B /* CollectionViewCell_AnimationUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CollectionViewCell_AnimationUITests.m; sourceTree = ""; }; 59 | 044647E01CEDA9AA0045757B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 60 | /* End PBXFileReference section */ 61 | 62 | /* Begin PBXFrameworksBuildPhase section */ 63 | 044647B31CEDA9AA0045757B /* Frameworks */ = { 64 | isa = PBXFrameworksBuildPhase; 65 | buildActionMask = 2147483647; 66 | files = ( 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | 044647CC1CEDA9AA0045757B /* Frameworks */ = { 71 | isa = PBXFrameworksBuildPhase; 72 | buildActionMask = 2147483647; 73 | files = ( 74 | ); 75 | runOnlyForDeploymentPostprocessing = 0; 76 | }; 77 | 044647D71CEDA9AA0045757B /* Frameworks */ = { 78 | isa = PBXFrameworksBuildPhase; 79 | buildActionMask = 2147483647; 80 | files = ( 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | /* End PBXFrameworksBuildPhase section */ 85 | 86 | /* Begin PBXGroup section */ 87 | 044647AD1CEDA9AA0045757B = { 88 | isa = PBXGroup; 89 | children = ( 90 | 044647B81CEDA9AA0045757B /* CollectionViewCell-Animation */, 91 | 044647D21CEDA9AA0045757B /* CollectionViewCell-AnimationTests */, 92 | 044647DD1CEDA9AA0045757B /* CollectionViewCell-AnimationUITests */, 93 | 044647B71CEDA9AA0045757B /* Products */, 94 | ); 95 | sourceTree = ""; 96 | }; 97 | 044647B71CEDA9AA0045757B /* Products */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 044647B61CEDA9AA0045757B /* CollectionViewCell-Animation.app */, 101 | 044647CF1CEDA9AA0045757B /* CollectionViewCell-AnimationTests.xctest */, 102 | 044647DA1CEDA9AA0045757B /* CollectionViewCell-AnimationUITests.xctest */, 103 | ); 104 | name = Products; 105 | sourceTree = ""; 106 | }; 107 | 044647B81CEDA9AA0045757B /* CollectionViewCell-Animation */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 04028C931CEE461300A7383C /* YTAnimation.h */, 111 | 04028C941CEE461300A7383C /* YTAnimation.m */, 112 | 0401D5931CEEAD5500D36DDD /* Cell.h */, 113 | 0401D5941CEEAD5500D36DDD /* Cell.m */, 114 | 0401D5901CEEABE600D36DDD /* CollectionViewController.h */, 115 | 0401D5911CEEABE600D36DDD /* CollectionViewController.m */, 116 | 044647BC1CEDA9AA0045757B /* AppDelegate.h */, 117 | 044647BD1CEDA9AA0045757B /* AppDelegate.m */, 118 | 044647C21CEDA9AA0045757B /* Main.storyboard */, 119 | 044647C51CEDA9AA0045757B /* Assets.xcassets */, 120 | 044647C71CEDA9AA0045757B /* LaunchScreen.storyboard */, 121 | 044647CA1CEDA9AA0045757B /* Info.plist */, 122 | 044647B91CEDA9AA0045757B /* Supporting Files */, 123 | ); 124 | path = "CollectionViewCell-Animation"; 125 | sourceTree = ""; 126 | }; 127 | 044647B91CEDA9AA0045757B /* Supporting Files */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | 044647BA1CEDA9AA0045757B /* main.m */, 131 | ); 132 | name = "Supporting Files"; 133 | sourceTree = ""; 134 | }; 135 | 044647D21CEDA9AA0045757B /* CollectionViewCell-AnimationTests */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 044647D31CEDA9AA0045757B /* CollectionViewCell_AnimationTests.m */, 139 | 044647D51CEDA9AA0045757B /* Info.plist */, 140 | ); 141 | path = "CollectionViewCell-AnimationTests"; 142 | sourceTree = ""; 143 | }; 144 | 044647DD1CEDA9AA0045757B /* CollectionViewCell-AnimationUITests */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 044647DE1CEDA9AA0045757B /* CollectionViewCell_AnimationUITests.m */, 148 | 044647E01CEDA9AA0045757B /* Info.plist */, 149 | ); 150 | path = "CollectionViewCell-AnimationUITests"; 151 | sourceTree = ""; 152 | }; 153 | /* End PBXGroup section */ 154 | 155 | /* Begin PBXNativeTarget section */ 156 | 044647B51CEDA9AA0045757B /* CollectionViewCell-Animation */ = { 157 | isa = PBXNativeTarget; 158 | buildConfigurationList = 044647E31CEDA9AA0045757B /* Build configuration list for PBXNativeTarget "CollectionViewCell-Animation" */; 159 | buildPhases = ( 160 | 044647B21CEDA9AA0045757B /* Sources */, 161 | 044647B31CEDA9AA0045757B /* Frameworks */, 162 | 044647B41CEDA9AA0045757B /* Resources */, 163 | ); 164 | buildRules = ( 165 | ); 166 | dependencies = ( 167 | ); 168 | name = "CollectionViewCell-Animation"; 169 | productName = "CollectionViewCell-Animation"; 170 | productReference = 044647B61CEDA9AA0045757B /* CollectionViewCell-Animation.app */; 171 | productType = "com.apple.product-type.application"; 172 | }; 173 | 044647CE1CEDA9AA0045757B /* CollectionViewCell-AnimationTests */ = { 174 | isa = PBXNativeTarget; 175 | buildConfigurationList = 044647E61CEDA9AA0045757B /* Build configuration list for PBXNativeTarget "CollectionViewCell-AnimationTests" */; 176 | buildPhases = ( 177 | 044647CB1CEDA9AA0045757B /* Sources */, 178 | 044647CC1CEDA9AA0045757B /* Frameworks */, 179 | 044647CD1CEDA9AA0045757B /* Resources */, 180 | ); 181 | buildRules = ( 182 | ); 183 | dependencies = ( 184 | 044647D11CEDA9AA0045757B /* PBXTargetDependency */, 185 | ); 186 | name = "CollectionViewCell-AnimationTests"; 187 | productName = "CollectionViewCell-AnimationTests"; 188 | productReference = 044647CF1CEDA9AA0045757B /* CollectionViewCell-AnimationTests.xctest */; 189 | productType = "com.apple.product-type.bundle.unit-test"; 190 | }; 191 | 044647D91CEDA9AA0045757B /* CollectionViewCell-AnimationUITests */ = { 192 | isa = PBXNativeTarget; 193 | buildConfigurationList = 044647E91CEDA9AA0045757B /* Build configuration list for PBXNativeTarget "CollectionViewCell-AnimationUITests" */; 194 | buildPhases = ( 195 | 044647D61CEDA9AA0045757B /* Sources */, 196 | 044647D71CEDA9AA0045757B /* Frameworks */, 197 | 044647D81CEDA9AA0045757B /* Resources */, 198 | ); 199 | buildRules = ( 200 | ); 201 | dependencies = ( 202 | 044647DC1CEDA9AA0045757B /* PBXTargetDependency */, 203 | ); 204 | name = "CollectionViewCell-AnimationUITests"; 205 | productName = "CollectionViewCell-AnimationUITests"; 206 | productReference = 044647DA1CEDA9AA0045757B /* CollectionViewCell-AnimationUITests.xctest */; 207 | productType = "com.apple.product-type.bundle.ui-testing"; 208 | }; 209 | /* End PBXNativeTarget section */ 210 | 211 | /* Begin PBXProject section */ 212 | 044647AE1CEDA9AA0045757B /* Project object */ = { 213 | isa = PBXProject; 214 | attributes = { 215 | LastUpgradeCheck = 0730; 216 | ORGANIZATIONNAME = YinTokey; 217 | TargetAttributes = { 218 | 044647B51CEDA9AA0045757B = { 219 | CreatedOnToolsVersion = 7.3.1; 220 | }; 221 | 044647CE1CEDA9AA0045757B = { 222 | CreatedOnToolsVersion = 7.3.1; 223 | TestTargetID = 044647B51CEDA9AA0045757B; 224 | }; 225 | 044647D91CEDA9AA0045757B = { 226 | CreatedOnToolsVersion = 7.3.1; 227 | TestTargetID = 044647B51CEDA9AA0045757B; 228 | }; 229 | }; 230 | }; 231 | buildConfigurationList = 044647B11CEDA9AA0045757B /* Build configuration list for PBXProject "CollectionViewCell-Animation" */; 232 | compatibilityVersion = "Xcode 3.2"; 233 | developmentRegion = English; 234 | hasScannedForEncodings = 0; 235 | knownRegions = ( 236 | en, 237 | Base, 238 | ); 239 | mainGroup = 044647AD1CEDA9AA0045757B; 240 | productRefGroup = 044647B71CEDA9AA0045757B /* Products */; 241 | projectDirPath = ""; 242 | projectRoot = ""; 243 | targets = ( 244 | 044647B51CEDA9AA0045757B /* CollectionViewCell-Animation */, 245 | 044647CE1CEDA9AA0045757B /* CollectionViewCell-AnimationTests */, 246 | 044647D91CEDA9AA0045757B /* CollectionViewCell-AnimationUITests */, 247 | ); 248 | }; 249 | /* End PBXProject section */ 250 | 251 | /* Begin PBXResourcesBuildPhase section */ 252 | 044647B41CEDA9AA0045757B /* Resources */ = { 253 | isa = PBXResourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | 044647C91CEDA9AA0045757B /* LaunchScreen.storyboard in Resources */, 257 | 044647C61CEDA9AA0045757B /* Assets.xcassets in Resources */, 258 | 044647C41CEDA9AA0045757B /* Main.storyboard in Resources */, 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | 044647CD1CEDA9AA0045757B /* Resources */ = { 263 | isa = PBXResourcesBuildPhase; 264 | buildActionMask = 2147483647; 265 | files = ( 266 | ); 267 | runOnlyForDeploymentPostprocessing = 0; 268 | }; 269 | 044647D81CEDA9AA0045757B /* Resources */ = { 270 | isa = PBXResourcesBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | ); 274 | runOnlyForDeploymentPostprocessing = 0; 275 | }; 276 | /* End PBXResourcesBuildPhase section */ 277 | 278 | /* Begin PBXSourcesBuildPhase section */ 279 | 044647B21CEDA9AA0045757B /* Sources */ = { 280 | isa = PBXSourcesBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | 044647BE1CEDA9AA0045757B /* AppDelegate.m in Sources */, 284 | 0401D5951CEEAD5500D36DDD /* Cell.m in Sources */, 285 | 044647BB1CEDA9AA0045757B /* main.m in Sources */, 286 | 0401D5921CEEABE600D36DDD /* CollectionViewController.m in Sources */, 287 | 04028C951CEE461300A7383C /* YTAnimation.m in Sources */, 288 | ); 289 | runOnlyForDeploymentPostprocessing = 0; 290 | }; 291 | 044647CB1CEDA9AA0045757B /* Sources */ = { 292 | isa = PBXSourcesBuildPhase; 293 | buildActionMask = 2147483647; 294 | files = ( 295 | 044647D41CEDA9AA0045757B /* CollectionViewCell_AnimationTests.m in Sources */, 296 | ); 297 | runOnlyForDeploymentPostprocessing = 0; 298 | }; 299 | 044647D61CEDA9AA0045757B /* Sources */ = { 300 | isa = PBXSourcesBuildPhase; 301 | buildActionMask = 2147483647; 302 | files = ( 303 | 044647DF1CEDA9AA0045757B /* CollectionViewCell_AnimationUITests.m in Sources */, 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | }; 307 | /* End PBXSourcesBuildPhase section */ 308 | 309 | /* Begin PBXTargetDependency section */ 310 | 044647D11CEDA9AA0045757B /* PBXTargetDependency */ = { 311 | isa = PBXTargetDependency; 312 | target = 044647B51CEDA9AA0045757B /* CollectionViewCell-Animation */; 313 | targetProxy = 044647D01CEDA9AA0045757B /* PBXContainerItemProxy */; 314 | }; 315 | 044647DC1CEDA9AA0045757B /* PBXTargetDependency */ = { 316 | isa = PBXTargetDependency; 317 | target = 044647B51CEDA9AA0045757B /* CollectionViewCell-Animation */; 318 | targetProxy = 044647DB1CEDA9AA0045757B /* PBXContainerItemProxy */; 319 | }; 320 | /* End PBXTargetDependency section */ 321 | 322 | /* Begin PBXVariantGroup section */ 323 | 044647C21CEDA9AA0045757B /* Main.storyboard */ = { 324 | isa = PBXVariantGroup; 325 | children = ( 326 | 044647C31CEDA9AA0045757B /* Base */, 327 | ); 328 | name = Main.storyboard; 329 | sourceTree = ""; 330 | }; 331 | 044647C71CEDA9AA0045757B /* LaunchScreen.storyboard */ = { 332 | isa = PBXVariantGroup; 333 | children = ( 334 | 044647C81CEDA9AA0045757B /* Base */, 335 | ); 336 | name = LaunchScreen.storyboard; 337 | sourceTree = ""; 338 | }; 339 | /* End PBXVariantGroup section */ 340 | 341 | /* Begin XCBuildConfiguration section */ 342 | 044647E11CEDA9AA0045757B /* Debug */ = { 343 | isa = XCBuildConfiguration; 344 | buildSettings = { 345 | ALWAYS_SEARCH_USER_PATHS = NO; 346 | CLANG_ANALYZER_NONNULL = YES; 347 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 348 | CLANG_CXX_LIBRARY = "libc++"; 349 | CLANG_ENABLE_MODULES = YES; 350 | CLANG_ENABLE_OBJC_ARC = YES; 351 | CLANG_WARN_BOOL_CONVERSION = YES; 352 | CLANG_WARN_CONSTANT_CONVERSION = YES; 353 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 354 | CLANG_WARN_EMPTY_BODY = YES; 355 | CLANG_WARN_ENUM_CONVERSION = YES; 356 | CLANG_WARN_INT_CONVERSION = YES; 357 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 358 | CLANG_WARN_UNREACHABLE_CODE = YES; 359 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 360 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 361 | COPY_PHASE_STRIP = NO; 362 | DEBUG_INFORMATION_FORMAT = dwarf; 363 | ENABLE_STRICT_OBJC_MSGSEND = YES; 364 | ENABLE_TESTABILITY = YES; 365 | GCC_C_LANGUAGE_STANDARD = gnu99; 366 | GCC_DYNAMIC_NO_PIC = NO; 367 | GCC_NO_COMMON_BLOCKS = YES; 368 | GCC_OPTIMIZATION_LEVEL = 0; 369 | GCC_PREPROCESSOR_DEFINITIONS = ( 370 | "DEBUG=1", 371 | "$(inherited)", 372 | ); 373 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 374 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 375 | GCC_WARN_UNDECLARED_SELECTOR = YES; 376 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 377 | GCC_WARN_UNUSED_FUNCTION = YES; 378 | GCC_WARN_UNUSED_VARIABLE = YES; 379 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 380 | MTL_ENABLE_DEBUG_INFO = YES; 381 | ONLY_ACTIVE_ARCH = YES; 382 | SDKROOT = iphoneos; 383 | }; 384 | name = Debug; 385 | }; 386 | 044647E21CEDA9AA0045757B /* Release */ = { 387 | isa = XCBuildConfiguration; 388 | buildSettings = { 389 | ALWAYS_SEARCH_USER_PATHS = NO; 390 | CLANG_ANALYZER_NONNULL = YES; 391 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 392 | CLANG_CXX_LIBRARY = "libc++"; 393 | CLANG_ENABLE_MODULES = YES; 394 | CLANG_ENABLE_OBJC_ARC = YES; 395 | CLANG_WARN_BOOL_CONVERSION = YES; 396 | CLANG_WARN_CONSTANT_CONVERSION = YES; 397 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 398 | CLANG_WARN_EMPTY_BODY = YES; 399 | CLANG_WARN_ENUM_CONVERSION = YES; 400 | CLANG_WARN_INT_CONVERSION = YES; 401 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 402 | CLANG_WARN_UNREACHABLE_CODE = YES; 403 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 404 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 405 | COPY_PHASE_STRIP = NO; 406 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 407 | ENABLE_NS_ASSERTIONS = NO; 408 | ENABLE_STRICT_OBJC_MSGSEND = YES; 409 | GCC_C_LANGUAGE_STANDARD = gnu99; 410 | GCC_NO_COMMON_BLOCKS = YES; 411 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 412 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 413 | GCC_WARN_UNDECLARED_SELECTOR = YES; 414 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 415 | GCC_WARN_UNUSED_FUNCTION = YES; 416 | GCC_WARN_UNUSED_VARIABLE = YES; 417 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 418 | MTL_ENABLE_DEBUG_INFO = NO; 419 | SDKROOT = iphoneos; 420 | VALIDATE_PRODUCT = YES; 421 | }; 422 | name = Release; 423 | }; 424 | 044647E41CEDA9AA0045757B /* Debug */ = { 425 | isa = XCBuildConfiguration; 426 | buildSettings = { 427 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 428 | INFOPLIST_FILE = "CollectionViewCell-Animation/Info.plist"; 429 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 430 | PRODUCT_BUNDLE_IDENTIFIER = "Q.CollectionViewCell-Animation"; 431 | PRODUCT_NAME = "$(TARGET_NAME)"; 432 | }; 433 | name = Debug; 434 | }; 435 | 044647E51CEDA9AA0045757B /* Release */ = { 436 | isa = XCBuildConfiguration; 437 | buildSettings = { 438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 439 | INFOPLIST_FILE = "CollectionViewCell-Animation/Info.plist"; 440 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 441 | PRODUCT_BUNDLE_IDENTIFIER = "Q.CollectionViewCell-Animation"; 442 | PRODUCT_NAME = "$(TARGET_NAME)"; 443 | }; 444 | name = Release; 445 | }; 446 | 044647E71CEDA9AA0045757B /* Debug */ = { 447 | isa = XCBuildConfiguration; 448 | buildSettings = { 449 | BUNDLE_LOADER = "$(TEST_HOST)"; 450 | INFOPLIST_FILE = "CollectionViewCell-AnimationTests/Info.plist"; 451 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 452 | PRODUCT_BUNDLE_IDENTIFIER = "Q.CollectionViewCell-AnimationTests"; 453 | PRODUCT_NAME = "$(TARGET_NAME)"; 454 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CollectionViewCell-Animation.app/CollectionViewCell-Animation"; 455 | }; 456 | name = Debug; 457 | }; 458 | 044647E81CEDA9AA0045757B /* Release */ = { 459 | isa = XCBuildConfiguration; 460 | buildSettings = { 461 | BUNDLE_LOADER = "$(TEST_HOST)"; 462 | INFOPLIST_FILE = "CollectionViewCell-AnimationTests/Info.plist"; 463 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 464 | PRODUCT_BUNDLE_IDENTIFIER = "Q.CollectionViewCell-AnimationTests"; 465 | PRODUCT_NAME = "$(TARGET_NAME)"; 466 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CollectionViewCell-Animation.app/CollectionViewCell-Animation"; 467 | }; 468 | name = Release; 469 | }; 470 | 044647EA1CEDA9AA0045757B /* Debug */ = { 471 | isa = XCBuildConfiguration; 472 | buildSettings = { 473 | INFOPLIST_FILE = "CollectionViewCell-AnimationUITests/Info.plist"; 474 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 475 | PRODUCT_BUNDLE_IDENTIFIER = "Q.CollectionViewCell-AnimationUITests"; 476 | PRODUCT_NAME = "$(TARGET_NAME)"; 477 | TEST_TARGET_NAME = "CollectionViewCell-Animation"; 478 | }; 479 | name = Debug; 480 | }; 481 | 044647EB1CEDA9AA0045757B /* Release */ = { 482 | isa = XCBuildConfiguration; 483 | buildSettings = { 484 | INFOPLIST_FILE = "CollectionViewCell-AnimationUITests/Info.plist"; 485 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 486 | PRODUCT_BUNDLE_IDENTIFIER = "Q.CollectionViewCell-AnimationUITests"; 487 | PRODUCT_NAME = "$(TARGET_NAME)"; 488 | TEST_TARGET_NAME = "CollectionViewCell-Animation"; 489 | }; 490 | name = Release; 491 | }; 492 | /* End XCBuildConfiguration section */ 493 | 494 | /* Begin XCConfigurationList section */ 495 | 044647B11CEDA9AA0045757B /* Build configuration list for PBXProject "CollectionViewCell-Animation" */ = { 496 | isa = XCConfigurationList; 497 | buildConfigurations = ( 498 | 044647E11CEDA9AA0045757B /* Debug */, 499 | 044647E21CEDA9AA0045757B /* Release */, 500 | ); 501 | defaultConfigurationIsVisible = 0; 502 | defaultConfigurationName = Release; 503 | }; 504 | 044647E31CEDA9AA0045757B /* Build configuration list for PBXNativeTarget "CollectionViewCell-Animation" */ = { 505 | isa = XCConfigurationList; 506 | buildConfigurations = ( 507 | 044647E41CEDA9AA0045757B /* Debug */, 508 | 044647E51CEDA9AA0045757B /* Release */, 509 | ); 510 | defaultConfigurationIsVisible = 0; 511 | defaultConfigurationName = Release; 512 | }; 513 | 044647E61CEDA9AA0045757B /* Build configuration list for PBXNativeTarget "CollectionViewCell-AnimationTests" */ = { 514 | isa = XCConfigurationList; 515 | buildConfigurations = ( 516 | 044647E71CEDA9AA0045757B /* Debug */, 517 | 044647E81CEDA9AA0045757B /* Release */, 518 | ); 519 | defaultConfigurationIsVisible = 0; 520 | defaultConfigurationName = Release; 521 | }; 522 | 044647E91CEDA9AA0045757B /* Build configuration list for PBXNativeTarget "CollectionViewCell-AnimationUITests" */ = { 523 | isa = XCConfigurationList; 524 | buildConfigurations = ( 525 | 044647EA1CEDA9AA0045757B /* Debug */, 526 | 044647EB1CEDA9AA0045757B /* Release */, 527 | ); 528 | defaultConfigurationIsVisible = 0; 529 | defaultConfigurationName = Release; 530 | }; 531 | /* End XCConfigurationList section */ 532 | }; 533 | rootObject = 044647AE1CEDA9AA0045757B /* Project object */; 534 | } 535 | --------------------------------------------------------------------------------