摘要:
参考:https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.htmlNSObject 对象 copy 方法调用NSCopying中copyWithZone方法。实现copyWithZone方法时注意(以下是翻译的原文,本人英语极烂,给位如有不同意见敬请拍砖!):1 如果当前类没有通过继承实现copyWithZone:.,那么必须在copyWithZone方法中使用alloc 或init.. 阅读全文
posted @ 2012-04-23 16:49
_嵌入式开发_
阅读(370)
评论(0)
推荐(0)

浙公网安备 33010602011771号