• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Accessor question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Accessor question
      • From: Shawn Erickson <email@hidden>
    • Re: Accessor question
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Re(2): Strange compile time error message...
  • Next by Date: Re: Accessor question
  • Previous by thread: Re: NSMailDelivery & Apple Help
  • Next by thread: Re: Accessor question
  • Index(es):
    • Date
    • Thread