no IBOutlets in Interface Builder in iOS
I have declared IBOutlets in the header file but when I open the开发者_StackOverflow社区 XIB file and click on the View(my class is a UIViewController sublass adopting TableViewDelegate), I see only the referencing outlets and no IBOutlet. Please advise.
NamRatha, go to File's Owner file in your Nib file, now go to the last tab in the inspector. In the class Identity choose from the list your class. You should be able to see now your IBOutlets.
You need to set your class on the controller reference, not the view.
精彩评论