• 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
Wait, that's not true... Re: Setting focus to text field in drawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wait, that's not true... Re: Setting focus to text field in drawer


  • Subject: Wait, that's not true... Re: Setting focus to text field in drawer
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 11 Aug 2003 17:49:53 -0400

On Monday, August 11, 2003, at 5:39 PM, Scott Anguish wrote:

On Monday, August 11, 2003, at 2:46 PM, Bill Cheeseman wrote:

on 03-08-11 2:15 PM, Scott Anguish at email@hidden wrote:

I prefix all my vars with this now

thisIsMyPrefix_itIsNobodyElsesPrefix_

How does this impact key-value coding for accessor methods and iVars -- for
example, for purposes of AppleScript?

The rules are the same... the prefix is considered part of the variable name.

Unless you name
your setter "setThisIsMyPrefix_itIsNobodyElsesPrefix_". Right?


Right...


No, that's wrong... as long as you have accessors as varWithoutPrefix and setVarWithoutPrefix: you'll be fine.

(Hoping I don't get into a flamewar with myself over this)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Setting focus to text field in drawer (From: Bill Cheeseman <email@hidden>)
 >Re: Setting focus to text field in drawer (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: GCC3?
  • Next by Date: Encoding/decoding a class
  • Previous by thread: Re: Setting focus to text field in drawer
  • Next by thread: Re: Setting focus to text field in drawer
  • Index(es):
    • Date
    • Thread