2015-05-31

ARC4random 生成任意整数

要生成某一范围的数可以用取模运算

ID对象不能用点语法

Arc4random()%12 等价于arc4random_uniform(12)

文本框有个inputview 用来设置自定义键盘

 toolbar 中的identifier  用来设置样式,其中flexible space为可伸缩的空条(使右边按钮直接右对齐)

原文地址:https://www.cnblogs.com/tusiji7/p/4542817.html