简体   繁体   中英

Error with subclass of UITableViewController after changing the class name

I corrected a typo in the class name, and corrected it everywhere necessary (.h,.m, and any class that imported this class).

The application compiles and runs just fine, but when i initiate and push this viewController, the application crashes with this message: "loaded the "OldTracksViewController" nib but didn't get a UITableView"

But i do not have a nib file of that name, and never had. I only changed the class name, and it was working fine before that.

I googled it, but i could not find with the exact issue as mine.

Try clean and clear. Optionally try to delete the DerivedData folder.

clear: ⌘ ⇧ k

clean: ⌘ ⌥ ⇧ k

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM