On Mar 30, 2012, at 8:46 PM, Stephen J. Butler wrote: > I wouldn't trust this to be very stable. And I don't see how > subclassing is much more work than this.
Agreed. Absolutely do not do this — using categories to change the behavior of existing classes is quite dangerous. Also, why do you need to override -drawRect: for an NSMatrix anyway? Generally it's the cells you want to customize the drawing of, not the matrix that holds them. —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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