Skip to content

各种分类,链式编程,定时器block兼容,通知AppDelegate分类配置,视图布局属性,图片绘制,文本判断...

Notifications You must be signed in to change notification settings

starainDou/DDYCategory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DDYCategory

  • 链式编程
UIViewNew.viewSetFrame(0, DDYTopH + 80, DDYScreenW, 30).viewBGColor([UIColor redColor]).viewAddToView(self.view);
  • 设置UIButton 上图下文/上文下图/左图右文/左文右图
[button ddy_SetStyle:style padding:padding];
  • UIAlertView block回调
[UIAlertView ddy_AlertTitle:@"0"
                        message:@"1"
                    cancelTitle:@"Cancel"
                     otherTitle:@"OK"
                clickIndexBlock:^(UIAlertView *alertView, NSInteger index) {
                    NSLog(@"%d", (int)index);
    }];

About

各种分类,链式编程,定时器block兼容,通知AppDelegate分类配置,视图布局属性,图片绘制,文本判断...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published