On Nov 20, 2009, at 12:09 PM, Michael de Haan wrote:

> Does the, in your opinion, "optional" addition pretty much replace categories 
> as a whole, or is there still a role for them?

It replaces informal protocols. There are many other uses for categories, like

* Breaking a class implementation across several source files
* Declaring private/internal class methods that a few other classes are allowed 
to call
* Declaring some of a class's methods in other headers (ones that only make 
sense in the context of that other header)
* Adding methods to a pre-existing framework class

—Jens_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to