Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UITableView "Content" field not appearing in XIB file (Xcode 5 & 6)

I'm having a weird issue that I'm really not sure what to do about. The problem is simple: In one Xcode project (both in Xcode 5 and Xcode 6 Beta 4), I see "Content" and "Prototype Cells" when I click on a UITableView in a storyboard file:

Expected result

However, in another project, these are simply not appearing in an XIB file:

Actual result

Does anyone have any idea how to get "Content" and "Prototype Cells" to consistently appear in both .storyboard and .xib files? Thanks!

like image 331
rebello95 Avatar asked Aug 23 '14 06:08

rebello95


1 Answers

I hope you are looking this UITableView in the Storyboard only.

When I was looking for your problem's solution I found the below observations :

  1. When I Drag TableView over a View Controller / TableViewController to storyboard, Then I found First screenshot in Attribute Inspector.

When I created a xib file by using File-> New-> File -> Objective C file and selected UitableViewController with interface builder.

Then I found Second screenshot in Attribute Inspector.

I hope this might help you.

like image 180
R_Developer Avatar answered Oct 14 '22 04:10

R_Developer