Category
文章平均质量分 92
chuanyituoku
这个作者很懒,什么都没留下…
展开
-
Effective Objective-CItem 24: Use Categories to Break Class Implementations into Manageable Segments
Item 24: Use Categories to Break Class Implementations into Manageable Segments A class can easily become bloated with many methods all interspersed throughout a huge implementation file. Sometim原创 2013-12-08 16:04:11 · 785 阅读 · 0 评论 -
Effective Objective-C 2.0:Item 25: Always Prefix Category Names on Third-Party Classes
Item 25: Always Prefix Category Names on Third-Party Classes Categories are commonly used to add functionality to an existing class for which you don’t own the source code. This is an extremely pow原创 2013-12-08 16:22:45 · 1414 阅读 · 0 评论 -
Effective Objective-C 2.0:Item 26: Avoid Properties in Categories
Item 26: Avoid Properties in Categories A property is a way of encapsulating data (see Item 6). Although it is technically possible to declare a property in a category, you should avoid doing so原创 2013-12-08 16:37:24 · 971 阅读 · 0 评论