Den 03:46 1. april 2012 skrev Peter Teeson <ptee...@me.com> følgende:
> Thanks very much for your input guys.
>
> David:
> I had carefully read the Categories and Extensions page in OBJ-C Programming 
> Language.
> And, based on the first paragraph, assumed I could add functionality to 
> drawRect for my particular case.

You can use categories to add functionality to existing *classes*, but
you shouldn't use it to override or replace *methods* that are already
implemented in those classes.

Per

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to