[已解决]Swift中Alamofire的http返回401时默认属于Success而不是Failure
crifan 8年前 (2016-07-09) 2842浏览 0评论
代码: func getRequestRespJson(httpRequest:Alamofire.Request, mergedAllPara:Dictionary<String, AnyObject>, respJsonHand...
iOS Framework
crifan 8年前 (2016-07-09) 2842浏览 0评论
代码: func getRequestRespJson(httpRequest:Alamofire.Request, mergedAllPara:Dictionary<String, AnyObject>, respJsonHand...
crifan 8年前 (2016-07-08) 5183浏览 0评论
用代码: self.passwordTextField.secureTextEntry = true 要换成星号 swift textfiled secure point to start swift textf...
crifan 8年前 (2016-07-07) 2135浏览 0评论
iOS中 Android 中 想要读取某个,或多个,邮件帐户中的好友列表,通讯录列表 去研究看看是否有权限 大概如何读取 android read email programmatically How to get gmail mails progr...
crifan 8年前 (2016-07-07) 2504浏览 0评论
最终通过调试,看log 2016-07-07 14:34:13.851 [Verbose] [main] [TaskManagementViewController.swift:417] tableView(_:didSelectRowAtIn...
crifan 8年前 (2016-07-07) 2349浏览 0评论
之前已经用: https://github.com/brightec/CustomCollectionViewLayout 制作出自己要的效果的表格了: 代码详见: https://github.com/crifan/crifanLib/tree/...
crifan 8年前 (2016-07-04) 5090浏览 0评论
想要把当前页面的导航栏的返回按钮隐藏掉: 试了很多种代码: override func viewWillAppear(animated: Bool) { super.viewWillAppear(animated) ...
crifan 8年前 (2016-07-02) 3308浏览 0评论
代码: func getRequestRespJson(httpRequest:Alamofire.Request, mergedAllPara:Dictionary<String, AnyObject>, respJsonHand...
crifan 8年前 (2016-07-02) 5355浏览 0评论
代码: class CustomerViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UIGestureRecognizerDelegat...
crifan 8年前 (2016-06-30) 3519浏览 0评论
之前已经知道了如何初始化一位数组的值了: [已解决]swift中数组批量初始化值 但是现在遇到了: 想要初始化二维数组的值,写成: var contentList:[[String]] init(){ self...
crifan 8年前 (2016-06-30) 2757浏览 0评论
swift中需要批量初始化某个数组的值 原先是循环初始化的: var itemSizeColumnList = [CGSize]() let eachItemSize = CGSize(width: Screen...