Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-17-2010, 07:13 PM   #1 (permalink)
Web & Software Developer
 
Join Date: Nov 2009
Posts: 94
Default Unknown class in Interface Builder file.

Hello,
I have an app I am working on, involving a TabBar app with a UITableView inside one of the views. When I run my app, in the console I get the error:
Quote:
Unknown class MainNavController in Interface Builder file.
I have checked to make sure all my header files needed are imported, but this has not fixed the problem. Please let me know if you need to see any of my code. I have tried adding flags in the Project Settings, with no luck. Any ideas?
__________________
Ryan Walters - Web & Software Developer
View my portfolio - My iPhone Applications

Turn your ToDo's into Do's with Task Master. The most powerful easy-to-use task manager in the App Store!
RyanW is offline   Reply With Quote
Old 03-17-2010, 08:34 PM   #2 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 4,814
Default Look at the objects defined in your nib files.

Quote:
Originally Posted by RyanW View Post
Hello,
I have an app I am working on, involving a TabBar app with a UITableView inside one of the views. When I run my app, in the console I get the error:

I have checked to make sure all my header files needed are imported, but this has not fixed the problem. Please let me know if you need to see any of my code. I have tried adding flags in the Project Settings, with no luck. Any ideas?
It sounds to me like at some point you created an object of type MainNavWhateverItWas in one of your nib files, and then renamed that class, or deleted it. Ar runtime, the system is trying to un-archive an object of that type, but can't find the code it needs to do so.

If you can't figure it out and want help from this forum you will probably have to post your entire project, since it's the interaction between ALL the classes in your project and all the nibfiles, AT RUNTIME, that is causing the problem.


Regards,

Duncan C
WareTo

EDIT: LOL! The auto-correction feature in 10.6 keeps changing "nibfiles" to "nibbles"!

Last edited by Duncan C; 03-17-2010 at 08:39 PM. Reason: auto-correction of
Duncan C is offline   Reply With Quote
Old 03-17-2010, 11:26 PM   #3 (permalink)
Web & Software Developer
 
Join Date: Nov 2009
Posts: 94
Default

Quote:
Originally Posted by Duncan C View Post
It sounds to me like at some point you created an object of type MainNavWhateverItWas in one of your nib files, and then renamed that class, or deleted it. Ar runtime, the system is trying to un-archive an object of that type, but can't find the code it needs to do so.

If you can't figure it out and want help from this forum you will probably have to post your entire project, since it's the interaction between ALL the classes in your project and all the nibfiles, AT RUNTIME, that is causing the problem.


Regards,

Duncan C
WareTo

EDIT: LOL! The auto-correction feature in 10.6 keeps changing "nibfiles" to "nibbles"!
Thanks for the reply. I would rather not post it all, and I will need to go through it and look at it all. Although the error says Interface Builder, should I be looking in the code, or IB itself?
Thanks
__________________
Ryan Walters - Web & Software Developer
View my portfolio - My iPhone Applications

Turn your ToDo's into Do's with Task Master. The most powerful easy-to-use task manager in the App Store!
RyanW is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 260
17 members and 243 guests
ADY, Alsahir, dacapo, Dani77, Desert Diva, djohnson, F_Bryant, Grinarn, HemiMG, jansan, linkmx, M@realobjects, macquitzon216, prchn4christ, smethorst, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:49 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0