Latest 0.0.5
Homepage https://github.com/k06a/LaunchScreenViewController
License MIT
Platforms ios , requires ARC
Authors

iOS View Controller for loading default launch screen in app and maybe to add some animations to it

This library will help you to build launch screens like this for example:

Installation

pod 'LaunchScreenViewController'

Usage

  1. Add hidden elements to LaunchScreen.xib
  2. Create LaunchScreenViewController subclass
  3. Add controller subclass to storyboard
  4. Create modal segue and call it once manually in viewWillAppear:

    - (void)viewWillAppear:(BOOL)animated
    {
      [super viewWillAppear:animated];
    
      static dispatch_once_t onceToken;
      dispatch_once(&onceToken, ^{
          [self performSegueWithIdentifier:@"segue_screensaver" sender:nil];
      });
    }
  5. Add custom animations to your controller subclass

Contribute

You are welcome to fork, PR, create issues …

Latest podspec

{
    "name": "LaunchScreenViewController",
    "version": "0.0.5",
    "summary": "iOS View Controller for loading default launch screen in app and maybe to add some animations to it",
    "description": "                   Use this class to subclass it. Hide some dynamic views inside LaunchScreen.xib if nessesary.n                   Add subclass to storyboard and implement any animations you want in your subclass.n",
    "homepage": "https://github.com/k06a/LaunchScreenViewController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Anton Bukov": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/k06a/LaunchScreenViewController.git",
        "tag": "0.0.5"
    },
    "source_files": "*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This