Reputation: 113747
I know that the View XIB has a view already in place, but are there any other differences? I've read tutorials which say to create a View XIB, change the class and delete the view, then insert a Table View and remake the connections (File's Owner to the Table View, Table View delegate and datasource back to the File's Owner). Is there any difference in the end result if I follow these steps:
Upvotes: 3
Views: 924
Reputation: 17811
No, there is no appreciable difference between an View XIB and an Empty XIB with a Custom View dragged in.
There are no connections in a View XIB initially, so no connections to "remake".
What you describe will work fine, there is no difference between that and creating a View XIB, deleteing the view and continuing from step 2.
You can actually open the .xib files in BBEdit and compare them to see the trivial differences between the XML.
Upvotes: 7