I copied FairListViewController
class to my project. I renamed it to ExibitorViewController
.
There is an IBOutlet
called
UITableView *fairListTableView;
in nib file. I change it with
UITableView *exibitorTableView;
Now every thing works fine. But one thing I notice that the previous tableView
IBOutlet
(which is fairListTableView
here)" name still listed on the
ExibitorViewController.xib > File's Owner > Connection Inspector > OutLets
section.
Though it was unconnected and don't bother at all. To erase it, I have to go to the nib xml file. I've done the following steps:
fairListTableView
The code I found is :
<string>fairListTableView</string>
<object class="IBToOneOutletInfo">
<string key="name">fairListTableView</string>
<string key="candidateClassName">UITableView</string>
</object>
But after saving and cleaning the project that IBOutlet
still shows up there. If anyone knows the tricks to remove it, please share with me.
Sometimes I have the same problem. Make sure you remove it from the Interface Builder, Product -> Clean and then restart Xcode.
That usually does the trick for me