hosed IBOutlets
hosed IBOutlets
- Subject: hosed IBOutlets
- From: Paul Forgey <email@hidden>
- Date: Sat, 19 Feb 2005 16:15:17 -0800
I've got an NSWindow derived instance in my nib file which has, among
many other things:
IBOutlet NSTextField *progressText;
IBOutlet NSProgressIndicator *progress;
My code and Interface Builder both agree (or seem to) about my outlets.
In the Interface Builder UI, I can clearly see these correctly
assigned to an NSTextField and NSProgressIndicator.
When the bundle loads (in this case, it's the application's main
bundle), I get this out the log:
2005-02-19 16:06:56.945 My App[2200] *** -[NSProgressIndicator
copyWithZone:]: selector not recognized
2005-02-19 16:06:56.947 My App[2200] An uncaught exception was raised
2005-02-19 16:06:56.947 My App[2200] *** -[NSProgressIndicator
copyWithZone:]: selector not recognized
2005-02-19 16:06:56.947 My App[2200] *** Uncaught exception:
<NSInvalidArgumentException> *** -[NSProgressIndicator copyWithZone:]:
selector not recognized
At this point, progress is nil and progressText purports to be an
NSTextField. However, if I attempt to call setStringValue: on it, I
get a SIGTRAP without any further messages.
It almost seems to me Interface Builder maybe corrupted my nib? Is
there any way to recover from this without loosing my day's work?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden