On 10 Apr 2014, at 07:17, Graham Cox <graham....@bigpond.com> wrote: > Does anyone have a handy guide or pointer to the relevant docs which show all > the various meanings of highlight, state, appearance and button type. There > are so many combinations, and the class reference doesn't really explain it > very well (or at all). Some buttons appear to care about the highlight state, > others about the 'state', depending on type and what appearance is in use. > All seems a bit arbitrary. > > I'm creating a custom button cell that has to work in a variety of > situations, and so far it's hard to avoid a mix-up between different types > due to the conflation of the highlight and the state.
This answer I gave on Stack Overflow a while ago might help: http://stackoverflow.com/questions/6398989/nsbuttoncell-subclass-button-type-not-working/12935830#12935830 Cheers, -- Uli Kusterer "The Witnesses of TeachText are everywhere..." http://www.zathras.de _______________________________________________ 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