- 博客(7)
- 收藏
- 关注
转载 Completion Handlers in Swift
来源:https://grokswift.com/completion-handlers-in-swift/ We’ve been making lots of API calls using Alamofire and dataTaskWithRequest, like in Simple REST API Calls with Swift. And we keep using com
2016-08-02 15:51:15
645
转载 ios queue及GCD理解的文章
(1)关于queue The best way to conceptualize queues is to first realize that at the very low-level, there are only two types of queues: serial and concurrent. Serial queues are monogamous, but uncom
2016-07-27 16:20:03
356
原创 ios无法定位CLLocationManager Delegate方法不能被调用的问题
最近使用ios定位功能,但是总是定位不成功,不能获取定位数据,找了好久原因,终于发现问题所在,原来是ios8之前的规则已经不适用了。 先从ios developer library 中找到相关的说明。 You must call this method( - requestWhenInUseAuthorization) or the requestAlwaysAuthorizat
2016-02-23 10:51:50
4422
翻译 ios编程之Core Data(一)
(一)Core Data是什么? Core Data is a framework that you use to manage the model layer objects in your application. It provides generalized and automated solutions to common tasks associated with object
2015-12-25 15:02:20
346
翻译 objective-c 的分类与扩展
每一个对象都需要有明确的任务,例如建立信息模型、可视化展示或者信息流程的控制,一个类的interface就定义了可以对外交互的信息,通过这些信息完成特定的任务。但有时,你可能需要对已经存在的类做一定的功能扩展,用于某些特别的情况。 例如,如果你的应用程序需要经常可视化展示字符串,相对于每次展示都去调用绘制字符串的对象,如果能直接给NSString类添加一个绘制自身字符串的功能会更好一些。这种情况
2015-12-24 14:59:46
425
转载 Properties vs. instance variables(ios objective-c)
Properties and instance variables have a lot in common. In fact, when you create a property, it is “backed” by an instance variable. That means your slider property stores its value in an instan
2015-07-31 09:37:01
365
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人