NSObject 对象的真正架构

NSObject 其实 实现了 NSObject协议,并不像java里的 Object 类一样。此协议定义了如下方法:

Identifying Classes

Identifying and Comparing Objects

Managing Reference Counts

Testing Object Inheritance, Behavior, and Conformance

Describing Objects

Sending Messages

Determining Allocation Zones

Identifying Proxies

– isProxy required method

评论

暂无评论