上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 103 下一页
摘要: https://github.com/Draveness/Analyze/blob/master/contents/objc/黑箱中的%20retain%20和%20release.md 写在前面 在接口设计时,我们经常要考虑某些意义上的平衡。在内存管理中也是这样,Objective-C 同时为我们 阅读全文
posted @ 2017-07-26 15:46 zzfx 阅读(350) 评论(0) 推荐(0)
摘要: 手动管理的栈帧 http://draveness.me/autoreleasepool.html 关注仓库,及时获得更新:iOS-Source-Code-Analyze Follow: Draveness · Github 由于 Objective-C 中的内存管理是一个比较大的话题,所以会分为两篇 阅读全文
posted @ 2017-07-26 13:11 zzfx 阅读(291) 评论(0) 推荐(0)
摘要: Every program must deal with errors as they occur at runtime. The program, for example, might not be able to open a file, or perhaps it cannot parse a 阅读全文
posted @ 2017-07-25 23:59 zzfx 阅读(153) 评论(0) 推荐(0)
摘要: https://developer.apple.com/documentation/foundation/nsautoreleasepool An object that supports Cocoa’s reference-counted memory management system. An 阅读全文
posted @ 2017-07-25 23:54 zzfx 阅读(275) 评论(0) 推荐(0)
摘要: http://www.cocoachina.com/ios/20151103/14007.html 本文翻译自 Ryan Kaplan 的 More than you want to know about @synchronized 因为原文一些内容写的不太准确,我按照我的理解做出了批注和补充。 如 阅读全文
posted @ 2017-07-25 12:10 zzfx 阅读(865) 评论(0) 推荐(0)
摘要: http://www.cocoawithlove.com/2010/01/what-is-meta-class-in-objective-c.html In this post, I look at one of the stranger concepts in Objective-C — the 阅读全文
posted @ 2017-07-25 11:26 zzfx 阅读(183) 评论(0) 推荐(0)
摘要: http://www.sealiesoftware.com/blog/archive/2009/04/14/objc_explain_Classes_and_metaclasses.html Objective-C is a class-based object system. Each objec 阅读全文
posted @ 2017-07-25 11:04 zzfx 阅读(203) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/biosli/p/NSObject_inherit_2.html 函数调用 Objective-C是一门动态语言,一个函数是由一个selector(SEL),和一个implement(IML)组成的。Selector相当于门牌号,而Implement才是 阅读全文
posted @ 2017-07-25 10:41 zzfx 阅读(276) 评论(0) 推荐(0)
摘要: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html About Objective-C 阅读全文
posted @ 2017-07-24 23:40 zzfx 阅读(142) 评论(0) 推荐(0)
摘要: Objective-C语言是一门动态语言,它将很多静态语言在编译和链接时期做的事放到了运行时来处理。这种动态语言的优势在于:我们写代码时更具灵活性,如我们可以把消息转发给我们想要的对象,或者随意交换一个方法的实现等。 这种特性意味着Objective-C不仅需要一个编译器,还需要一个运行时系统来执行 阅读全文
posted @ 2017-07-24 19:31 zzfx 阅读(184) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/tskyfree/article/details/7984887 一、Objective-C多态 1.概念:相同接口,不同的实现 来自不同类可以定义共享相同名称的方法。 动态类型能使程序直到执行时才确定对象所属类型 动态类型绑定能使程序直到执行时才确定要对对 阅读全文
posted @ 2017-07-24 19:27 zzfx 阅读(260) 评论(0) 推荐(0)
摘要: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/DefiningClasses/DefiningClasses.html#//apple_ref/ 阅读全文
posted @ 2017-07-24 19:19 zzfx 阅读(140) 评论(0) 推荐(0)
摘要: @interface JWCacheURLProtocol : NSURLProtocol<NSURLSessionDataDelegate> - (void)startLoading{ NSCachedURLResponse *urlResponse = [[NSURLCache sharedUR 阅读全文
posted @ 2017-07-19 16:48 zzfx 阅读(426) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/eroswang/article/details/8302191 最近在对CDN进行优化,对浏览器缓存深入研究了一下,记录一下,方便后来者 画了一个草图: 每个状态的详细说明如下: 1、Last-Modified 在浏览器第一次请求某一个URL时,服务器端的 阅读全文
posted @ 2017-07-19 15:32 zzfx 阅读(210) 评论(0) 推荐(0)
摘要: uiwebview 离线缓存图片 阅读全文
posted @ 2017-07-18 23:49 zzfx 阅读(223) 评论(0) 推荐(0)
摘要: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html#//apple_ref/doc/uid/10000165-BCICJDH 阅读全文
posted @ 2017-07-18 23:15 zzfx 阅读(225) 评论(0) 推荐(0)
摘要: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5 POST The POST method is used to request that the origin server accept the entity enclosed 阅读全文
posted @ 2017-07-18 22:14 zzfx 阅读(386) 评论(0) 推荐(0)
摘要: https://www.mnot.net/blog/2012/09/24/caching_POST One of the changes in Apple’s release of iOS6 last week was a surprising new ability to cache POST r 阅读全文
posted @ 2017-07-18 22:07 zzfx 阅读(210) 评论(0) 推荐(0)
摘要: 网络通信中的要素全部用面相对象来描述。 请求:数据地址+操作说明; 响应:响应头+响应体。 阅读全文
posted @ 2017-07-18 15:45 zzfx 阅读(225) 评论(0) 推荐(0)
摘要: https://en.wikipedia.org/wiki/First-class_function In computer science, a programming language is said to have first-class functions if it treats func 阅读全文
posted @ 2017-07-16 14:33 zzfx 阅读(375) 评论(0) 推荐(0)
上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 103 下一页