Re: Getting "Unknown class 'someClassName' in nib file" message
Re: Getting "Unknown class 'someClassName' in nib file" message
- Subject: Re: Getting "Unknown class 'someClassName' in nib file" message
- From: Jonathan Hess <email@hidden>
- Date: Wed, 13 May 2009 13:30:28 -0700
Hey Stuart -
Try putting a breakpoint on NSLog, and then run your app. When you hit
the breakpoint, look at the backtrace. It will give you an idea of
which NIB is being loaded. After you figure that out, open the NIB/XIB
file in IB and in the object outline view make sure the class name
table column is showing by right clicking on the table column headers.
After this, filter using the search field for the missing class name.
If there isn't one, then you should file a bug and attach the
Interface Builder document that is issuing the log message.
Jon Hess
On May 13, 2009, at 1:15 PM, Stuart Malin wrote:
I have tried both Google and searching the archives regarding the
problem with the subject message, but can only find cases where
someone has a class and didn't include it. My case is different: in
my project, I renamed a class. I have made appropriate changes in
both Xcode and IB for this (dragging the new .h file to the Nib's
document window in IB and redeclaring the class name of the affected
object in the inspector). Yet I receive the subject message in the
run log. Actually, receive it multiple times. I have used the Find
In Project function of Xcode to ensure I have no lingering
references to the old class name. I have even examined the
Nib's .xib file and searched for the old class name, and don't find
it. Somewhere a reference to the old name is lingering... how might
I find it?_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden