摘要: 定义一个数组:var a:[String]=["File", "Edit", "View", "Navigate"]定义一个字典:var airports: [String: String] = ["YYZ": "Toronto Pearson", "DUB": "Dublin"]定义一个NSMut... 阅读全文
posted @ 2014-12-22 11:16 ericjuns 阅读(227) 评论(0) 推荐(0)
摘要: whose view is not in the window hierarchy! 解决办法 阅读全文
posted @ 2014-10-09 10:19 ericjuns 阅读(594) 评论(0) 推荐(0)
摘要: swift 中 如何给 Alert 增加 target 事件 阅读全文
posted @ 2014-10-09 10:18 ericjuns 阅读(323) 评论(0) 推荐(0)
摘要: openURL可以做很多事情, 可以直接拨打电话或打开网址 - swift 阅读全文
posted @ 2014-10-09 10:01 ericjuns 阅读(1778) 评论(0) 推荐(0)
摘要: swift 获取app版本号及 ios 版本号 NSBundle.mainBundle().infoDictionary 阅读全文
posted @ 2014-10-09 07:09 ericjuns 阅读(6340) 评论(0) 推荐(0)
摘要: 参见:https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1 阅读全文
posted @ 2014-10-08 09:39 ericjuns 阅读(164) 评论(0) 推荐(0)
摘要: No Such module Alamofire -解决 加载Alamofire 的问题. 阅读全文
posted @ 2014-10-07 17:38 ericjuns 阅读(6721) 评论(0) 推荐(0)
摘要: UIControlEvents所有触摸事件含义 - UIButton 阅读全文
posted @ 2014-10-07 15:28 ericjuns 阅读(530) 评论(0) 推荐(0)
摘要: objc[322]: Class _NSSwiftEnumeratorBase is implemented in both 阅读全文
posted @ 2014-10-07 14:48 ericjuns 阅读(2117) 评论(0) 推荐(0)