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];
随机密码生成器
多种字符组合密码
RGB HSV 转换
RGB HSV 互转工具
