Accessor question
Accessor question
- Subject: Accessor question
- From: Andrew Merenbach <email@hidden>
- Date: Fri, 1 Dec 2006 08:19:28 -0800
Hi, all. I had a quick question about form with regard to accessors.
I noticed that the Objective-C frameworks are not entirely consistent
with regard to accessors that employ "is" as a prefix.
NSWindow, for instance, has -isZoomed, and -setIsZoomed:, but it also
has -isOpaque and -setOpaque:. One of these, as one plainly sees,
has "setIs," and the other just uses "set." Which is the proper form
if one is using bindings and wants proper KVC coding compliance?
Cheers,
Andrew
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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