摘要:
Objective -C Object initialization对象初始化 1.1 Allocating Objects分配对象 Allocation is the process by which a new object is born. allocation是新对象诞生的过程。 Sending the alloc message to a class ca... 阅读全文
posted @ 2015-05-06 18:05
巴山夜雨1989
阅读(375)
评论(0)
推荐(0)
摘要:
Objective-C Memory Management Being Exceptional 异常处理与内存 3.1Cocoa requires that all exceptions must be of type NSException cocoa需要所有的异常是NSException类型的。 so even though you can throw an exc... 阅读全文
posted @ 2015-05-06 16:07
巴山夜雨1989
阅读(301)
评论(0)
推荐(0)
摘要:
Objective-C Memory Management内存管理 2 2.1 The Rules of Cocoa Memory Management 内存管理规则 (1)When you create an object using new, alloc, or copy, the object has aretain count of 1. You are respon... 阅读全文
posted @ 2015-05-06 13:51
巴山夜雨1989
阅读(905)
评论(0)
推荐(0)
摘要:
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 ... 阅读全文
posted @ 2015-05-06 00:29
巴山夜雨1989
阅读(290)
评论(0)
推荐(0)

浙公网安备 33010602011771号