Home

Awesome

CBZSplashView

[![CI Status](http://img.shields.io/travis/Callum Boddy/CBZSplashView.svg?style=flat)](https://travis-ci.org/Callum Boddy/CBZSplashView) Version License Platform

<img src="Images/CBZLogo.png" height="28%" width="28%" />

Inspired by the Twitter Splash screen.

Create a splash view not dissimilar to the one Twitter use.

Just drop in your raster/vector logo and choose a background color and you are ready to go.

I have also added some customization options if you are that way inclined.

Twitter: <a href="https://twitter.com/callumboddy">@callumboddy</a>

<img src="Images/twitter-gif.gif"/>

Easy as pie:

  UIImage *icon = [UIImage imageNamed:kMyIcon];
  UIColor *color = [UIColor colorWithHexString:kMyColor];
  CBZSplashView *splashView = [CBZSplashView splashViewWithIcon:icon backgroundColor:color];
  
  // customize duration, icon size, or icon color here;
  
  [self.view addSubview:splashView];
  [splashView startAnimation];
  UIBezierPath *icon = [UIBezierPath myIcon]; // Generate path from vector using something like paintCode
  UIColor *color = [UIColor colorWithHexString:kMyColor];
  CBZSplashView *splashView = [CBZSplashView splashViewWithBezierPath:icon backgroundColor:color];
  
  // customize duration, icon size, or icon color here;
  
  [self.view addSubview:splashView];
  [splashView startAnimation];

or you can animate on completion if you want to..


  [self downloadLoadsOfAmazingContentWithCompletion:^(BOOL success, NSError *error) {
    [splashView startAnimation];
  }];

Installation

CBZSplashView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'CBZSplashView', '~> 1.0.0'

Coming Soon

Updates

1.0.0

0.1.1:

0.1.0 - done on the train, very messy

Author

Callum Boddy, callum.boddy@gmail.com

License

CBZSplashView is available under the MIT license. See the LICENSE file for more info.