TheCatAPI 1.0.0

TheCatAPI 1.0.0

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布最新发布2016年11月

Nate Bailey 维护。



TheCatAPI 1.0.0

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

使用方法

为一个全新的、布满猫的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];

为了让现有的UIImageView更加有趣

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];

要运行示例项目,请先克隆存储库,然后从Example目录中运行pod install

安装

作者

Nate Bailey,[email protected]

许可证

TheCatAPI可在MIT许可证下使用。有关更多信息,请参阅LICENSE文件。