Primitive Method
“When it comes to subclassing, knowing which methods are ‘primitive’ methods is important.
The notion of primitive methods are those methods form the basis of the public interface/class.
The rest of the methods are just convenience methods built around them. When overriding a
class behavior with subclassing, just overriding those primitive are often enough.” Ref[1]
Reference
1. Learning Objective-C -– Primitive Methods
Learning Objective-C -– Primitive Methods
2. What are the ‘primitive’ accessors for in Core Data?
http://stackoverflow.com/questions/7427373/what-are-the-primitive-accessors-for-in-core-data
3. Programming with Objective-C
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html#//apple_ref/doc/uid/TP40011210-CH1-SW1
4. A quick reference cheat sheet for common, high level topics in Objective-C (AAAA+)
https://github.com/DiamondStudio/Objective-C-CheatSheet
转载于:https://www.cnblogs.com/cwgk/p/4634003.html
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/109399.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...