∆ ∆
>( - . - )<
( u u ) "\\
( )____( )=//
For a fresh, kitty-populated UIImageView
// A new UIImageView populated with a cat image
UIImageView *happyImageView = [UIImageView imageViewWithCatImage];
// A new UIImageView populated with a cat image from a certain category
UIImageView *catInABox = [UIImageView imageViewWithCatImageWithCategory:CATegoryBoxes];
For making existing UIImageViews much more enjoyable
UIImageView *sadImageView = [[UIImageView alloc] init];
// Populate an existing UIImageView with a cat image
[sadImageView useCatImage];
// Populate an existing UIImageView with a cat image from a certain category
[sadImageView useCatImageWithCategory:CATegoryHats];
To run the example project, clone the repo, and run pod install
from the Example directory first.
TheCatAPI is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TheCatAPI"
Nate Bailey, nate@inthepin.es
TheCatAPI is available under the MIT license. See the LICENSE file for more info.