• 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
Re: Dot Syntax docs missing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dot Syntax docs missing?


  • Subject: Re: Dot Syntax docs missing?
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 18 Jul 2008 21:52:48 -0700


On 18 Jul '08, at 9:44 PM, Rick Mann wrote:

I know how to use the dot syntax in the typical case. What I want is an authoritative reference on how property names change case to match accessor functions I define.

It's probably described in the documentation for Key-Value Coding.

If you have a choice, avoid using dot syntax at all.

Really? Why? Seems like Apple encourages it quite strongly, and I frakking hate square brackets.

I agree. Some people might have a religious objection to dots, but I find they're easier to type and make the overall syntax a lot clearer.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >Dot Syntax docs missing? (From: Rick Mann <email@hidden>)
 >Re: Dot Syntax docs missing? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Dot Syntax docs missing?
  • Next by Date: property name-to-accessor munging? (was: Dot Syntax docs missing?)
  • Previous by thread: Re: Dot Syntax docs missing?
  • Next by thread: Re: Dot Syntax docs missing?
  • Index(es):
    • Date
    • Thread