On 06/08/2009, at 10:11 PM, Mahaboob wrote:
Is it possible to use accessor methods in category? I need to add one for UIButton class. How can I do it?
You can add any methods in a category. What you can't add are additional ivars, so if the base class doesn't have the ivar you need, you're out of luck. You need to subclass to add ivars.
--Graham _______________________________________________ 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