Skip to content

lostinthepines/TheCatAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Easy cats. "It's the best thing we've ever done." - Us

Resources

License

Stars

Watchers

Forks

Packages

No packages published