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];
学习JavaScript数据结构与算法(第2版)
[巴西] Loiane Groner / 邓 钢、孙晓博、吴 双、陈 迪、袁 源 / 人民邮电出版社 / 2017-9 / 49.00元
本书首先介绍了JavaScript 语言的基础知识以及ES6 和ES7 中引入的新功能,接下来讨论了数组、栈、队列、链表、集合、字典、散列表、树、图等数据结构,之后探讨了各种排序和搜索算法,包括冒泡排序、选择排序、插入排序、归并排序、快速排序、堆排序、计数排序、桶排序、基数排序、顺序搜索、二分搜索,然后介绍了动态规划和贪心算法等常用的高级算法以及函数式编程,最后还介绍了如何计算算法的复杂度。一起来看看 《学习JavaScript数据结构与算法(第2版)》 这本书的介绍吧!
