├── MIT-LICENSE.txt ├── README.md ├── RSTransitionEffect ├── RSBasicItem.h ├── RSBasicItem.m ├── RSTransitionEffectViewController.h ├── RSTransitionEffectViewController.m ├── UITableView+Frames.h └── UITableView+Frames.m ├── RSTransitionEffectSample.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── xcuserdata │ └── R0CKSTAR.xcuserdatad │ └── xcschemes │ ├── RSTransitionEffectSample.xcscheme │ └── xcschememanagement.plist ├── RSTransitionEffectSample ├── Base.lproj │ └── Main.storyboard ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json ├── Images │ ├── images-1.jpeg │ ├── images-10.jpeg │ ├── images-2.jpeg │ ├── images-3.jpeg │ ├── images-4.jpeg │ ├── images-5.jpeg │ ├── images-6.jpeg │ ├── images-7.jpeg │ ├── images-8.jpeg │ ├── images-9.jpeg │ └── temp.png ├── RSAppDelegate.h ├── RSAppDelegate.m ├── RSDetailViewController.h ├── RSDetailViewController.m ├── RSTableViewController.h ├── RSTableViewController.m ├── RSTransitionEffectSample-Info.plist ├── RSTransitionEffectSample-Prefix.pch ├── SampleData.plist ├── en.lproj │ └── InfoPlist.strings └── main.m ├── RSTransitionEffectSampleTests ├── RSTransitionEffectSampleTests-Info.plist ├── RSTransitionEffectSampleTests.m └── en.lproj │ └── InfoPlist.strings └── sample.gif /MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 P.D.Q. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | 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, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | RSTransitionEffect 2 | ================== 3 | 4 | Re-implement mayuur's MJTransitionEffect(https://github.com/mayuur/MJTransitionEffect) and provide default data binding for UITableViewCell and detail view controller and solve the white screen problem. All images, data source are taken from mayuur's MJTransitionEffect. 5 | 6 | My implementation introduces source frames and target frames for RSTransitionEffectViewController, provide basic data item and data item -> view binding and frame calucations. 7 | 8 | 1. RSBasicItem, data item for UITableViewCell, contains text, detailText, image. 9 | 2. UITableView category, provides cell itself, textLabel, detailTextLabel, imageView frames' conversion to absolute screen coordinate. 10 | 3. RSTransitionEffectViewController, provides data binding, animations, etc. 11 | 12 | In the sample it demonstrates the relationship and usage between list -> item -> detail. 13 | 14 | In storyboard, create a detail view controller which subclassing RSTransitionEffectViewController, and link predefined IBOutlets to current views then in UITableViewDelegate, instantiate the view controller defined in storyboard and pass sourceFrames and current list item to it: 15 | 16 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 17 | { 18 | [tableView deselectRowAtIndexPath:indexPath animated:NO]; 19 | 20 | RSDetailViewController *viewController = [self.storyboard instantiateViewControllerWithIdentifier:@"detail"]; 21 | viewController.sourceFrames = [tableView framesForRowAtIndexPath:indexPath]; 22 | viewController.item = [self.items objectAtIndex:[indexPath row]]; 23 | [self.navigationController pushViewController:viewController animated:NO]; 24 | } 25 | 26 | and that's all, the new detail view controller will display with beautiful transition effect. 27 | 28 | ![My image](sample.gif) 29 | 30 | 31 | [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/yeahdongcn/rstransitioneffect/trend.png)](https://bitdeli.com/free "Bitdeli Badge") 32 | 33 | -------------------------------------------------------------------------------- /RSTransitionEffect/RSBasicItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // RSBasicListItem.h 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/12/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RSBasicItem : NSObject 12 | 13 | @property (nonatomic, copy) UIImage *image; 14 | 15 | @property (nonatomic, copy) NSString *text; 16 | 17 | @property (nonatomic, copy) NSString *detailText; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /RSTransitionEffect/RSBasicItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // RSBasicListItem.m 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/12/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import "RSBasicItem.h" 10 | 11 | @implementation RSBasicItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /RSTransitionEffect/RSTransitionEffectViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RSTransitionEffectViewController.h 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/11/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RSBasicItem; 12 | 13 | @interface RSTransitionEffectViewController : UIViewController 14 | 15 | @property (nonatomic, strong) NSDictionary *sourceFrames; 16 | 17 | @property (nonatomic, strong) RSBasicItem *item; 18 | 19 | @property (nonatomic, assign) NSTimeInterval animationDuration; 20 | 21 | @property (nonatomic, copy) UIColor *cellBackgroundColor; 22 | 23 | #pragma mark - IB 24 | 25 | @property (nonatomic, weak) IBOutlet UIView *cell; 26 | 27 | @property (nonatomic, weak) IBOutlet UIImageView *imageView; 28 | 29 | @property (nonatomic, weak) IBOutlet UILabel *textLabel; 30 | 31 | @property (nonatomic, weak) IBOutlet UILabel *detailTextLabel; 32 | 33 | @property (nonatomic, weak) IBOutlet UIView *backgroundView; 34 | 35 | @property (nonatomic, weak) IBOutlet UIToolbar *toolbar; 36 | 37 | - (IBAction)close:(id)sender; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /RSTransitionEffect/RSTransitionEffectViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // RSTransitionEffectViewController.m 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/11/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import "RSTransitionEffectViewController.h" 10 | 11 | #import "RSBasicItem.h" 12 | 13 | @interface RSTransitionEffectViewController () 14 | 15 | @property (nonatomic, strong) NSDictionary *targetFrames; 16 | 17 | @property (nonatomic, strong) UIColor *backgroundColor; 18 | 19 | - (void)__bindItem; 20 | 21 | - (void)__buildTargetFrames; 22 | 23 | - (void)__switchToSourceFrames:(BOOL)isSource; 24 | 25 | @end 26 | 27 | @implementation RSTransitionEffectViewController 28 | 29 | #pragma mark - Private 30 | 31 | - (void)__bindItem 32 | { 33 | self.imageView.image = self.item.image; 34 | self.textLabel.text = self.item.text; 35 | [self.textLabel sizeToFit]; 36 | self.detailTextLabel.text = self.item.detailText; 37 | [self.detailTextLabel sizeToFit]; 38 | } 39 | 40 | - (void)__buildTargetFrames 41 | { 42 | NSMutableDictionary *frames = [NSMutableDictionary dictionary]; 43 | 44 | [frames setObject:[NSValue valueWithCGRect:self.cell.frame] forKey:@"cell"]; 45 | 46 | [frames setObject:[NSValue valueWithCGRect:self.imageView.frame] forKey:@"imageView"]; 47 | 48 | CGRect frame = self.textLabel.frame; 49 | frame.origin.x = roundf((self.view.bounds.size.width - frame.size.width) / 2.0f); 50 | [frames setObject:[NSValue valueWithCGRect:frame] forKey:@"textLabel"]; 51 | 52 | frame = self.detailTextLabel.frame; 53 | frame.origin.x = roundf((self.view.bounds.size.width - frame.size.width) / 2.0f); 54 | [frames setObject:[NSValue valueWithCGRect:frame] forKey:@"detailTextLabel"]; 55 | 56 | self.targetFrames = [NSDictionary dictionaryWithDictionary:frames]; 57 | } 58 | 59 | - (void)__switchToSourceFrames:(BOOL)isSource 60 | { 61 | NSDictionary *frames = nil; 62 | CGRect toolbarFrame = self.toolbar.frame; 63 | if (isSource) { 64 | frames = self.sourceFrames; 65 | self.backgroundView.alpha = 1; 66 | toolbarFrame.origin.y += toolbarFrame.size.height; 67 | } else { 68 | frames = self.targetFrames; 69 | self.backgroundView.alpha = 0; 70 | toolbarFrame.origin.y -= toolbarFrame.size.height; 71 | } 72 | 73 | self.cell.frame = [[frames objectForKey:@"cell"] CGRectValue]; 74 | self.imageView.frame = [[frames objectForKey:@"imageView"] CGRectValue]; 75 | self.textLabel.frame = [[frames objectForKey:@"textLabel"] CGRectValue]; 76 | self.detailTextLabel.frame = [[frames objectForKey:@"detailTextLabel"] CGRectValue]; 77 | self.toolbar.frame = toolbarFrame; 78 | } 79 | 80 | #pragma mark - RSTransitionEffectViewController 81 | 82 | - (id)initWithCoder:(NSCoder *)aDecoder 83 | { 84 | self = [super initWithCoder:aDecoder]; 85 | if (self) { 86 | UIWindow *window = [[UIApplication sharedApplication] keyWindow]; 87 | UIGraphicsBeginImageContextWithOptions(window.bounds.size, YES, 0.0f); 88 | CGContextRef context = UIGraphicsGetCurrentContext(); 89 | [window.layer renderInContext:context]; 90 | self.backgroundColor = [UIColor colorWithPatternImage:UIGraphicsGetImageFromCurrentImageContext()]; 91 | UIGraphicsEndImageContext(); 92 | 93 | self.animationDuration = 1.0f; 94 | 95 | self.cellBackgroundColor = [UIColor lightGrayColor]; 96 | } 97 | return self; 98 | } 99 | 100 | - (void)viewDidLoad 101 | { 102 | [super viewDidLoad]; 103 | // Do any additional setup after loading the view. 104 | 105 | self.backgroundView.backgroundColor = self.backgroundColor; 106 | 107 | self.cell.backgroundColor = self.cellBackgroundColor; 108 | 109 | [self __bindItem]; 110 | 111 | [self __buildTargetFrames]; 112 | 113 | [self __switchToSourceFrames:YES]; 114 | 115 | [UIView animateWithDuration:self.animationDuration animations:^{ 116 | [self __switchToSourceFrames:NO]; 117 | }]; 118 | } 119 | 120 | - (void)didReceiveMemoryWarning 121 | { 122 | [super didReceiveMemoryWarning]; 123 | // Dispose of any resources that can be recreated. 124 | } 125 | 126 | - (IBAction)close:(id)sender 127 | { 128 | [UIView animateWithDuration:self.animationDuration animations:^{ 129 | [self __switchToSourceFrames:YES]; 130 | } completion:^(BOOL finished) { 131 | [UIView animateWithDuration:0.3f animations:^{ 132 | self.cell.alpha = 0; 133 | } completion:^(BOOL finished) { 134 | [self.navigationController popViewControllerAnimated:NO]; 135 | }]; 136 | }]; 137 | } 138 | 139 | @end 140 | -------------------------------------------------------------------------------- /RSTransitionEffect/UITableView+Frames.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITableView+Frames.h 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/11/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UITableView (Frames) 12 | 13 | - (NSDictionary *)framesForRowAtIndexPath:(NSIndexPath *)indexPath; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /RSTransitionEffect/UITableView+Frames.m: -------------------------------------------------------------------------------- 1 | // 2 | // UITableView+Frames.m 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/11/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import "UITableView+Frames.h" 10 | 11 | @implementation UITableView (Frames) 12 | 13 | - (NSDictionary *)framesForRowAtIndexPath:(NSIndexPath *)indexPath 14 | { 15 | UITableViewCell *cell = [self cellForRowAtIndexPath:indexPath]; 16 | CGRect cellFrameInTableView = [self rectForRowAtIndexPath:indexPath]; 17 | CGRect cellFrameInWindow = [self convertRect:cellFrameInTableView toView:[UIApplication sharedApplication].keyWindow]; 18 | 19 | NSMutableDictionary *frames = [NSMutableDictionary dictionary]; 20 | 21 | [frames setObject:[NSValue valueWithCGRect:cellFrameInWindow] forKey:@"cell"]; 22 | 23 | [frames setObject:[NSValue valueWithCGRect:CGRectOffset(cell.imageView.frame, cellFrameInWindow.origin.x, cellFrameInWindow.origin.y)] forKey:@"imageView"]; 24 | 25 | [frames setObject:[NSValue valueWithCGRect:CGRectOffset(cell.textLabel.frame, cellFrameInWindow.origin.x, cellFrameInWindow.origin.y)] forKey:@"textLabel"]; 26 | 27 | [frames setObject:[NSValue valueWithCGRect:CGRectOffset(cell.detailTextLabel.frame, cellFrameInWindow.origin.x, cellFrameInWindow.origin.y)] forKey:@"detailTextLabel"]; 28 | 29 | return [NSDictionary dictionaryWithDictionary:frames]; 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /RSTransitionEffectSample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | D0ACB0DF18596BB600A092B4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0ACB0DE18596BB600A092B4 /* Foundation.framework */; }; 11 | D0ACB0E118596BB600A092B4 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0ACB0E018596BB600A092B4 /* CoreGraphics.framework */; }; 12 | D0ACB0E318596BB600A092B4 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0ACB0E218596BB600A092B4 /* UIKit.framework */; }; 13 | D0ACB0E918596BB600A092B4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB0E718596BB600A092B4 /* InfoPlist.strings */; }; 14 | D0ACB0EB18596BB600A092B4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D0ACB0EA18596BB600A092B4 /* main.m */; }; 15 | D0ACB0EF18596BB600A092B4 /* RSAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D0ACB0EE18596BB600A092B4 /* RSAppDelegate.m */; }; 16 | D0ACB0F218596BB600A092B4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB0F018596BB600A092B4 /* Main.storyboard */; }; 17 | D0ACB0F718596BB600A092B4 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB0F618596BB600A092B4 /* Images.xcassets */; }; 18 | D0ACB0FE18596BB600A092B4 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0ACB0FD18596BB600A092B4 /* XCTest.framework */; }; 19 | D0ACB0FF18596BB600A092B4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0ACB0DE18596BB600A092B4 /* Foundation.framework */; }; 20 | D0ACB10018596BB600A092B4 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0ACB0E218596BB600A092B4 /* UIKit.framework */; }; 21 | D0ACB10818596BB600A092B4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB10618596BB600A092B4 /* InfoPlist.strings */; }; 22 | D0ACB10A18596BB600A092B4 /* RSTransitionEffectSampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = D0ACB10918596BB600A092B4 /* RSTransitionEffectSampleTests.m */; }; 23 | D0ACB11A18596BF500A092B4 /* RSBasicItem.m in Sources */ = {isa = PBXBuildFile; fileRef = D0ACB11518596BF500A092B4 /* RSBasicItem.m */; }; 24 | D0ACB11B18596BF500A092B4 /* RSTransitionEffectViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D0ACB11718596BF500A092B4 /* RSTransitionEffectViewController.m */; }; 25 | D0ACB11C18596BF500A092B4 /* UITableView+Frames.m in Sources */ = {isa = PBXBuildFile; fileRef = D0ACB11918596BF500A092B4 /* UITableView+Frames.m */; }; 26 | D0ACB12118596C4200A092B4 /* RSDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D0ACB11E18596C4200A092B4 /* RSDetailViewController.m */; }; 27 | D0ACB12218596C4200A092B4 /* RSTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D0ACB12018596C4200A092B4 /* RSTableViewController.m */; }; 28 | D0ACB12418596C8400A092B4 /* SampleData.plist in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12318596C8400A092B4 /* SampleData.plist */; }; 29 | D0ACB13118596D6200A092B4 /* images-1.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12618596D6200A092B4 /* images-1.jpeg */; }; 30 | D0ACB13218596D6200A092B4 /* images-10.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12718596D6200A092B4 /* images-10.jpeg */; }; 31 | D0ACB13318596D6200A092B4 /* images-2.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12818596D6200A092B4 /* images-2.jpeg */; }; 32 | D0ACB13418596D6200A092B4 /* images-3.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12918596D6200A092B4 /* images-3.jpeg */; }; 33 | D0ACB13518596D6200A092B4 /* images-4.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12A18596D6200A092B4 /* images-4.jpeg */; }; 34 | D0ACB13618596D6200A092B4 /* images-5.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12B18596D6200A092B4 /* images-5.jpeg */; }; 35 | D0ACB13718596D6200A092B4 /* images-6.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12C18596D6200A092B4 /* images-6.jpeg */; }; 36 | D0ACB13818596D6200A092B4 /* images-7.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12D18596D6200A092B4 /* images-7.jpeg */; }; 37 | D0ACB13918596D6200A092B4 /* images-8.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12E18596D6200A092B4 /* images-8.jpeg */; }; 38 | D0ACB13A18596D6200A092B4 /* images-9.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB12F18596D6200A092B4 /* images-9.jpeg */; }; 39 | D0ACB13B18596D6200A092B4 /* temp.png in Resources */ = {isa = PBXBuildFile; fileRef = D0ACB13018596D6200A092B4 /* temp.png */; }; 40 | /* End PBXBuildFile section */ 41 | 42 | /* Begin PBXContainerItemProxy section */ 43 | D0ACB10118596BB600A092B4 /* PBXContainerItemProxy */ = { 44 | isa = PBXContainerItemProxy; 45 | containerPortal = D0ACB0D318596BB600A092B4 /* Project object */; 46 | proxyType = 1; 47 | remoteGlobalIDString = D0ACB0DA18596BB600A092B4; 48 | remoteInfo = RSTransitionEffectSample; 49 | }; 50 | /* End PBXContainerItemProxy section */ 51 | 52 | /* Begin PBXFileReference section */ 53 | D0ACB0DB18596BB600A092B4 /* RSTransitionEffectSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RSTransitionEffectSample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | D0ACB0DE18596BB600A092B4 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 55 | D0ACB0E018596BB600A092B4 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 56 | D0ACB0E218596BB600A092B4 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 57 | D0ACB0E618596BB600A092B4 /* RSTransitionEffectSample-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RSTransitionEffectSample-Info.plist"; sourceTree = ""; }; 58 | D0ACB0E818596BB600A092B4 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 59 | D0ACB0EA18596BB600A092B4 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 60 | D0ACB0EC18596BB600A092B4 /* RSTransitionEffectSample-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RSTransitionEffectSample-Prefix.pch"; sourceTree = ""; }; 61 | D0ACB0ED18596BB600A092B4 /* RSAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RSAppDelegate.h; sourceTree = ""; }; 62 | D0ACB0EE18596BB600A092B4 /* RSAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RSAppDelegate.m; sourceTree = ""; }; 63 | D0ACB0F118596BB600A092B4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 64 | D0ACB0F618596BB600A092B4 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 65 | D0ACB0FC18596BB600A092B4 /* RSTransitionEffectSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RSTransitionEffectSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 66 | D0ACB0FD18596BB600A092B4 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 67 | D0ACB10518596BB600A092B4 /* RSTransitionEffectSampleTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RSTransitionEffectSampleTests-Info.plist"; sourceTree = ""; }; 68 | D0ACB10718596BB600A092B4 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 69 | D0ACB10918596BB600A092B4 /* RSTransitionEffectSampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RSTransitionEffectSampleTests.m; sourceTree = ""; }; 70 | D0ACB11418596BF500A092B4 /* RSBasicItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSBasicItem.h; sourceTree = ""; }; 71 | D0ACB11518596BF500A092B4 /* RSBasicItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSBasicItem.m; sourceTree = ""; }; 72 | D0ACB11618596BF500A092B4 /* RSTransitionEffectViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSTransitionEffectViewController.h; sourceTree = ""; }; 73 | D0ACB11718596BF500A092B4 /* RSTransitionEffectViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSTransitionEffectViewController.m; sourceTree = ""; }; 74 | D0ACB11818596BF500A092B4 /* UITableView+Frames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITableView+Frames.h"; sourceTree = ""; }; 75 | D0ACB11918596BF500A092B4 /* UITableView+Frames.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UITableView+Frames.m"; sourceTree = ""; }; 76 | D0ACB11D18596C4200A092B4 /* RSDetailViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSDetailViewController.h; path = RSTransitionEffectSample/RSDetailViewController.h; sourceTree = SOURCE_ROOT; }; 77 | D0ACB11E18596C4200A092B4 /* RSDetailViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RSDetailViewController.m; path = RSTransitionEffectSample/RSDetailViewController.m; sourceTree = SOURCE_ROOT; }; 78 | D0ACB11F18596C4200A092B4 /* RSTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RSTableViewController.h; path = RSTransitionEffectSample/RSTableViewController.h; sourceTree = SOURCE_ROOT; }; 79 | D0ACB12018596C4200A092B4 /* RSTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RSTableViewController.m; path = RSTransitionEffectSample/RSTableViewController.m; sourceTree = SOURCE_ROOT; }; 80 | D0ACB12318596C8400A092B4 /* SampleData.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = SampleData.plist; sourceTree = ""; }; 81 | D0ACB12618596D6200A092B4 /* images-1.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-1.jpeg"; sourceTree = ""; }; 82 | D0ACB12718596D6200A092B4 /* images-10.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-10.jpeg"; sourceTree = ""; }; 83 | D0ACB12818596D6200A092B4 /* images-2.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-2.jpeg"; sourceTree = ""; }; 84 | D0ACB12918596D6200A092B4 /* images-3.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-3.jpeg"; sourceTree = ""; }; 85 | D0ACB12A18596D6200A092B4 /* images-4.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-4.jpeg"; sourceTree = ""; }; 86 | D0ACB12B18596D6200A092B4 /* images-5.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-5.jpeg"; sourceTree = ""; }; 87 | D0ACB12C18596D6200A092B4 /* images-6.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-6.jpeg"; sourceTree = ""; }; 88 | D0ACB12D18596D6200A092B4 /* images-7.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-7.jpeg"; sourceTree = ""; }; 89 | D0ACB12E18596D6200A092B4 /* images-8.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-8.jpeg"; sourceTree = ""; }; 90 | D0ACB12F18596D6200A092B4 /* images-9.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "images-9.jpeg"; sourceTree = ""; }; 91 | D0ACB13018596D6200A092B4 /* temp.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = temp.png; sourceTree = ""; }; 92 | /* End PBXFileReference section */ 93 | 94 | /* Begin PBXFrameworksBuildPhase section */ 95 | D0ACB0D818596BB600A092B4 /* Frameworks */ = { 96 | isa = PBXFrameworksBuildPhase; 97 | buildActionMask = 2147483647; 98 | files = ( 99 | D0ACB0E118596BB600A092B4 /* CoreGraphics.framework in Frameworks */, 100 | D0ACB0E318596BB600A092B4 /* UIKit.framework in Frameworks */, 101 | D0ACB0DF18596BB600A092B4 /* Foundation.framework in Frameworks */, 102 | ); 103 | runOnlyForDeploymentPostprocessing = 0; 104 | }; 105 | D0ACB0F918596BB600A092B4 /* Frameworks */ = { 106 | isa = PBXFrameworksBuildPhase; 107 | buildActionMask = 2147483647; 108 | files = ( 109 | D0ACB0FE18596BB600A092B4 /* XCTest.framework in Frameworks */, 110 | D0ACB10018596BB600A092B4 /* UIKit.framework in Frameworks */, 111 | D0ACB0FF18596BB600A092B4 /* Foundation.framework in Frameworks */, 112 | ); 113 | runOnlyForDeploymentPostprocessing = 0; 114 | }; 115 | /* End PBXFrameworksBuildPhase section */ 116 | 117 | /* Begin PBXGroup section */ 118 | D0ACB0D218596BB600A092B4 = { 119 | isa = PBXGroup; 120 | children = ( 121 | D0ACB0E418596BB600A092B4 /* RSTransitionEffectSample */, 122 | D0ACB10318596BB600A092B4 /* RSTransitionEffectSampleTests */, 123 | D0ACB0DD18596BB600A092B4 /* Frameworks */, 124 | D0ACB0DC18596BB600A092B4 /* Products */, 125 | ); 126 | sourceTree = ""; 127 | }; 128 | D0ACB0DC18596BB600A092B4 /* Products */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | D0ACB0DB18596BB600A092B4 /* RSTransitionEffectSample.app */, 132 | D0ACB0FC18596BB600A092B4 /* RSTransitionEffectSampleTests.xctest */, 133 | ); 134 | name = Products; 135 | sourceTree = ""; 136 | }; 137 | D0ACB0DD18596BB600A092B4 /* Frameworks */ = { 138 | isa = PBXGroup; 139 | children = ( 140 | D0ACB0DE18596BB600A092B4 /* Foundation.framework */, 141 | D0ACB0E018596BB600A092B4 /* CoreGraphics.framework */, 142 | D0ACB0E218596BB600A092B4 /* UIKit.framework */, 143 | D0ACB0FD18596BB600A092B4 /* XCTest.framework */, 144 | ); 145 | name = Frameworks; 146 | sourceTree = ""; 147 | }; 148 | D0ACB0E418596BB600A092B4 /* RSTransitionEffectSample */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | D0ACB11318596BF500A092B4 /* RSTransitionEffect */, 152 | D0ACB0ED18596BB600A092B4 /* RSAppDelegate.h */, 153 | D0ACB0EE18596BB600A092B4 /* RSAppDelegate.m */, 154 | D0ACB11D18596C4200A092B4 /* RSDetailViewController.h */, 155 | D0ACB11E18596C4200A092B4 /* RSDetailViewController.m */, 156 | D0ACB11F18596C4200A092B4 /* RSTableViewController.h */, 157 | D0ACB12018596C4200A092B4 /* RSTableViewController.m */, 158 | D0ACB0F018596BB600A092B4 /* Main.storyboard */, 159 | D0ACB0F618596BB600A092B4 /* Images.xcassets */, 160 | D0ACB0E518596BB600A092B4 /* Supporting Files */, 161 | ); 162 | path = RSTransitionEffectSample; 163 | sourceTree = ""; 164 | }; 165 | D0ACB0E518596BB600A092B4 /* Supporting Files */ = { 166 | isa = PBXGroup; 167 | children = ( 168 | D0ACB12518596D6200A092B4 /* Images */, 169 | D0ACB12318596C8400A092B4 /* SampleData.plist */, 170 | D0ACB0E618596BB600A092B4 /* RSTransitionEffectSample-Info.plist */, 171 | D0ACB0E718596BB600A092B4 /* InfoPlist.strings */, 172 | D0ACB0EA18596BB600A092B4 /* main.m */, 173 | D0ACB0EC18596BB600A092B4 /* RSTransitionEffectSample-Prefix.pch */, 174 | ); 175 | name = "Supporting Files"; 176 | sourceTree = ""; 177 | }; 178 | D0ACB10318596BB600A092B4 /* RSTransitionEffectSampleTests */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | D0ACB10918596BB600A092B4 /* RSTransitionEffectSampleTests.m */, 182 | D0ACB10418596BB600A092B4 /* Supporting Files */, 183 | ); 184 | path = RSTransitionEffectSampleTests; 185 | sourceTree = ""; 186 | }; 187 | D0ACB10418596BB600A092B4 /* Supporting Files */ = { 188 | isa = PBXGroup; 189 | children = ( 190 | D0ACB10518596BB600A092B4 /* RSTransitionEffectSampleTests-Info.plist */, 191 | D0ACB10618596BB600A092B4 /* InfoPlist.strings */, 192 | ); 193 | name = "Supporting Files"; 194 | sourceTree = ""; 195 | }; 196 | D0ACB11318596BF500A092B4 /* RSTransitionEffect */ = { 197 | isa = PBXGroup; 198 | children = ( 199 | D0ACB11418596BF500A092B4 /* RSBasicItem.h */, 200 | D0ACB11518596BF500A092B4 /* RSBasicItem.m */, 201 | D0ACB11618596BF500A092B4 /* RSTransitionEffectViewController.h */, 202 | D0ACB11718596BF500A092B4 /* RSTransitionEffectViewController.m */, 203 | D0ACB11818596BF500A092B4 /* UITableView+Frames.h */, 204 | D0ACB11918596BF500A092B4 /* UITableView+Frames.m */, 205 | ); 206 | path = RSTransitionEffect; 207 | sourceTree = SOURCE_ROOT; 208 | }; 209 | D0ACB12518596D6200A092B4 /* Images */ = { 210 | isa = PBXGroup; 211 | children = ( 212 | D0ACB12618596D6200A092B4 /* images-1.jpeg */, 213 | D0ACB12718596D6200A092B4 /* images-10.jpeg */, 214 | D0ACB12818596D6200A092B4 /* images-2.jpeg */, 215 | D0ACB12918596D6200A092B4 /* images-3.jpeg */, 216 | D0ACB12A18596D6200A092B4 /* images-4.jpeg */, 217 | D0ACB12B18596D6200A092B4 /* images-5.jpeg */, 218 | D0ACB12C18596D6200A092B4 /* images-6.jpeg */, 219 | D0ACB12D18596D6200A092B4 /* images-7.jpeg */, 220 | D0ACB12E18596D6200A092B4 /* images-8.jpeg */, 221 | D0ACB12F18596D6200A092B4 /* images-9.jpeg */, 222 | D0ACB13018596D6200A092B4 /* temp.png */, 223 | ); 224 | path = Images; 225 | sourceTree = ""; 226 | }; 227 | /* End PBXGroup section */ 228 | 229 | /* Begin PBXNativeTarget section */ 230 | D0ACB0DA18596BB600A092B4 /* RSTransitionEffectSample */ = { 231 | isa = PBXNativeTarget; 232 | buildConfigurationList = D0ACB10D18596BB600A092B4 /* Build configuration list for PBXNativeTarget "RSTransitionEffectSample" */; 233 | buildPhases = ( 234 | D0ACB0D718596BB600A092B4 /* Sources */, 235 | D0ACB0D818596BB600A092B4 /* Frameworks */, 236 | D0ACB0D918596BB600A092B4 /* Resources */, 237 | ); 238 | buildRules = ( 239 | ); 240 | dependencies = ( 241 | ); 242 | name = RSTransitionEffectSample; 243 | productName = RSTransitionEffectSample; 244 | productReference = D0ACB0DB18596BB600A092B4 /* RSTransitionEffectSample.app */; 245 | productType = "com.apple.product-type.application"; 246 | }; 247 | D0ACB0FB18596BB600A092B4 /* RSTransitionEffectSampleTests */ = { 248 | isa = PBXNativeTarget; 249 | buildConfigurationList = D0ACB11018596BB600A092B4 /* Build configuration list for PBXNativeTarget "RSTransitionEffectSampleTests" */; 250 | buildPhases = ( 251 | D0ACB0F818596BB600A092B4 /* Sources */, 252 | D0ACB0F918596BB600A092B4 /* Frameworks */, 253 | D0ACB0FA18596BB600A092B4 /* Resources */, 254 | ); 255 | buildRules = ( 256 | ); 257 | dependencies = ( 258 | D0ACB10218596BB600A092B4 /* PBXTargetDependency */, 259 | ); 260 | name = RSTransitionEffectSampleTests; 261 | productName = RSTransitionEffectSampleTests; 262 | productReference = D0ACB0FC18596BB600A092B4 /* RSTransitionEffectSampleTests.xctest */; 263 | productType = "com.apple.product-type.bundle.unit-test"; 264 | }; 265 | /* End PBXNativeTarget section */ 266 | 267 | /* Begin PBXProject section */ 268 | D0ACB0D318596BB600A092B4 /* Project object */ = { 269 | isa = PBXProject; 270 | attributes = { 271 | CLASSPREFIX = RS; 272 | LastUpgradeCheck = 0500; 273 | ORGANIZATIONNAME = P.D.Q.; 274 | TargetAttributes = { 275 | D0ACB0FB18596BB600A092B4 = { 276 | TestTargetID = D0ACB0DA18596BB600A092B4; 277 | }; 278 | }; 279 | }; 280 | buildConfigurationList = D0ACB0D618596BB600A092B4 /* Build configuration list for PBXProject "RSTransitionEffectSample" */; 281 | compatibilityVersion = "Xcode 3.2"; 282 | developmentRegion = English; 283 | hasScannedForEncodings = 0; 284 | knownRegions = ( 285 | en, 286 | Base, 287 | ); 288 | mainGroup = D0ACB0D218596BB600A092B4; 289 | productRefGroup = D0ACB0DC18596BB600A092B4 /* Products */; 290 | projectDirPath = ""; 291 | projectRoot = ""; 292 | targets = ( 293 | D0ACB0DA18596BB600A092B4 /* RSTransitionEffectSample */, 294 | D0ACB0FB18596BB600A092B4 /* RSTransitionEffectSampleTests */, 295 | ); 296 | }; 297 | /* End PBXProject section */ 298 | 299 | /* Begin PBXResourcesBuildPhase section */ 300 | D0ACB0D918596BB600A092B4 /* Resources */ = { 301 | isa = PBXResourcesBuildPhase; 302 | buildActionMask = 2147483647; 303 | files = ( 304 | D0ACB13318596D6200A092B4 /* images-2.jpeg in Resources */, 305 | D0ACB13518596D6200A092B4 /* images-4.jpeg in Resources */, 306 | D0ACB0F718596BB600A092B4 /* Images.xcassets in Resources */, 307 | D0ACB0E918596BB600A092B4 /* InfoPlist.strings in Resources */, 308 | D0ACB13218596D6200A092B4 /* images-10.jpeg in Resources */, 309 | D0ACB12418596C8400A092B4 /* SampleData.plist in Resources */, 310 | D0ACB0F218596BB600A092B4 /* Main.storyboard in Resources */, 311 | D0ACB13A18596D6200A092B4 /* images-9.jpeg in Resources */, 312 | D0ACB13918596D6200A092B4 /* images-8.jpeg in Resources */, 313 | D0ACB13818596D6200A092B4 /* images-7.jpeg in Resources */, 314 | D0ACB13718596D6200A092B4 /* images-6.jpeg in Resources */, 315 | D0ACB13B18596D6200A092B4 /* temp.png in Resources */, 316 | D0ACB13118596D6200A092B4 /* images-1.jpeg in Resources */, 317 | D0ACB13418596D6200A092B4 /* images-3.jpeg in Resources */, 318 | D0ACB13618596D6200A092B4 /* images-5.jpeg in Resources */, 319 | ); 320 | runOnlyForDeploymentPostprocessing = 0; 321 | }; 322 | D0ACB0FA18596BB600A092B4 /* Resources */ = { 323 | isa = PBXResourcesBuildPhase; 324 | buildActionMask = 2147483647; 325 | files = ( 326 | D0ACB10818596BB600A092B4 /* InfoPlist.strings in Resources */, 327 | ); 328 | runOnlyForDeploymentPostprocessing = 0; 329 | }; 330 | /* End PBXResourcesBuildPhase section */ 331 | 332 | /* Begin PBXSourcesBuildPhase section */ 333 | D0ACB0D718596BB600A092B4 /* Sources */ = { 334 | isa = PBXSourcesBuildPhase; 335 | buildActionMask = 2147483647; 336 | files = ( 337 | D0ACB12218596C4200A092B4 /* RSTableViewController.m in Sources */, 338 | D0ACB12118596C4200A092B4 /* RSDetailViewController.m in Sources */, 339 | D0ACB11B18596BF500A092B4 /* RSTransitionEffectViewController.m in Sources */, 340 | D0ACB11C18596BF500A092B4 /* UITableView+Frames.m in Sources */, 341 | D0ACB0EB18596BB600A092B4 /* main.m in Sources */, 342 | D0ACB0EF18596BB600A092B4 /* RSAppDelegate.m in Sources */, 343 | D0ACB11A18596BF500A092B4 /* RSBasicItem.m in Sources */, 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | }; 347 | D0ACB0F818596BB600A092B4 /* Sources */ = { 348 | isa = PBXSourcesBuildPhase; 349 | buildActionMask = 2147483647; 350 | files = ( 351 | D0ACB10A18596BB600A092B4 /* RSTransitionEffectSampleTests.m in Sources */, 352 | ); 353 | runOnlyForDeploymentPostprocessing = 0; 354 | }; 355 | /* End PBXSourcesBuildPhase section */ 356 | 357 | /* Begin PBXTargetDependency section */ 358 | D0ACB10218596BB600A092B4 /* PBXTargetDependency */ = { 359 | isa = PBXTargetDependency; 360 | target = D0ACB0DA18596BB600A092B4 /* RSTransitionEffectSample */; 361 | targetProxy = D0ACB10118596BB600A092B4 /* PBXContainerItemProxy */; 362 | }; 363 | /* End PBXTargetDependency section */ 364 | 365 | /* Begin PBXVariantGroup section */ 366 | D0ACB0E718596BB600A092B4 /* InfoPlist.strings */ = { 367 | isa = PBXVariantGroup; 368 | children = ( 369 | D0ACB0E818596BB600A092B4 /* en */, 370 | ); 371 | name = InfoPlist.strings; 372 | sourceTree = ""; 373 | }; 374 | D0ACB0F018596BB600A092B4 /* Main.storyboard */ = { 375 | isa = PBXVariantGroup; 376 | children = ( 377 | D0ACB0F118596BB600A092B4 /* Base */, 378 | ); 379 | name = Main.storyboard; 380 | sourceTree = ""; 381 | }; 382 | D0ACB10618596BB600A092B4 /* InfoPlist.strings */ = { 383 | isa = PBXVariantGroup; 384 | children = ( 385 | D0ACB10718596BB600A092B4 /* en */, 386 | ); 387 | name = InfoPlist.strings; 388 | sourceTree = ""; 389 | }; 390 | /* End PBXVariantGroup section */ 391 | 392 | /* Begin XCBuildConfiguration section */ 393 | D0ACB10B18596BB600A092B4 /* Debug */ = { 394 | isa = XCBuildConfiguration; 395 | buildSettings = { 396 | ALWAYS_SEARCH_USER_PATHS = NO; 397 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 398 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 399 | CLANG_CXX_LIBRARY = "libc++"; 400 | CLANG_ENABLE_MODULES = YES; 401 | CLANG_ENABLE_OBJC_ARC = YES; 402 | CLANG_WARN_BOOL_CONVERSION = YES; 403 | CLANG_WARN_CONSTANT_CONVERSION = YES; 404 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 405 | CLANG_WARN_EMPTY_BODY = YES; 406 | CLANG_WARN_ENUM_CONVERSION = YES; 407 | CLANG_WARN_INT_CONVERSION = YES; 408 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 409 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 410 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 411 | COPY_PHASE_STRIP = NO; 412 | GCC_C_LANGUAGE_STANDARD = gnu99; 413 | GCC_DYNAMIC_NO_PIC = NO; 414 | GCC_OPTIMIZATION_LEVEL = 0; 415 | GCC_PREPROCESSOR_DEFINITIONS = ( 416 | "DEBUG=1", 417 | "$(inherited)", 418 | ); 419 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 422 | GCC_WARN_UNDECLARED_SELECTOR = YES; 423 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 424 | GCC_WARN_UNUSED_FUNCTION = YES; 425 | GCC_WARN_UNUSED_VARIABLE = YES; 426 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 427 | ONLY_ACTIVE_ARCH = YES; 428 | SDKROOT = iphoneos; 429 | }; 430 | name = Debug; 431 | }; 432 | D0ACB10C18596BB600A092B4 /* Release */ = { 433 | isa = XCBuildConfiguration; 434 | buildSettings = { 435 | ALWAYS_SEARCH_USER_PATHS = NO; 436 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 437 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 438 | CLANG_CXX_LIBRARY = "libc++"; 439 | CLANG_ENABLE_MODULES = YES; 440 | CLANG_ENABLE_OBJC_ARC = YES; 441 | CLANG_WARN_BOOL_CONVERSION = YES; 442 | CLANG_WARN_CONSTANT_CONVERSION = YES; 443 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 444 | CLANG_WARN_EMPTY_BODY = YES; 445 | CLANG_WARN_ENUM_CONVERSION = YES; 446 | CLANG_WARN_INT_CONVERSION = YES; 447 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 448 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 449 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 450 | COPY_PHASE_STRIP = YES; 451 | ENABLE_NS_ASSERTIONS = NO; 452 | GCC_C_LANGUAGE_STANDARD = gnu99; 453 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 454 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 455 | GCC_WARN_UNDECLARED_SELECTOR = YES; 456 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 457 | GCC_WARN_UNUSED_FUNCTION = YES; 458 | GCC_WARN_UNUSED_VARIABLE = YES; 459 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 460 | SDKROOT = iphoneos; 461 | VALIDATE_PRODUCT = YES; 462 | }; 463 | name = Release; 464 | }; 465 | D0ACB10E18596BB600A092B4 /* Debug */ = { 466 | isa = XCBuildConfiguration; 467 | buildSettings = { 468 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 469 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 470 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 471 | GCC_PREFIX_HEADER = "RSTransitionEffectSample/RSTransitionEffectSample-Prefix.pch"; 472 | INFOPLIST_FILE = "RSTransitionEffectSample/RSTransitionEffectSample-Info.plist"; 473 | PRODUCT_NAME = "$(TARGET_NAME)"; 474 | WRAPPER_EXTENSION = app; 475 | }; 476 | name = Debug; 477 | }; 478 | D0ACB10F18596BB600A092B4 /* Release */ = { 479 | isa = XCBuildConfiguration; 480 | buildSettings = { 481 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 482 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 483 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 484 | GCC_PREFIX_HEADER = "RSTransitionEffectSample/RSTransitionEffectSample-Prefix.pch"; 485 | INFOPLIST_FILE = "RSTransitionEffectSample/RSTransitionEffectSample-Info.plist"; 486 | PRODUCT_NAME = "$(TARGET_NAME)"; 487 | WRAPPER_EXTENSION = app; 488 | }; 489 | name = Release; 490 | }; 491 | D0ACB11118596BB600A092B4 /* Debug */ = { 492 | isa = XCBuildConfiguration; 493 | buildSettings = { 494 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 495 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/RSTransitionEffectSample.app/RSTransitionEffectSample"; 496 | FRAMEWORK_SEARCH_PATHS = ( 497 | "$(SDKROOT)/Developer/Library/Frameworks", 498 | "$(inherited)", 499 | "$(DEVELOPER_FRAMEWORKS_DIR)", 500 | ); 501 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 502 | GCC_PREFIX_HEADER = "RSTransitionEffectSample/RSTransitionEffectSample-Prefix.pch"; 503 | GCC_PREPROCESSOR_DEFINITIONS = ( 504 | "DEBUG=1", 505 | "$(inherited)", 506 | ); 507 | INFOPLIST_FILE = "RSTransitionEffectSampleTests/RSTransitionEffectSampleTests-Info.plist"; 508 | PRODUCT_NAME = "$(TARGET_NAME)"; 509 | TEST_HOST = "$(BUNDLE_LOADER)"; 510 | WRAPPER_EXTENSION = xctest; 511 | }; 512 | name = Debug; 513 | }; 514 | D0ACB11218596BB600A092B4 /* Release */ = { 515 | isa = XCBuildConfiguration; 516 | buildSettings = { 517 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 518 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/RSTransitionEffectSample.app/RSTransitionEffectSample"; 519 | FRAMEWORK_SEARCH_PATHS = ( 520 | "$(SDKROOT)/Developer/Library/Frameworks", 521 | "$(inherited)", 522 | "$(DEVELOPER_FRAMEWORKS_DIR)", 523 | ); 524 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 525 | GCC_PREFIX_HEADER = "RSTransitionEffectSample/RSTransitionEffectSample-Prefix.pch"; 526 | INFOPLIST_FILE = "RSTransitionEffectSampleTests/RSTransitionEffectSampleTests-Info.plist"; 527 | PRODUCT_NAME = "$(TARGET_NAME)"; 528 | TEST_HOST = "$(BUNDLE_LOADER)"; 529 | WRAPPER_EXTENSION = xctest; 530 | }; 531 | name = Release; 532 | }; 533 | /* End XCBuildConfiguration section */ 534 | 535 | /* Begin XCConfigurationList section */ 536 | D0ACB0D618596BB600A092B4 /* Build configuration list for PBXProject "RSTransitionEffectSample" */ = { 537 | isa = XCConfigurationList; 538 | buildConfigurations = ( 539 | D0ACB10B18596BB600A092B4 /* Debug */, 540 | D0ACB10C18596BB600A092B4 /* Release */, 541 | ); 542 | defaultConfigurationIsVisible = 0; 543 | defaultConfigurationName = Release; 544 | }; 545 | D0ACB10D18596BB600A092B4 /* Build configuration list for PBXNativeTarget "RSTransitionEffectSample" */ = { 546 | isa = XCConfigurationList; 547 | buildConfigurations = ( 548 | D0ACB10E18596BB600A092B4 /* Debug */, 549 | D0ACB10F18596BB600A092B4 /* Release */, 550 | ); 551 | defaultConfigurationIsVisible = 0; 552 | }; 553 | D0ACB11018596BB600A092B4 /* Build configuration list for PBXNativeTarget "RSTransitionEffectSampleTests" */ = { 554 | isa = XCConfigurationList; 555 | buildConfigurations = ( 556 | D0ACB11118596BB600A092B4 /* Debug */, 557 | D0ACB11218596BB600A092B4 /* Release */, 558 | ); 559 | defaultConfigurationIsVisible = 0; 560 | }; 561 | /* End XCConfigurationList section */ 562 | }; 563 | rootObject = D0ACB0D318596BB600A092B4 /* Project object */; 564 | } 565 | -------------------------------------------------------------------------------- /RSTransitionEffectSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /RSTransitionEffectSample.xcodeproj/xcuserdata/R0CKSTAR.xcuserdatad/xcschemes/RSTransitionEffectSample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 91 | 92 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /RSTransitionEffectSample.xcodeproj/xcuserdata/R0CKSTAR.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | RSTransitionEffectSample.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | D0ACB0DA18596BB600A092B4 16 | 17 | primary 18 | 19 | 20 | D0ACB0FB18596BB600A092B4 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/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 | 31 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 84 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images.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" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-1.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-10.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-10.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-2.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-3.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-4.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-5.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-6.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-6.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-7.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-7.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-8.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-8.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/images-9.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/images-9.jpeg -------------------------------------------------------------------------------- /RSTransitionEffectSample/Images/temp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/RSTransitionEffectSample/Images/temp.png -------------------------------------------------------------------------------- /RSTransitionEffectSample/RSAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // RSAppDelegate.h 3 | // RSTransitionEffectSample 4 | // 5 | // Created by R0CKSTAR on 12/12/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RSAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/RSAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // RSAppDelegate.m 3 | // RSTransitionEffectSample 4 | // 5 | // Created by R0CKSTAR on 12/12/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import "RSAppDelegate.h" 10 | 11 | @implementation RSAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // 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. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // 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. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // 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. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 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 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/RSDetailViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RSDetailViewController.h 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/11/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import "RSTransitionEffectViewController.h" 10 | 11 | @interface RSDetailViewController : RSTransitionEffectViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/RSDetailViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // RSDetailViewController.m 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/11/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import "RSDetailViewController.h" 10 | 11 | @interface RSDetailViewController () 12 | 13 | @end 14 | 15 | @implementation RSDetailViewController 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/RSTableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RSTableViewController.h 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/11/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RSTableViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/RSTableViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // RSTableViewController.m 3 | // RSTransitionEffect 4 | // 5 | // Created by R0CKSTAR on 12/11/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import "RSTableViewController.h" 10 | 11 | #import "UITableView+Frames.h" 12 | 13 | #import "RSDetailViewController.h" 14 | 15 | #import "RSBasicItem.h" 16 | 17 | @interface RSTableViewController () 18 | 19 | @property (nonatomic, strong) NSMutableArray *items; 20 | 21 | @end 22 | 23 | @implementation RSTableViewController 24 | 25 | - (NSMutableArray *)items 26 | { 27 | if (!_items) { 28 | _items = [[NSMutableArray alloc] init]; 29 | } 30 | return _items; 31 | } 32 | 33 | - (void)viewDidLoad 34 | { 35 | [super viewDidLoad]; 36 | 37 | @autoreleasepool { 38 | NSString *path = [[NSBundle mainBundle] pathForResource:@"SampleData" ofType:@"plist"]; 39 | NSArray *items = [[[NSDictionary alloc] initWithContentsOfFile:path] objectForKey:@"Data"]; 40 | for (NSDictionary *dict in items) { 41 | RSBasicItem *item = [[RSBasicItem alloc] init]; 42 | item.image = [UIImage imageNamed:[dict objectForKey:@"Image"]]; 43 | item.text = [dict objectForKey:@"Place"]; 44 | item.detailText = [dict objectForKey:@"Country"]; 45 | [self.items addObject:item]; 46 | } 47 | } 48 | } 49 | 50 | #pragma mark - Table view data source 51 | 52 | - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView 53 | { 54 | return 1; 55 | } 56 | 57 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 58 | { 59 | return 10; 60 | } 61 | 62 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 63 | { 64 | static NSString *CellIdentifier = @"Cell"; 65 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath]; 66 | 67 | // Configure the cell... 68 | RSBasicItem *item = [self.items objectAtIndex:[indexPath row]]; 69 | cell.imageView.image = item.image; 70 | cell.textLabel.text = item.text; 71 | cell.detailTextLabel.text = item.detailText; 72 | 73 | return cell; 74 | } 75 | 76 | #pragma mark - Table view delegate 77 | 78 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 79 | { 80 | [tableView deselectRowAtIndexPath:indexPath animated:YES]; 81 | 82 | RSDetailViewController *viewController = [self.storyboard instantiateViewControllerWithIdentifier:@"detail"]; 83 | viewController.sourceFrames = [tableView framesForRowAtIndexPath:indexPath]; 84 | viewController.item = [self.items objectAtIndex:[indexPath row]]; 85 | viewController.animationDuration = 0.8f; 86 | [self.navigationController pushViewController:viewController animated:NO]; 87 | } 88 | 89 | @end 90 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/RSTransitionEffectSample-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | com.pdq.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/RSTransitionEffectSample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/SampleData.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Data 6 | 7 | 8 | Image 9 | images-1.jpeg 10 | Place 11 | Barcelona 12 | Country 13 | Spain 14 | 15 | 16 | Image 17 | images-2.jpeg 18 | Place 19 | Cape Town 20 | Country 21 | South Africa 22 | 23 | 24 | Image 25 | images-3.jpeg 26 | Place 27 | Delhi 28 | Country 29 | India 30 | 31 | 32 | Image 33 | images-4.jpeg 34 | Place 35 | Berlin 36 | Country 37 | Germany 38 | 39 | 40 | Image 41 | images-5.jpeg 42 | Place 43 | Athens 44 | Country 45 | Greece 46 | 47 | 48 | Image 49 | images-6.jpeg 50 | Place 51 | Dublin 52 | Country 53 | Ireland 54 | 55 | 56 | Image 57 | images-7.jpeg 58 | Place 59 | Amsterdam 60 | Country 61 | Netherlands 62 | 63 | 64 | Image 65 | images-8.jpeg 66 | Place 67 | Zurich 68 | Country 69 | Switzerland 70 | 71 | 72 | Image 73 | images-9.jpeg 74 | Place 75 | Prague 76 | Country 77 | Czech Republic 78 | 79 | 80 | Image 81 | images-10.jpeg 82 | Place 83 | Paris 84 | Country 85 | France 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /RSTransitionEffectSample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // RSTransitionEffectSample 4 | // 5 | // Created by R0CKSTAR on 12/12/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "RSAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([RSAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /RSTransitionEffectSampleTests/RSTransitionEffectSampleTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.pdq.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /RSTransitionEffectSampleTests/RSTransitionEffectSampleTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // RSTransitionEffectSampleTests.m 3 | // RSTransitionEffectSampleTests 4 | // 5 | // Created by R0CKSTAR on 12/12/13. 6 | // Copyright (c) 2013 P.D.Q. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RSTransitionEffectSampleTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation RSTransitionEffectSampleTests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /RSTransitionEffectSampleTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeahdongcn/RSTransitionEffect/012294fb8300f821dfe469109a4858e69dac82d9/sample.gif --------------------------------------------------------------------------------