An open API service indexing awesome lists of open source software.

https://github.com/sbatururimi/ShatteringView

A view with a splitting into pieces animation
https://github.com/sbatururimi/ShatteringView

animation coreanimation ios objective-c

Last synced: over 1 year ago
JSON representation

A view with a splitting into pieces animation

Awesome Lists containing this project

README

          

# ShatteringView

## Demo
[![Demo ShatteringView alpha](http://share.gifyoutube.com/yXO4L8.gif)]

## 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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "ShatteringView"
```

## Author

Stas Batururimi, blueocean87@me.com

## License

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