摘要:
Objective -C Memory Management内存管理第一部分 Memory management is part of a more general problem in programming called resource management. 内存管理是资源管理的一部分。 Every computer system has finite resources for ... 阅读全文
摘要:
Objective-C Foundation框架 Example:Looking for Files查找文件NSFileManager. The NSFileManager class lets you do stuff with the file system, like create direc... 阅读全文
摘要:
Objective - c Foundation框架详解2Collection AgencyCocoa provides a number of collection classes such as NSArray and NSDictionary whose instances exist jus... 阅读全文
摘要:
object -c OOP ,源码组织,Foundation框架详解1 1.1 So what is OOP? OOP is a way of constructing software composed of objects. Objects are like little machines living inside your computer and talking to e... 阅读全文
摘要:
Objective - c Chapter 1 Hello world 1.1 1.2.On the Welcome screen, click "Create a new Xcode project" (see Figure 2-1), or just chooseFile ->New ->N... 阅读全文
摘要:
Compiler 1.6.5 —1.6.7Dynamic Scope Technically, any scoping policy is dynamic if it is based on factor(s) that can be known only when the program exec... 阅读全文
摘要:
13 Red-black Trees Red-black trees are one of many search-tree schemes that are "balanced" in order to guarantee that basic dynamic-set operations take O(lgn) time in the worst case. Red-black ... 阅读全文
摘要:
12. binary search Trees The search tree data structure supports many dynamic-set operations,including search ,minimum,maximum,predecessor,successor ,insert ,and delete. Thus, we can use a se... 阅读全文
摘要:
11 Hash tables Many applications require a dynamic set that supports only the dictionary operations INSERT, SEARCH, and DELETE. For example, a compiler that translates a programming language mainta... 阅读全文
摘要:
Algorithms 10.3 Implementing pointers and objects and 10.4 Representing rooted trees Allocating and freeing objects 分配和释放对象it is useful to manage the ... 阅读全文