Ogre's are like onions and so are views. They have (CA)Layers!
To run the example project, clone the repo, and run pod install
from the Example directory first.
The layers are meant to be base layers unless otherwise specified.
The best way to use it is to set the +layerClass
on the view you want to affect:
+ (Class)layerClass
{
return [DOCircleLayer class];
}
Layers effects:
- Circles:
- This will cause funky layouts if you animate
CALayer.bounds
directly. Fix coming...
- This will cause funky layouts if you animate
- Animatable Border
- (coming soon)
- Circle borders
- (coming soon)
There are layers for circles and borders. If you want to add one go ahead and submit a pull request! :)
DOOgre is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'DOOgre'
Derek Ostrander, djostran@gmail.com
DOOgre is available under the MIT license. See the LICENSE file for more info.