Twitter style Splash Screen View. Grows to reveal the Initial view behind
Objective-C
1,475
60 commits
updated Feb 1, 2017
[](https://travis-ci.org/Callum Boddy/CBZSplashView)
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: @callumboddy
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];
}];
CBZSplashView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CBZSplashView', '~> 1.0.0'
creating new and unique transitions to select from
adding support for a background image.
adding support for colorWithPatternImage
a vector based implementation, closer to the twitter implementation
If you would like to request a new feature, feel free to raise as an issue.
1.0.0
0.1.1:
feature: added propery to manipulate the icon size, eg. splashView.iconStartSize = CGSizeMake(200, 200);
feature: added propery to manipulate the icon color, eg. splashView.iconColor = [UIColor redColor];
feature: added propery to manipulate the animation Duration, eg. splashView.animationDuration = 2; (in seconds)
change: animtion no longer fires automatically, you must call [splashView startAnimation];
0.1.0 - done on the train, very messy
Callum Boddy, [email protected]
CBZSplashView is available under the MIT license. See the LICENSE file for more info.
211 followers · starred Aug 2014
63 followers · starred Aug 2015
42 followers · starred Mar 2020
51 followers · starred Aug 2014
Twitter style Splash Screen View. Grows to reveal the Initial view behind
Objective-C
1,475
60 commits
updated Feb 1, 2017
[](https://travis-ci.org/Callum Boddy/CBZSplashView)
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: @callumboddy
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];
}];
CBZSplashView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CBZSplashView', '~> 1.0.0'
creating new and unique transitions to select from
adding support for a background image.
adding support for colorWithPatternImage
a vector based implementation, closer to the twitter implementation
If you would like to request a new feature, feel free to raise as an issue.
1.0.0
0.1.1:
feature: added propery to manipulate the icon size, eg. splashView.iconStartSize = CGSizeMake(200, 200);
feature: added propery to manipulate the icon color, eg. splashView.iconColor = [UIColor redColor];
feature: added propery to manipulate the animation Duration, eg. splashView.animationDuration = 2; (in seconds)
change: animtion no longer fires automatically, you must call [splashView startAnimation];
0.1.0 - done on the train, very messy
Callum Boddy, [email protected]
CBZSplashView is available under the MIT license. See the LICENSE file for more info.
211 followers · starred Aug 2014
63 followers · starred Aug 2015
42 followers · starred Mar 2020
51 followers · starred Aug 2014