Re: some nib connections not surviving nib load
Re: some nib connections not surviving nib load
- Subject: Re: some nib connections not surviving nib load
- From: Aaron Tuller <email@hidden>
- Date: Thu, 7 Aug 2003 23:29:32 -0700
sorry, I meant it was a bug in your code, not Apple's. it's caught
me many times, like why is this outlet nil?!?!?
I usually append the type, so setYourOutletString: or something like that.
-aaron
At 1:00 AM -0400 8/8/03, Brent Gulanowski wrote:
On Friday, August 8, 2003, at 12:28 AM, Aaron Tuller wrote:
do you happen to have methods called setYourOutlet: (for an outlet
called yourOutlet)
if so, those are getting called to set the outlets and it's not
actually setting them. It's a nasty bug and really frustrating.
Oh, yeah, I didn't even think of that! NSKeyValueCoding at work! Of
course it's my fault, and unless you are referring to something
else, it is not a bug -- the setXXX methods never set the outlets,
that's not what they are for -- they set stuff in NSUserDefaults.
Doh! What da heck should I call those methods, I wonder?
Thanks!
No one really knows enough to be a pessimist. -- William Blake
_______________________________________________
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.