AALaunchTransition
AALaunchTransition copied to clipboard
Simple framework to let your application's launch image fade-out to its initial view.
AALaunchTransition
Simple framework to let your application's launch image fade-out to its initial view. Feel free to fork this repo and help me make it better.
If you're using this framework in your project, I'd like to know! Send me an email.
Adding to your project
- Clone this repo and build the project.
- Obtain
AALaunchTransition.framework
from Products folder. - Open your project and add
AALaunchTransition.framework
in Link binary with libraries section of Build Phases under its proper target.
CocoaPods
If you are using CocoaPods add following line to your Podfile and then run pod install
pod 'AALaunchTransition'
Usage
After adding framework to your project all you need is import LaunchView.h in your initial view controller, then initialize a LaunchView instance and add it to your initial view as subview.
#import <AALaunchTransition/LaunchView.h>
...
- (void)viewDidLoad
{
[super viewDidLoad];
LaunchView *launch = [[LaunchView alloc] init];
[self.view addSubview:launch];
//Other additions
[self.view bringSubviewToFront:launch];
}
Easy as that. (See LaunchView.h for all of the methods.)
Documentation
Read the AALaunchTransition Documentation online.
Install the documentation into Xcode with the following steps:
-
Open Xcode Preferences
-
Choose Downloads
-
Choose the Documentation tab
-
Click the plus button in the bottom right and enter the following URL:
http://ahmet.github.com/AALaunchTransition/AALaunchTransition.atom
-
Click Install next the new row reading "AALaunchTransition Documentation". (If you don't see it and didn't get an error, try restarting Xcode.)
Be sure you have the docset selected in the organizer to see results for AALaunchTransition.
ARC Compatibility
AALaunchTransition is compatible with ARC enabled projects by default.
License
AALaunchTransition is released under the MIT License, so do whatever you want to it.
Contributing
Want to contribute? It's good to hear.
- Fork it
- Create a branch (git checkout -b my_branch)
- Commit your changes (git commit -am "Added/Modified something")
- Push to the branch (git push origin my_branch)
- Create an Issue with a link to your branch
- Enjoy a refreshing beer and wait