LLACategories 0.1.0

LLACategories 0.1.0

测试已测试
语言编程语言 Obj-CObjective C
许可证 MIT
发布最新版本2014年12月

Lukas Lipka维护。



  • Lukas Lipka

UIKit和Foundation类集合的一组分类。

使用说明

UIFont *font = [UIFont fontWithName:@"FontAwesome" size:32];
UIImage *iconImage = [UIImage lla_imageWithFont:font named:@"\uf09a" maskColor:[UIColor blueColor]];

...

UIFont *maskedImage = [UIImage lla_imageNamed:@"Image" maskColor:[UIColor redColor]];

...

UIImage *existingImage = ...;
UIImage *maskedImage = [existingImage lla_maskWithColor:[UIColor redColor]];

请参阅各个头文件以获取完整文档。

安装

CocoaPods是建议安装LLACategories的方法。只需在您的Podfile中添加以下行:

Podfile

pod 'LLACategories'

否则,您可以直接将LLACategories下的文件添加到项目中。

要求

LLACategories已在iOS7上测试,且需要自动引用计数(ARC)。

联系方式

Lukas Lipka

许可证

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