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
Strange Behavior With Variable Names
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Strange Behavior With Variable Names
Subject
:
Strange Behavior With Variable Names
From: Ruedi Heimlicher <
email@hidden
>
Date: Wed, 29 Mar 2006 14:29:05 +0200
In my code in Xcode (1.0 to 2.2), I use to give the names of my instance variables an idea of their type. I add 'Knopf' (german for button) at the end of the name of a button as an example. 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.
I haven't testet this behavior with other types, where there is a really german word to use as an ending, and it is not a big problem. But I spent several hours to find that sort of bug. Naturally I first checked out my code for mistakes in every way.
Thanks
Ruedi Heimlicher
MacOSX 10.3 until 10.4.5
_______________________________________________
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
Follow-Ups
:
Re: Strange Behavior With Variable Names
From:
Cameron Hayne <email@hidden>
Prev by Date:
Re: No launchable executable present at path?
Next by Date:
Re: std::log10() problem
Previous by thread:
Re: std::log10() problem
Next by thread:
Re: Strange Behavior With Variable Names
Index(es):
Date
Thread