CLSystemAlertController
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/changelee82/CLSystemAlertController
- 软件文档: https://github.com/changelee82/CLSystemAlertController
软件介绍
CLSystemAlertController 封装了系统提示窗口,兼容iOS8.3以下版本。
使用方法:
__weak __typeof(self) weakSelf = self;
[CLSystemAlertController ShowAlertToController:self
alertControllerStyle:SystemAlertStyleAlert
title:@"这是标题"
message:@"详细信息"
cancelButtonTitle:@"取消"
destructiveButtonTitle:@"重点按钮"
otherButtonTitles:@[@"第二", @"第三"]
clickedButtonBlock:^(NSUInteger index) {
weakSelf.indexField.text = [NSString stringWithFormat:@"%d", index];
}];
如果共有n个按钮,则:
cancelButton按钮的序号为 0,
destructiveButton按钮的序号为1,
otherButton按钮的序号从为 2 ~ n-1,
如果cancelButtonTitle或者destructiveButtonTitle为nil,则其他按钮的序号向前补位
编程之美:微软技术面试心得
《编程之美》小组 / 电子工业出版社 / 2018-9 / 79
《编程之美:微软技术面试心得》收集了约60道算法和程序设计的题目,这些题目大部分在微软的笔试、面试中出现过,有的曾被微软员工热烈地讨论过。作者试图从书中各种有趣的问题出发,引导读者发现问题、分析问题、解决问题,寻找更优的解法。《编程之美:微软技术面试心得》内容分为以下几个部分。 游戏之乐:从游戏和其他有趣问题出发,化繁为简,分析总结。 数字之魅:编程的过程实际上就是和数字及字符打交道的......一起来看看 《编程之美:微软技术面试心得》 这本书的介绍吧!
