Skip to content

itouch2/LazyFadeInView

Repository files navigation

LazyFadeInView

LazyFadeInView is a cool way to animate the appearance of a label. This effect is a clone of Secret app. You can find Swift version in here

Build Status Pod Version Platform License

Usage

To use LazyFadeInView, create a LazyFadeInView and add it to your view. It will animate to show up once it's text is set.

An example of making a lazy fade in view:

LazyFadeInView *fadeInView = [[LazyFadeInView alloc] initWithFrame:CGRectMake(20, 120, 280, 200)];
self.fadeInView.text = @"Stray birds of summer come to my window to sing and fly away.";
self.fadeInView.textColor = [UIColor whiteColor];
[self.view addSubview:self.fadeInView];

Podfile

CocosPods is the recommended method to install LazyFadeInView, just add the following line to Podfile

pod 'LazyFadeInView', '~> 1.0.0'

and run pod install, then you're all done!

A Quick Peek

screenshots

License

LazyFadeInView is available under the MIT license, see the LICENSE file for more information.