Re: Strange Behavior With Variable Names
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