Skip to content

Ogre's are like onions and so are view's. They have (CA)Layers!

License

Notifications You must be signed in to change notification settings

dostrander/DOOgre

Repository files navigation

DOOgre

Version License Platform
Ogre's are like onions and so are views. They have (CA)Layers!

Usage

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

Basic Overview

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...
  • 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! :)

Installation

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

pod 'DOOgre'

Author

Derek Ostrander, djostran@gmail.com

License

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

About

Ogre's are like onions and so are view's. They have (CA)Layers!

Resources

License

Stars

Watchers

Forks

Packages

No packages published