Reputation: 2214
I've created a new xib by New File->View. So, I put a name for my class which is a child of UITableViewCell.
But in the next inlay there is no option of where to put in a reuse identifier.
I tried this several times and it's all the same. Could anyone suggest me how to fix it?
Upvotes: 2
Views: 870
Reputation: 2082
If you have want to set Reuse Identifier for cell, then must use cocoatuch file with xib select see below image. You can't create seperate xib, coz xib file have no any property like Reuse identifier.
Upvotes: 1
Reputation: 4885
it looks like you selected something else, Not TableViewCell
Please see below screenshot
Upvotes: 2
Reputation: 1821
create UITableViewCell like this bcs you take the uiview and extend the tableviewcell class
see second image you have UIView not cell
Upvotes: 2