ZJJCategory 1.4.0

ZJJCategory 1.4.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2018

Maintained by zhengjunjie.



  • By
  • zhengjunjie

How to use ZJJCategory

Installation with CocoaPods:pod 'ZJJCategory'

字符串类别使用
-(void)testString
{
NSString *test1 = @"123456789杰哥";
NSLog(@"%@",([test1 zjj_isAllNum] ==1?@"全是数字":@"不完全是数字"));

}
颜色类别使用
-(void)testColor
{
self.view.backgroundColor = [UIColor zjj_colorWithHexRGB:@"#CC66FF"];

}
倒计时按钮使用
-(void)testButton
{
 [button zjj_countDownStartWithTime:60 endTitle:@"重新发送" countDownTitle:@"s后重新发送验证码"];

}