码迷,mamicode.com
首页 > 其他好文 > 详细

ObjC.primitive-methods

时间:2015-07-10 12:41:54      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:

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

https://ktatsiu.wordpress.com/2010/05/16/tips-of-learning-cocoa-for-a-c-programmer/

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

ObjC.primitive-methods

标签:

原文地址:http://www.cnblogs.com/cwgk/p/4634003.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!