发现IOS的里面东西第三方开源的项目很多,可以挑选一些比较优秀的作为自己的开发工具备选的库。最近在看一些开源的项目也发现有人喜欢用上这一库,这个库在收到了很多开发者的赞誉值得尝试。
还有好多好多库,暂时来讲还是一个个来用过后适合自己才来收录才好。毕竟成千万个库这样对自己也不好。
Masonry (约束布局)
AFNetworking(Http网络请求)
ZipArchive (解压缩zip)
MBProgressHUD (信息提示器)
BlocksKit (使用block 可以简化一些代理模式)
SVProgressHUD (使用效果MBProgressHUD 差不多 不过大部分是静态方法,直接调用)
UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; button.frame = CGRectMake(0,50,100,20); [button setTitle:@"click" forState: UIControlStateNormal]; button.backgroundColor = [UIColor greenColor]; [self.view addSubview:button]; [button bk_addEventHandler:^(id sender) { NSLog(@"测试BlockKit的代码"); } forControlEvents:UIControlEventTouchUpInside];
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
UIAlertView *alertView = [UIAlertView bk_showAlertViewWithTitle:@"温馨提示" message:@"你看不见我在测试吗?" cancelButtonTitle:@"取消" otherButtonTitles:@[@"确定"] handler:^(UIAlertView *alertView, NSInteger buttonIndex) { if (buttonIndex == 0) { NSLog(@"测试OK了!"); } }]; [alertView show];
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow