• 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: Rick Mann <email@hidden>
  • Date: Fri, 18 Jul 2008 21:44:48 -0700


On Jul 18, 2008, at 21:37:59, Diop Mercer wrote:

Rick, I think all you need to do is say:

//set
someobject.someproperty = foo;

//get
bar = someobject.someproperty;

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.


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.



-- Rick

_______________________________________________

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


  • Follow-Ups:
    • Re: Dot Syntax docs missing?
      • From: Jens Alfke <email@hidden>
References: 
 >Dot Syntax docs missing? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Dot Syntax docs missing?
  • Next by Date: Re: Dot Syntax docs missing?
  • Previous by thread: Re: Dot Syntax docs missing?
  • Next by thread: Re: Dot Syntax docs missing?
  • Index(es):
    • Date
    • Thread