On 15/04/2010, at 7:14 PM, Arun wrote: > Hi All, > > I have subclassed NSButtonCell and overridden some methods. > I know that we need to set the name of the subclass in the IB to get the > effects of the subclass. > Instead of setting it in the IB, is it possible to set the class in the code > itself? if yes how can we do this.
It depends. If you want to use it with a control, use -setCell:, for a table column, -setDataCell: --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