Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.48 KB

README.md

File metadata and controls

49 lines (29 loc) · 1.48 KB

TheCatAPI

Version License Platform

  ∆    ∆
>( - . - )<
 (  u u  ) "\\
 ( )____( )=//

Usage

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.

Installation

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

pod "TheCatAPI"

Author

Nate Bailey, nate@inthepin.es

License

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