Alert 简化使用 XJAlertManager
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/xjimi/XJAlertManager
- 软件文档: https://github.com/xjimi/XJAlertManager
软件介绍
XJAlertManager 是簡化 iOS 原生 Alert, ActionSheet 的使用方法,將 iOS7、iOS8 收納在一起,讓您使用起來更加方便。
安装
安裝 pod 'BlocksKit'
使用示例
//Alert
XJAlertManager *alert = [XJAlertManager alertWithTitle:@"title" message:@"message" viewController:self]; [alert addButtonWithTitle:@"OK" handler:^{}]; [alert addCancelButtonWithTitle:@"CANCEL" handler:^{}]; [alert show];
//ActionSheet
XJAlertManager *alert = [XJAlertManager actionSheetWithTitle:@"title" message:@"message" viewController:self]; [alert addButtonWithTitle:@"OK" handler:^{}]; [alert addCancelButtonWithTitle:@"CANCEL" handler:^{}]; [alert show];
iOS游戏编程之从零开始
李华明 / 2013-2 / 59.00元
《iOS游戏编程之从零开始:Cocos2d-x与cocos2d引擎游戏开发》是作者继《android游戏编程之从零开始》热销之后编写的又一本、基于cocos2d—x2.x和cocos2d—iphone版本,讲述ios平台游戏开发的新作。《iOS游戏编程之从零开始:Cocos2d-x与cocos2d引擎游戏开发》分为两个部分共11章,内容主要包括cocos2d—x引擎游戏开发的基础,常用的类、方法及......一起来看看 《iOS游戏编程之从零开始》 这本书的介绍吧!
