Skip to content

kenzan8000/KZNBlinkView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KZNBlinkView

===============

Screenshot

KZNBlinkView is UIView to blink.

KZNBlinkView is tested on iOS 5.0+ and requires ARC.

Installation

CocoaPods

If you are using CocoaPods, then just add KZNBlinkView to you Podfile.

pod 'KZNBlinkView', :git => 'https://github.com/kenzan8000/KZNBlinkView.git'

Manually

Simply add the files in the KZNBlinkView directory to your project.

Example

    // Category
    [KZNBlinkView showBlinkWithBlinkColor:[UIColor colorWithRed:1.0f green:1.0f blue:1.0f alpha:0.3f]
                            blinkInterval:0.15f];
    // Storyboard or Xib
    [self.blinkView setBlinkColor:[UIColor colorWithRed:1.0f green:1.0f blue:1.0f alpha:0.3f]
                       blinkCount:NSIntegerMax
                    blinkInterval:0.15f
                     waitInterval:0.5f];
    [self.blinkView startBlinking];
    // Manual
    KZNBlinkView *blinkView = [[KZNBlinkView alloc] initWithBlinkColor:[UIColor colorWithRed:1.0f green:1.0f blue:1.0f alpha:0.3f]
                                                            blinkCount:NSIntegerMax
                                                         blinkInterval:0.15f
                                                          waitInterval:0.5f];
    [blinkView startBlinking];

License

Released under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published