Class instance defaults: e.g. NSBrowser
Class instance defaults: e.g. NSBrowser
- Subject: Class instance defaults: e.g. NSBrowser
- From: Andrew James <email@hidden>
- Date: Wed, 17 Mar 2010 15:11:39 -0700 (PDT)
I am a relative newbie to Cocoa so I trying to make sure that my code reflects Cocoa's coding culture.
I'm interested in whether or not instances of Cocoa classes can be expected to display default behavior. I'll use NSBrowser's - (BOOL)sendsActionOnArrowKeys as an example. In Apple's documentation there's no mention of the default.
For my purposes, I want to make sure from release to release that my NSBrowser instance does send an action when up/down keys are used. Does that mean as a Cocoa developer I'm content to always code [ myBrowser setSendsActionOnArrowKeys: YES ] ? or Make sure the appropriate box is checked in Interface Builder?
Cheers,
--aj
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden