• 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
property name-to-accessor munging? (was: Dot Syntax docs missing?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

property name-to-accessor munging? (was: Dot Syntax docs missing?)


  • Subject: property name-to-accessor munging? (was: Dot Syntax docs missing?)
  • From: Rick Mann <email@hidden>
  • Date: Fri, 18 Jul 2008 21:53:39 -0700

I realize after all this, it's not really the Dot Syntax I need. I need to know how a property name (starts with lower-case letter) is transliterated into the getter/setter names.

On Jul 18, 2008, at 20:58:35, Rick Mann wrote:

Where is the description of the dot syntax? The top of the Obj-C 2.0 docs (Properties section) refers you "Dot Syntax." A search of ADC turns up the first hit:

The Objective-C 2.0 Programming Language: The Dot Syntax - Size: 24k
... The ... Syntax. Objective-C provides a ... ( . ... Listing 4-5 Accessing properties
using the ... syntax. Graphic *graphic = [[Graphic alloc] init]; ...
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/ObjectiveC/Articles/
chapter_5_section_4.html


Clicking that link, however, takes you to "Subclassing with Properties".

I have a property named "ep1". I need to implement accessors for it, but they're not getting called. I've tried variations of

setEp1
setep1
setEP1

none of those works.

Any suggestions? TIA,
--
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

-- 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: property name-to-accessor munging? (was: Dot Syntax docs missing?)
      • From: Ken Thomases <email@hidden>
    • Re: property name-to-accessor munging? (was: Dot Syntax docs missing?)
      • From: Andy Lee <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: property name-to-accessor munging? (was: Dot Syntax docs missing?)
  • Index(es):
    • Date
    • Thread