• 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: Strange Behavior With Variable Names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Behavior With Variable Names


  • Subject: Re: Strange Behavior With Variable Names
  • From: Cameron Hayne <email@hidden>
  • Date: Wed, 29 Mar 2006 14:28:50 -0500

On 29-Mar-06, at 7:29 AM, Ruedi Heimlicher wrote:

When I create, in IB, an instance variable of type NSPopUpButton with the name 'NamenPop' (there is no german word for PopUp), the Object is not loaded at startup and is nil after awakeFromNib. This happens sometimes, not with every variable with the ending 'Pop', but does not change after a reboot. Changing the name to 'NamenPopKnopf' solves the problem and everything works fine.

Do you have a method named "setNamenPop" ?
If so, you are colliding with the naming conventions of Key Value Coding.
See question 3.7.4 in this Cocoa FAQ: http://www.alastairs-place.net/ cocoa/faq.txt


--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Strange Behavior With Variable Names (From: Ruedi Heimlicher <email@hidden>)

  • Prev by Date: Re: std::log10() problem
  • Next by Date: Xcode and clicking on java stack traces in the Run Log.
  • Previous by thread: Strange Behavior With Variable Names
  • Next by thread: Show Assembly and Preprocess Woes
  • Index(es):
    • Date
    • Thread