[记录]学习Swift语言基础知识和语法
crifan 8年前 (2016-05-30) 2099浏览 0评论
The Swift Programming Language中文版_The Swift Programming Language中文教程_The Swift Programming Language开发中文手册[PDF]下载-极客学院Wiki -》 ...
crifan 8年前 (2016-05-30) 2099浏览 0评论
The Swift Programming Language中文版_The Swift Programming Language中文教程_The Swift Programming Language开发中文手册[PDF]下载-极客学院Wiki -》 ...
crifan 8年前 (2016-05-29) 2243浏览 0评论
比如在印象笔记中的内容: 拷贝,粘贴: (1)到wordpress.com中后, 有时候,就会自动无缘无故的,把用于对齐的空格去掉了,变成了这种: 但是如果是保持了原先的格式的话: 但是选中后,去格式化为Preformatted,就又会每次都多...
crifan 8年前 (2016-05-27) 6181浏览 1评论
代码: override func viewDidLoad() { super.viewDidLoad() gLog.verbose("self.view.frame=\(self.view.frame...
crifan 8年前 (2016-05-27) 3414浏览 0评论
已经通过: //collection view layout let flowLayout:UICollectionViewFlowLayout = UICollectionViewFlowLayout() // ...
crifan 8年前 (2016-05-26) 3531浏览 0评论
已经实现了各个函数,包括: func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> ...
crifan 8年前 (2016-05-26) 2532浏览 0评论
想要实现类似如下效果: swift collection view inside tableview swift uicollectionview inside tableview ashfurrow/AFTabledCollectionView:...
crifan 8年前 (2016-05-25) 2915浏览 0评论
折腾: [已解决]swift中让一个列表的高度随着内容的可视区域增加而增加 期间,改为: <code>class HomeViewController: UIViewController, UITableViewDataSource, U...
crifan 8年前 (2016-05-25) 2253浏览 0评论
之前实现了一个tableview,和传统的写法一样,最底部是父视图的底部(去除tab高度) //3. Today Todo TableView initTaskItem() self.todoTable...
crifan 8年前 (2016-05-24) 1564浏览 0评论
之前弄过attributed string: let attributedCenterText:NSMutableAttributedString = NSMutableAttributedString(string: centerT...
crifan 8年前 (2016-05-23) 4028浏览 0评论
ios中,想要弄个button,图片在上面,文字在下面 打算自己实现自定义的UIButton 但是觉得有点麻烦 想要去看看,能否很方便的用iOS自带的UIButton实现类似的效果 swift button image up title botto...