摘要: let singleTap = UITapGestureRecognizer(target: self, action: #selector(DemoController7.stopWattingCircle)) singleTap.numberOfTapsRequired = 1 singleTa 阅读全文
posted @ 2016-06-07 08:56 ExpressFF 阅读(2176) 评论(0) 推荐(0) 编辑
摘要: 1.解包包装类型,只需要尾部加! 2.初始化赋值必须保证变量是包装类型 var str : String? = nil 阅读全文
posted @ 2016-06-01 18:56 ExpressFF 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.企业版的(¥99)不能用分账号打包上传到AppStore。 2.xcode中打包配置证书和描述文件时,只需要设置描述文件,证书可以自动识别,选择automatic。 3.配置时Project和target选项都要设置。 阅读全文
posted @ 2016-05-12 11:19 ExpressFF 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 状态栏高度20px 竖屏是导航栏高度44px 横屏时导航栏高度32px 获取当前屏幕状态:UIApplication.sharedApplication().statusBarOrientation 阅读全文
posted @ 2016-03-28 14:18 ExpressFF 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 报错:(<UIStoryboard: 0x7fa9c3d72360>) doesn't contain a view controller with identifier 'UIViewController-76T-IN-z 原因:未知 解决方法:cmd+shift+k 阅读全文
posted @ 2016-03-25 09:51 ExpressFF 阅读(733) 评论(0) 推荐(0) 编辑
摘要: 3.SQL日期时间函数(SQL语句提供的日期和时间的处理函数,方便以后的数据库操作,日期和时间可以用sql语句处理):select dateAdd(day, 3, getDate());--加天select dateAdd(year, 3, getDate());--加年select dateAdd 阅读全文
posted @ 2016-03-18 16:59 ExpressFF 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: 2011年以后的Xcode版本上新建Ios工程,默认是打开ARC的,如果需要引用的第三库文件不支持ARC的,可以在工程文件中手动关闭部分文件的ARC功能。 只需要输入编译参数 -fno-objc-arc 阅读全文
posted @ 2016-03-09 11:11 ExpressFF 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 一、@property @synthesize关键字 注意:这两个关键字是编译器特性,让xcode可以自动生成getter和setter的声明和实现。 (一)@property 关键字 @property 关键字可以自动生成某个成员变量的setter和getter方法的声明 @property in 阅读全文
posted @ 2016-03-08 13:42 ExpressFF 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Bitcode是什么? 查阅了一下官方文档,在 App Distribution Guide – App Thinning (iOS, watchOS) 一节中,找到了下面这样一个定义:Bitcode is an intermediate representation of a compiled p 阅读全文
posted @ 2016-03-04 15:30 ExpressFF 阅读(1565) 评论(0) 推荐(0) 编辑