[已解决]swift代码出错:Ambiguous use of subscript
crifan 8年前 (2016-06-30) 5872浏览 0评论
代码: import UIKit class CustomCollectionViewLayout: UICollectionViewLayout { // let numberOfColumns = 8 var number...
iOS Framework
crifan 8年前 (2016-06-30) 5872浏览 0评论
代码: import UIKit class CustomCollectionViewLayout: UICollectionViewLayout { // let numberOfColumns = 8 var number...
crifan 8年前 (2016-06-29) 2836浏览 0评论
最少要实现: 调用打电话界面 把电话号码填好 用户去自己打电话 最好要实现: 直接实现拨号 无需用户参与 swift phone call nsurl – How to use openURL for making a phone cal...
crifan 8年前 (2016-06-28) 3354浏览 0评论
代码: var attachmentListCollectionView:UICollectionView func reloadDataAndUpdateFrame() { gLog.verbose(&qu...
crifan 8年前 (2016-06-28) 2818浏览 0评论
之前关于UIAlertController,可以在viewWillAppear中去presentViewController,并在最后去消失了: [已解决]swift中给已有的ViewController中添加UIAlertAction并直接显示和正...
crifan 8年前 (2016-06-25) 2897浏览 0评论
现在用代码: let imagePickVC = ImagePickerViewController() imagePickVC.modalPresentationStyle = .Custom ...
crifan 8年前 (2016-06-25) 3208浏览 0评论
折腾: [记录]swift中尝试使用Realm数据库去保存数据 期间,用代码: import RealmSwift class RegionItem:NSObject { var id:Int var code:Int ...
crifan 8年前 (2016-06-25) 2572浏览 0评论
之前已经通过Carthage 去安装了Ream的库: github "realm/realm-cocoa" 现在需要去: 搞懂具体如何使用Realm Realm https://realm.io/docs/swift...
crifan 8年前 (2016-06-24) 4487浏览 0评论
经历了: [记录]用企业账号打包企业版的iOS的app的ipa文件 [记录]尝试用Team Admin的权限的Apple ID去打包企业版ipa文件 [已解决]打包企业版ipa导出时出错:Your account already has a vali...
crifan 8年前 (2016-06-24) 3805浏览 0评论
网页中是通过: form-data的方式去上传文件的: 此处,是swift代码中, 要去搞懂如何实现这种方式 swift how to form-data upload file swift alamofire form-data upload f...
crifan 8年前 (2016-06-24) 2076浏览 0评论
将: if let cellContentView = textField.superview { gLog.verbose(“cellContentView=\(cellContentVie...