├── Classes ├── AppDelegate.h ├── AppDelegate.m ├── ViewController.h └── ViewController.m ├── LICENSE.txt ├── LaunchImageTransition-Info.plist ├── LaunchImageTransition.h ├── LaunchImageTransition.m ├── LaunchImageTransition.xcodeproj └── project.pbxproj ├── LaunchImageTransition_Prefix.pch ├── README.txt ├── Resources ├── Default.png ├── Default@2x.png ├── MainWindow.xib └── ViewController.xib └── main.m /Classes/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // Created by http://github.com/iosdeveloper 4 | // 5 | 6 | #import 7 | 8 | @class ViewController; 9 | 10 | @interface AppDelegate : NSObject { 11 | UIWindow *window; 12 | ViewController *viewController; 13 | } 14 | 15 | @property (nonatomic, retain) IBOutlet UIWindow *window; 16 | @property (nonatomic, retain) IBOutlet ViewController *viewController; 17 | 18 | @end -------------------------------------------------------------------------------- /Classes/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // Created by http://github.com/iosdeveloper 4 | // 5 | 6 | #import "AppDelegate.h" 7 | #import "ViewController.h" 8 | #import "LaunchImageTransition.h" 9 | 10 | @implementation AppDelegate 11 | 12 | @synthesize window; 13 | @synthesize viewController; 14 | 15 | #pragma mark - 16 | #pragma mark Application lifecycle 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | //self.window.rootViewController = [[[LaunchImageTransition alloc] initWithViewController:self.viewController animation:UIModalTransitionStyleFlipHorizontal] autorelease]; 20 | self.window.rootViewController = [[[LaunchImageTransition alloc] initWithViewController:self.viewController animation:UIModalTransitionStyleCrossDissolve] autorelease]; 21 | //self.window.rootViewController = [[[LaunchImageTransition alloc] initWithViewController:self.viewController animation:UIModalTransitionStyleFlipHorizontal delay:1.0] autorelease]; 22 | //self.window.rootViewController = [[[LaunchImageTransition alloc] initWithViewController:self.viewController animation:UIModalTransitionStyleCrossDissolve delay:1.0] autorelease]; 23 | [self.window makeKeyAndVisible]; 24 | 25 | return YES; 26 | } 27 | 28 | #pragma mark - 29 | #pragma mark Memory management 30 | 31 | - (void)dealloc { 32 | [viewController release]; 33 | [window release]; 34 | 35 | [super dealloc]; 36 | } 37 | 38 | @end -------------------------------------------------------------------------------- /Classes/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // Created by http://github.com/iosdeveloper 4 | // 5 | 6 | #import 7 | 8 | @interface ViewController : UIViewController { 9 | 10 | } 11 | 12 | @end -------------------------------------------------------------------------------- /Classes/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // Created by http://github.com/iosdeveloper 4 | // 5 | 6 | #import "ViewController.h" 7 | 8 | @implementation ViewController 9 | 10 | @end -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | As always, all my source code can be used royalty-free into your app. Just make sure that you don’t remove the copyright notice from the source code if you make your app open source. You don’t have to attribute me in your app, although I would be glad if you do so. -------------------------------------------------------------------------------- /LaunchImageTransition-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | de.max-baeumle.launchimagetransition 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | NSMainNibFile 28 | MainWindow 29 | 30 | 31 | -------------------------------------------------------------------------------- /LaunchImageTransition.h: -------------------------------------------------------------------------------- 1 | // 2 | // LaunchImageTransition.h 3 | // Created by http://github.com/iosdeveloper 4 | // 5 | 6 | #import 7 | 8 | @interface LaunchImageTransition : UIViewController { 9 | 10 | } 11 | 12 | - (id)initWithViewController:(UIViewController *)controller animation:(UIModalTransitionStyle)transition; 13 | - (id)initWithViewController:(UIViewController *)controller animation:(UIModalTransitionStyle)transition delay:(NSTimeInterval)seconds; 14 | 15 | @end -------------------------------------------------------------------------------- /LaunchImageTransition.m: -------------------------------------------------------------------------------- 1 | // 2 | // LaunchImageTransition.m 3 | // Created by http://github.com/iosdeveloper 4 | // 5 | 6 | #import "LaunchImageTransition.h" 7 | 8 | @implementation LaunchImageTransition 9 | 10 | - (id)initWithViewController:(UIViewController *)controller animation:(UIModalTransitionStyle)transition { 11 | return [self initWithViewController:controller animation:transition delay:0.0]; 12 | } 13 | 14 | - (id)initWithViewController:(UIViewController *)controller animation:(UIModalTransitionStyle)transition delay:(NSTimeInterval)seconds { 15 | self = [super init]; 16 | 17 | if (self) { 18 | NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; 19 | 20 | NSString *launchImageFile = [infoDictionary objectForKey:@"UILaunchImageFile"]; 21 | 22 | NSString *launchImageFileiPhone = [infoDictionary objectForKey:@"UILaunchImageFile~iphone"]; 23 | 24 | if (launchImageFile != nil) { 25 | [self.view addSubview:[[[UIImageView alloc] initWithImage:[UIImage imageNamed:launchImageFile]] autorelease]]; 26 | } else if (launchImageFileiPhone != nil) { 27 | [self.view addSubview:[[[UIImageView alloc] initWithImage:[UIImage imageNamed:launchImageFileiPhone]] autorelease]]; 28 | } else { 29 | [self.view addSubview:[[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Default.png"]] autorelease]]; 30 | } 31 | 32 | [controller setModalTransitionStyle:transition]; 33 | 34 | [NSTimer scheduledTimerWithTimeInterval:seconds target:self selector:@selector(timerFireMethod:) userInfo:controller repeats:NO]; 35 | } 36 | 37 | return self; 38 | } 39 | 40 | - (void)timerFireMethod:(NSTimer *)theTimer { 41 | [self presentModalViewController:[theTimer userInfo] animated:YES]; 42 | } 43 | 44 | @end -------------------------------------------------------------------------------- /LaunchImageTransition.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1D3623260D0F684500981E51 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* AppDelegate.m */; }; 11 | 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; }; 12 | 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; 13 | 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; 14 | 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; }; 15 | 2899E5220DE3E06400AC0155 /* ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2899E5210DE3E06400AC0155 /* ViewController.xib */; }; 16 | 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; }; 17 | 28D7ACF80DDB3853001CB0EB /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* ViewController.m */; }; 18 | 36DB9EAD13DD65D00099A6CB /* LaunchImageTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = 36DB9EAC13DD65D00099A6CB /* LaunchImageTransition.m */; }; 19 | 36DB9EDC13DD6CD30099A6CB /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 36DB9EDA13DD6CD30099A6CB /* Default.png */; }; 20 | 36DB9EDD13DD6CD30099A6CB /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 36DB9EDB13DD6CD30099A6CB /* Default@2x.png */; }; 21 | 36DB9F2713DD75090099A6CB /* LICENSE.txt in Resources */ = {isa = PBXBuildFile; fileRef = 36DB9F2513DD75090099A6CB /* LICENSE.txt */; }; 22 | 36DB9F2813DD75090099A6CB /* README.txt in Resources */ = {isa = PBXBuildFile; fileRef = 36DB9F2613DD75090099A6CB /* README.txt */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXFileReference section */ 26 | 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 27 | 1D3623240D0F684500981E51 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 28 | 1D3623250D0F684500981E51 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 29 | 1D6058910D05DD3D006BFB54 /* LaunchImageTransition.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LaunchImageTransition.app; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 31 | 288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 32 | 2899E5210DE3E06400AC0155 /* ViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ViewController.xib; sourceTree = ""; }; 33 | 28AD733E0D9D9553002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = ""; }; 34 | 28D7ACF60DDB3853001CB0EB /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 35 | 28D7ACF70DDB3853001CB0EB /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 36 | 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 37 | 32CA4F630368D1EE00C91783 /* LaunchImageTransition_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LaunchImageTransition_Prefix.pch; sourceTree = ""; }; 38 | 36DB9EAB13DD65D00099A6CB /* LaunchImageTransition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LaunchImageTransition.h; sourceTree = ""; }; 39 | 36DB9EAC13DD65D00099A6CB /* LaunchImageTransition.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LaunchImageTransition.m; sourceTree = ""; }; 40 | 36DB9EDA13DD6CD30099A6CB /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; 41 | 36DB9EDB13DD6CD30099A6CB /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; 42 | 36DB9F2513DD75090099A6CB /* LICENSE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.txt; sourceTree = ""; }; 43 | 36DB9F2613DD75090099A6CB /* README.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.txt; sourceTree = ""; }; 44 | 8D1107310486CEB800E47090 /* LaunchImageTransition-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "LaunchImageTransition-Info.plist"; path = "../LaunchImageTransition-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; 45 | /* End PBXFileReference section */ 46 | 47 | /* Begin PBXFrameworksBuildPhase section */ 48 | 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { 49 | isa = PBXFrameworksBuildPhase; 50 | buildActionMask = 2147483647; 51 | files = ( 52 | 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, 53 | 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, 54 | 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */, 55 | ); 56 | runOnlyForDeploymentPostprocessing = 0; 57 | }; 58 | /* End PBXFrameworksBuildPhase section */ 59 | 60 | /* Begin PBXGroup section */ 61 | 080E96DDFE201D6D7F000001 /* Classes */ = { 62 | isa = PBXGroup; 63 | children = ( 64 | 36DB9EAE13DD65FA0099A6CB /* LaunchImageTransition */, 65 | 1D3623240D0F684500981E51 /* AppDelegate.h */, 66 | 1D3623250D0F684500981E51 /* AppDelegate.m */, 67 | 28D7ACF60DDB3853001CB0EB /* ViewController.h */, 68 | 28D7ACF70DDB3853001CB0EB /* ViewController.m */, 69 | ); 70 | path = Classes; 71 | sourceTree = ""; 72 | }; 73 | 19C28FACFE9D520D11CA2CBB /* Products */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 1D6058910D05DD3D006BFB54 /* LaunchImageTransition.app */, 77 | ); 78 | name = Products; 79 | sourceTree = ""; 80 | }; 81 | 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | 36DB9F2513DD75090099A6CB /* LICENSE.txt */, 85 | 36DB9F2613DD75090099A6CB /* README.txt */, 86 | 080E96DDFE201D6D7F000001 /* Classes */, 87 | 29B97315FDCFA39411CA2CEA /* Other Sources */, 88 | 29B97317FDCFA39411CA2CEA /* Resources */, 89 | 29B97323FDCFA39411CA2CEA /* Frameworks */, 90 | 19C28FACFE9D520D11CA2CBB /* Products */, 91 | ); 92 | name = CustomTemplate; 93 | sourceTree = ""; 94 | }; 95 | 29B97315FDCFA39411CA2CEA /* Other Sources */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 32CA4F630368D1EE00C91783 /* LaunchImageTransition_Prefix.pch */, 99 | 29B97316FDCFA39411CA2CEA /* main.m */, 100 | ); 101 | name = "Other Sources"; 102 | sourceTree = ""; 103 | }; 104 | 29B97317FDCFA39411CA2CEA /* Resources */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 36DB9EDA13DD6CD30099A6CB /* Default.png */, 108 | 36DB9EDB13DD6CD30099A6CB /* Default@2x.png */, 109 | 8D1107310486CEB800E47090 /* LaunchImageTransition-Info.plist */, 110 | 28AD733E0D9D9553002E5188 /* MainWindow.xib */, 111 | 2899E5210DE3E06400AC0155 /* ViewController.xib */, 112 | ); 113 | path = Resources; 114 | sourceTree = ""; 115 | }; 116 | 29B97323FDCFA39411CA2CEA /* Frameworks */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, 120 | 1D30AB110D05D00D00671497 /* Foundation.framework */, 121 | 288765A40DF7441C002DB57D /* CoreGraphics.framework */, 122 | ); 123 | name = Frameworks; 124 | sourceTree = ""; 125 | }; 126 | 36DB9EAE13DD65FA0099A6CB /* LaunchImageTransition */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 36DB9EAB13DD65D00099A6CB /* LaunchImageTransition.h */, 130 | 36DB9EAC13DD65D00099A6CB /* LaunchImageTransition.m */, 131 | ); 132 | name = LaunchImageTransition; 133 | path = ..; 134 | sourceTree = ""; 135 | }; 136 | /* End PBXGroup section */ 137 | 138 | /* Begin PBXNativeTarget section */ 139 | 1D6058900D05DD3D006BFB54 /* LaunchImageTransition */ = { 140 | isa = PBXNativeTarget; 141 | buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "LaunchImageTransition" */; 142 | buildPhases = ( 143 | 1D60588D0D05DD3D006BFB54 /* Resources */, 144 | 1D60588E0D05DD3D006BFB54 /* Sources */, 145 | 1D60588F0D05DD3D006BFB54 /* Frameworks */, 146 | ); 147 | buildRules = ( 148 | ); 149 | dependencies = ( 150 | ); 151 | name = LaunchImageTransition; 152 | productName = LaunchImageTransition; 153 | productReference = 1D6058910D05DD3D006BFB54 /* LaunchImageTransition.app */; 154 | productType = "com.apple.product-type.application"; 155 | }; 156 | /* End PBXNativeTarget section */ 157 | 158 | /* Begin PBXProject section */ 159 | 29B97313FDCFA39411CA2CEA /* Project object */ = { 160 | isa = PBXProject; 161 | buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "LaunchImageTransition" */; 162 | compatibilityVersion = "Xcode 3.2"; 163 | developmentRegion = English; 164 | hasScannedForEncodings = 1; 165 | knownRegions = ( 166 | English, 167 | Japanese, 168 | French, 169 | German, 170 | ); 171 | mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; 172 | projectDirPath = ""; 173 | projectRoot = ""; 174 | targets = ( 175 | 1D6058900D05DD3D006BFB54 /* LaunchImageTransition */, 176 | ); 177 | }; 178 | /* End PBXProject section */ 179 | 180 | /* Begin PBXResourcesBuildPhase section */ 181 | 1D60588D0D05DD3D006BFB54 /* Resources */ = { 182 | isa = PBXResourcesBuildPhase; 183 | buildActionMask = 2147483647; 184 | files = ( 185 | 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */, 186 | 2899E5220DE3E06400AC0155 /* ViewController.xib in Resources */, 187 | 36DB9EDC13DD6CD30099A6CB /* Default.png in Resources */, 188 | 36DB9EDD13DD6CD30099A6CB /* Default@2x.png in Resources */, 189 | 36DB9F2713DD75090099A6CB /* LICENSE.txt in Resources */, 190 | 36DB9F2813DD75090099A6CB /* README.txt in Resources */, 191 | ); 192 | runOnlyForDeploymentPostprocessing = 0; 193 | }; 194 | /* End PBXResourcesBuildPhase section */ 195 | 196 | /* Begin PBXSourcesBuildPhase section */ 197 | 1D60588E0D05DD3D006BFB54 /* Sources */ = { 198 | isa = PBXSourcesBuildPhase; 199 | buildActionMask = 2147483647; 200 | files = ( 201 | 1D60589B0D05DD56006BFB54 /* main.m in Sources */, 202 | 1D3623260D0F684500981E51 /* AppDelegate.m in Sources */, 203 | 28D7ACF80DDB3853001CB0EB /* ViewController.m in Sources */, 204 | 36DB9EAD13DD65D00099A6CB /* LaunchImageTransition.m in Sources */, 205 | ); 206 | runOnlyForDeploymentPostprocessing = 0; 207 | }; 208 | /* End PBXSourcesBuildPhase section */ 209 | 210 | /* Begin XCBuildConfiguration section */ 211 | 1D6058940D05DD3E006BFB54 /* Debug */ = { 212 | isa = XCBuildConfiguration; 213 | buildSettings = { 214 | ALWAYS_SEARCH_USER_PATHS = NO; 215 | COPY_PHASE_STRIP = NO; 216 | GCC_DYNAMIC_NO_PIC = NO; 217 | GCC_OPTIMIZATION_LEVEL = 0; 218 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 219 | GCC_PREFIX_HEADER = LaunchImageTransition_Prefix.pch; 220 | INFOPLIST_FILE = "LaunchImageTransition-Info.plist"; 221 | PRODUCT_NAME = LaunchImageTransition; 222 | }; 223 | name = Debug; 224 | }; 225 | 1D6058950D05DD3E006BFB54 /* Release */ = { 226 | isa = XCBuildConfiguration; 227 | buildSettings = { 228 | ALWAYS_SEARCH_USER_PATHS = NO; 229 | COPY_PHASE_STRIP = YES; 230 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 231 | GCC_PREFIX_HEADER = LaunchImageTransition_Prefix.pch; 232 | INFOPLIST_FILE = "LaunchImageTransition-Info.plist"; 233 | PRODUCT_NAME = LaunchImageTransition; 234 | VALIDATE_PRODUCT = YES; 235 | }; 236 | name = Release; 237 | }; 238 | C01FCF4F08A954540054247B /* Debug */ = { 239 | isa = XCBuildConfiguration; 240 | buildSettings = { 241 | ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 242 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 243 | GCC_C_LANGUAGE_STANDARD = c99; 244 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 245 | GCC_WARN_UNUSED_VARIABLE = YES; 246 | PREBINDING = NO; 247 | SDKROOT = iphoneos; 248 | }; 249 | name = Debug; 250 | }; 251 | C01FCF5008A954540054247B /* Release */ = { 252 | isa = XCBuildConfiguration; 253 | buildSettings = { 254 | ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 255 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 256 | GCC_C_LANGUAGE_STANDARD = c99; 257 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 258 | GCC_WARN_UNUSED_VARIABLE = YES; 259 | OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; 260 | PREBINDING = NO; 261 | SDKROOT = iphoneos; 262 | }; 263 | name = Release; 264 | }; 265 | /* End XCBuildConfiguration section */ 266 | 267 | /* Begin XCConfigurationList section */ 268 | 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "LaunchImageTransition" */ = { 269 | isa = XCConfigurationList; 270 | buildConfigurations = ( 271 | 1D6058940D05DD3E006BFB54 /* Debug */, 272 | 1D6058950D05DD3E006BFB54 /* Release */, 273 | ); 274 | defaultConfigurationIsVisible = 0; 275 | defaultConfigurationName = Release; 276 | }; 277 | C01FCF4E08A954540054247B /* Build configuration list for PBXProject "LaunchImageTransition" */ = { 278 | isa = XCConfigurationList; 279 | buildConfigurations = ( 280 | C01FCF4F08A954540054247B /* Debug */, 281 | C01FCF5008A954540054247B /* Release */, 282 | ); 283 | defaultConfigurationIsVisible = 0; 284 | defaultConfigurationName = Release; 285 | }; 286 | /* End XCConfigurationList section */ 287 | }; 288 | rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; 289 | } 290 | -------------------------------------------------------------------------------- /LaunchImageTransition_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'LaunchImageTransition' target in the 'LaunchImageTransition' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #import 8 | #endif -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | Just copy both LaunchImageTransition.h and LaunchImageTransition.m to your project. 2 | 3 | Don't forget to #import LaunchImageTransition.h in your app delegate. 4 | 5 | Replace 6 | self.window.rootViewController = self.viewController; 7 | with 8 | self.window.rootViewController = [[[LaunchImageTransition alloc] initWithViewController:self.viewController animation:UIModalTransitionStyleCrossDissolve delay:1.0] autorelease]; 9 | 10 | Animation has to be one of the UIModalTransitionStyles, Delay is optional. 11 | 12 | Please take a look at the project for an example implementation. -------------------------------------------------------------------------------- /Resources/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iosdeveloper/LaunchImageTransition/14b7fd48f85b0fa89510b1fb77bba55af0a65305/Resources/Default.png -------------------------------------------------------------------------------- /Resources/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iosdeveloper/LaunchImageTransition/14b7fd48f85b0fa89510b1fb77bba55af0a65305/Resources/Default@2x.png -------------------------------------------------------------------------------- /Resources/MainWindow.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1056 5 | 10K540 6 | 851 7 | 1038.36 8 | 461.00 9 | 10 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 11 | 141 12 | 13 | 14 | YES 15 | 16 | 17 | 18 | YES 19 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 20 | 21 | 22 | YES 23 | 24 | YES 25 | 26 | 27 | YES 28 | 29 | 30 | 31 | YES 32 | 33 | IBFilesOwner 34 | IBCocoaTouchFramework 35 | 36 | 37 | IBFirstResponder 38 | IBCocoaTouchFramework 39 | 40 | 41 | IBCocoaTouchFramework 42 | 43 | 44 | ViewController 45 | 46 | 47 | 1 48 | 49 | IBCocoaTouchFramework 50 | NO 51 | 52 | 53 | 54 | 292 55 | {320, 480} 56 | 57 | 3 58 | MAA 59 | 60 | NO 61 | NO 62 | 63 | IBCocoaTouchFramework 64 | YES 65 | 66 | 67 | 68 | 69 | YES 70 | 71 | 72 | delegate 73 | 74 | 75 | 76 | 4 77 | 78 | 79 | 80 | viewController 81 | 82 | 83 | 84 | 11 85 | 86 | 87 | 88 | window 89 | 90 | 91 | 92 | 14 93 | 94 | 95 | 96 | 97 | YES 98 | 99 | 0 100 | 101 | 102 | 103 | 104 | 105 | -1 106 | 107 | 108 | File's Owner 109 | 110 | 111 | 3 112 | 113 | 114 | App Delegate 115 | 116 | 117 | -2 118 | 119 | 120 | 121 | 122 | 10 123 | 124 | 125 | 126 | 127 | 12 128 | 129 | 130 | 131 | 132 | 133 | 134 | YES 135 | 136 | YES 137 | -1.CustomClassName 138 | -2.CustomClassName 139 | 10.CustomClassName 140 | 10.IBEditorWindowLastContentRect 141 | 10.IBPluginDependency 142 | 12.IBEditorWindowLastContentRect 143 | 12.IBPluginDependency 144 | 3.CustomClassName 145 | 3.IBPluginDependency 146 | 147 | 148 | YES 149 | UIApplication 150 | UIResponder 151 | ViewController 152 | {{356, 376}, {320, 480}} 153 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 154 | {{525, 346}, {320, 480}} 155 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 156 | AppDelegate 157 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 158 | 159 | 160 | 161 | YES 162 | 163 | 164 | YES 165 | 166 | 167 | 168 | 169 | YES 170 | 171 | 172 | YES 173 | 174 | 175 | 176 | 15 177 | 178 | 179 | 180 | YES 181 | 182 | AppDelegate 183 | NSObject 184 | 185 | YES 186 | 187 | YES 188 | viewController 189 | window 190 | 191 | 192 | YES 193 | ViewController 194 | UIWindow 195 | 196 | 197 | 198 | YES 199 | 200 | YES 201 | viewController 202 | window 203 | 204 | 205 | YES 206 | 207 | viewController 208 | ViewController 209 | 210 | 211 | window 212 | UIWindow 213 | 214 | 215 | 216 | 217 | IBProjectSource 218 | Classes/AppDelegate.h 219 | 220 | 221 | 222 | UIWindow 223 | UIView 224 | 225 | IBUserSource 226 | 227 | 228 | 229 | 230 | ViewController 231 | UIViewController 232 | 233 | IBProjectSource 234 | Classes/ViewController.h 235 | 236 | 237 | 238 | 239 | YES 240 | 241 | NSObject 242 | 243 | IBFrameworkSource 244 | Foundation.framework/Headers/NSError.h 245 | 246 | 247 | 248 | NSObject 249 | 250 | IBFrameworkSource 251 | Foundation.framework/Headers/NSFileManager.h 252 | 253 | 254 | 255 | NSObject 256 | 257 | IBFrameworkSource 258 | Foundation.framework/Headers/NSKeyValueCoding.h 259 | 260 | 261 | 262 | NSObject 263 | 264 | IBFrameworkSource 265 | Foundation.framework/Headers/NSKeyValueObserving.h 266 | 267 | 268 | 269 | NSObject 270 | 271 | IBFrameworkSource 272 | Foundation.framework/Headers/NSKeyedArchiver.h 273 | 274 | 275 | 276 | NSObject 277 | 278 | IBFrameworkSource 279 | Foundation.framework/Headers/NSObject.h 280 | 281 | 282 | 283 | NSObject 284 | 285 | IBFrameworkSource 286 | Foundation.framework/Headers/NSRunLoop.h 287 | 288 | 289 | 290 | NSObject 291 | 292 | IBFrameworkSource 293 | Foundation.framework/Headers/NSThread.h 294 | 295 | 296 | 297 | NSObject 298 | 299 | IBFrameworkSource 300 | Foundation.framework/Headers/NSURL.h 301 | 302 | 303 | 304 | NSObject 305 | 306 | IBFrameworkSource 307 | Foundation.framework/Headers/NSURLConnection.h 308 | 309 | 310 | 311 | NSObject 312 | 313 | IBFrameworkSource 314 | UIKit.framework/Headers/UIAccessibility.h 315 | 316 | 317 | 318 | NSObject 319 | 320 | IBFrameworkSource 321 | UIKit.framework/Headers/UINibLoading.h 322 | 323 | 324 | 325 | NSObject 326 | 327 | IBFrameworkSource 328 | UIKit.framework/Headers/UIResponder.h 329 | 330 | 331 | 332 | UIApplication 333 | UIResponder 334 | 335 | IBFrameworkSource 336 | UIKit.framework/Headers/UIApplication.h 337 | 338 | 339 | 340 | UIResponder 341 | NSObject 342 | 343 | 344 | 345 | UISearchBar 346 | UIView 347 | 348 | IBFrameworkSource 349 | UIKit.framework/Headers/UISearchBar.h 350 | 351 | 352 | 353 | UISearchDisplayController 354 | NSObject 355 | 356 | IBFrameworkSource 357 | UIKit.framework/Headers/UISearchDisplayController.h 358 | 359 | 360 | 361 | UIView 362 | 363 | IBFrameworkSource 364 | UIKit.framework/Headers/UIPrintFormatter.h 365 | 366 | 367 | 368 | UIView 369 | 370 | IBFrameworkSource 371 | UIKit.framework/Headers/UITextField.h 372 | 373 | 374 | 375 | UIView 376 | UIResponder 377 | 378 | IBFrameworkSource 379 | UIKit.framework/Headers/UIView.h 380 | 381 | 382 | 383 | UIViewController 384 | 385 | IBFrameworkSource 386 | UIKit.framework/Headers/UINavigationController.h 387 | 388 | 389 | 390 | UIViewController 391 | 392 | IBFrameworkSource 393 | UIKit.framework/Headers/UIPopoverController.h 394 | 395 | 396 | 397 | UIViewController 398 | 399 | IBFrameworkSource 400 | UIKit.framework/Headers/UISplitViewController.h 401 | 402 | 403 | 404 | UIViewController 405 | 406 | IBFrameworkSource 407 | UIKit.framework/Headers/UITabBarController.h 408 | 409 | 410 | 411 | UIViewController 412 | UIResponder 413 | 414 | IBFrameworkSource 415 | UIKit.framework/Headers/UIViewController.h 416 | 417 | 418 | 419 | UIWindow 420 | UIView 421 | 422 | IBFrameworkSource 423 | UIKit.framework/Headers/UIWindow.h 424 | 425 | 426 | 427 | 428 | 0 429 | IBCocoaTouchFramework 430 | 431 | com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS 432 | 433 | 434 | 435 | com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 436 | 437 | 438 | YES 439 | ../LaunchImageTransition.xcodeproj 440 | 3 441 | 141 442 | 443 | 444 | -------------------------------------------------------------------------------- /Resources/ViewController.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1056 5 | 10K540 6 | 851 7 | 1038.36 8 | 461.00 9 | 10 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 11 | 141 12 | 13 | 14 | YES 15 | 16 | 17 | 18 | YES 19 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 20 | 21 | 22 | YES 23 | 24 | YES 25 | 26 | 27 | YES 28 | 29 | 30 | 31 | YES 32 | 33 | IBFilesOwner 34 | IBCocoaTouchFramework 35 | 36 | 37 | IBFirstResponder 38 | IBCocoaTouchFramework 39 | 40 | 41 | 42 | 274 43 | {320, 460} 44 | 45 | 46 | 3 47 | MC43NQA 48 | 49 | 2 50 | 51 | 52 | NO 53 | 54 | IBCocoaTouchFramework 55 | 56 | 57 | 58 | 59 | YES 60 | 61 | 62 | view 63 | 64 | 65 | 66 | 7 67 | 68 | 69 | 70 | 71 | YES 72 | 73 | 0 74 | 75 | 76 | 77 | 78 | 79 | -1 80 | 81 | 82 | File's Owner 83 | 84 | 85 | -2 86 | 87 | 88 | 89 | 90 | 6 91 | 92 | 93 | 94 | 95 | 96 | 97 | YES 98 | 99 | YES 100 | -1.CustomClassName 101 | -2.CustomClassName 102 | 6.IBEditorWindowLastContentRect 103 | 6.IBPluginDependency 104 | 105 | 106 | YES 107 | ViewController 108 | UIResponder 109 | {{239, 556}, {320, 480}} 110 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 111 | 112 | 113 | 114 | YES 115 | 116 | 117 | YES 118 | 119 | 120 | 121 | 122 | YES 123 | 124 | 125 | YES 126 | 127 | 128 | 129 | 7 130 | 131 | 132 | 133 | YES 134 | 135 | ViewController 136 | UIViewController 137 | 138 | IBProjectSource 139 | Classes/ViewController.h 140 | 141 | 142 | 143 | 144 | YES 145 | 146 | NSObject 147 | 148 | IBFrameworkSource 149 | Foundation.framework/Headers/NSError.h 150 | 151 | 152 | 153 | NSObject 154 | 155 | IBFrameworkSource 156 | Foundation.framework/Headers/NSFileManager.h 157 | 158 | 159 | 160 | NSObject 161 | 162 | IBFrameworkSource 163 | Foundation.framework/Headers/NSKeyValueCoding.h 164 | 165 | 166 | 167 | NSObject 168 | 169 | IBFrameworkSource 170 | Foundation.framework/Headers/NSKeyValueObserving.h 171 | 172 | 173 | 174 | NSObject 175 | 176 | IBFrameworkSource 177 | Foundation.framework/Headers/NSKeyedArchiver.h 178 | 179 | 180 | 181 | NSObject 182 | 183 | IBFrameworkSource 184 | Foundation.framework/Headers/NSObject.h 185 | 186 | 187 | 188 | NSObject 189 | 190 | IBFrameworkSource 191 | Foundation.framework/Headers/NSRunLoop.h 192 | 193 | 194 | 195 | NSObject 196 | 197 | IBFrameworkSource 198 | Foundation.framework/Headers/NSThread.h 199 | 200 | 201 | 202 | NSObject 203 | 204 | IBFrameworkSource 205 | Foundation.framework/Headers/NSURL.h 206 | 207 | 208 | 209 | NSObject 210 | 211 | IBFrameworkSource 212 | Foundation.framework/Headers/NSURLConnection.h 213 | 214 | 215 | 216 | NSObject 217 | 218 | IBFrameworkSource 219 | UIKit.framework/Headers/UIAccessibility.h 220 | 221 | 222 | 223 | NSObject 224 | 225 | IBFrameworkSource 226 | UIKit.framework/Headers/UINibLoading.h 227 | 228 | 229 | 230 | NSObject 231 | 232 | IBFrameworkSource 233 | UIKit.framework/Headers/UIResponder.h 234 | 235 | 236 | 237 | UIResponder 238 | NSObject 239 | 240 | 241 | 242 | UISearchBar 243 | UIView 244 | 245 | IBFrameworkSource 246 | UIKit.framework/Headers/UISearchBar.h 247 | 248 | 249 | 250 | UISearchDisplayController 251 | NSObject 252 | 253 | IBFrameworkSource 254 | UIKit.framework/Headers/UISearchDisplayController.h 255 | 256 | 257 | 258 | UIView 259 | 260 | IBFrameworkSource 261 | UIKit.framework/Headers/UIPrintFormatter.h 262 | 263 | 264 | 265 | UIView 266 | 267 | IBFrameworkSource 268 | UIKit.framework/Headers/UITextField.h 269 | 270 | 271 | 272 | UIView 273 | UIResponder 274 | 275 | IBFrameworkSource 276 | UIKit.framework/Headers/UIView.h 277 | 278 | 279 | 280 | UIViewController 281 | 282 | IBFrameworkSource 283 | UIKit.framework/Headers/UINavigationController.h 284 | 285 | 286 | 287 | UIViewController 288 | 289 | IBFrameworkSource 290 | UIKit.framework/Headers/UIPopoverController.h 291 | 292 | 293 | 294 | UIViewController 295 | 296 | IBFrameworkSource 297 | UIKit.framework/Headers/UISplitViewController.h 298 | 299 | 300 | 301 | UIViewController 302 | 303 | IBFrameworkSource 304 | UIKit.framework/Headers/UITabBarController.h 305 | 306 | 307 | 308 | UIViewController 309 | UIResponder 310 | 311 | IBFrameworkSource 312 | UIKit.framework/Headers/UIViewController.h 313 | 314 | 315 | 316 | 317 | 0 318 | IBCocoaTouchFramework 319 | 320 | com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS 321 | 322 | 323 | 324 | com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 325 | 326 | 327 | YES 328 | LaunchImageTransition.xcodeproj 329 | 3 330 | 141 331 | 332 | 333 | -------------------------------------------------------------------------------- /main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Created by http://github.com/iosdeveloper 4 | // 5 | 6 | #import 7 | 8 | int main(int argc, char *argv[]) { 9 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 10 | int retVal = UIApplicationMain(argc, argv, nil, nil); 11 | [pool release]; 12 | return retVal; 13 | } --------------------------------------------------------------------------------