Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Latest commit

 

History

History
84 lines (54 loc) · 2.77 KB

README.md

File metadata and controls

84 lines (54 loc) · 2.77 KB

AALaunchTransition

No Maintenance Intended

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

  1. 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:

  1. Open Xcode Preferences

  2. Choose Downloads

  3. Choose the Documentation tab

  4. Click the plus button in the bottom right and enter the following URL:

     http://ahmet.github.com/AALaunchTransition/AALaunchTransition.atom
    
  5. 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.

  1. 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

Links