-[NSProgressIndicator copyWithZone:]: selector not recognized
-[NSProgressIndicator copyWithZone:]: selector not recognized
- Subject: -[NSProgressIndicator copyWithZone:]: selector not recognized
- From: email@hidden
- Date: Thu, 08 Jan 2004 07:29:06 GMT
Hi,
I'm experiencing strange problems with IB.
I'm developing a document based app. Two outlets in MyDocument.h of type
NSProgressIndicator are
connected to two progress indicators located on the document window. This is
okay, this works fine
and with no problem.
Now I started to build another window, in another nib file,
StatusWindow.nib. A
StatusWindowController, inheriting from NSWindowController and instantiated
by
StatusWindowController *statusController = [[StatusWindowController alloc]
initWithWindowNibName:@"StatusWindow"];
again includes a NSProgressIndicator connected to a corresponding outlet in
StatusWindowController.
And exactly with this connection I have problems I don't understand. When I
run tests on my app, as
soon as the StatusWindow should be loaded, I get the following messages to
the run log (and no window display):
-[NSProgressIndicator copyWithZone:]: selector not recognized
-[NSProgressIndicator copyWithZone:]: selector not recognized
(yes, two of them, not only one). When I clear the connection from the
progress indicator to the outlet, the window shows fine, no errors. Two
other connections for a NSButton (outlet and action) are okay and work.
Is somebody out there who can explain this to me? Am I just stupid and
missing something obvious here? I read about the compatibility mode of the
nib files, that they should be the same - they are both 10.2 and up, I
double checked. I did several tests... disconnecting and reconnecting the
progress indicator in MyDocument.nib... still no problem with that. Creating
a brand new nib with only the window and a progress indicator produces the
error again (which leads me to thinking that either my IB is somehow faulty
or my brain in overlooking something realy stupid *g*).
Any help, hints or tips are greatly appriciated!
Thanks,
Joern.
_______________________________________________
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.