Skip to content

sbatururimi/ShatteringView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShatteringView

Demo

[Demo ShatteringView alpha]

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

To animate the view

 __weak BSViewController *weakSelf = self;
 [self.viewToSplash smashIt:YES onCompletion:^(BOOL finished) {
       // avoid strong reference cycles
       BSViewController *strongSelf = weakSelf;
       if(strongSelf){
          strongSelf.viewToSplash.hidden = NO;
        }
    }];

Installation

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

pod "ShatteringView"

Author

Stas Batururimi, blueocean87@me.com

License

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