Reputation: 2098
In Xcode 4, I failed to find where to set UITableViewCell's Identifier, can anybody helps me? Thank you very much.
Upvotes: 3
Views: 7850
Reputation:
In code:
myTableViewCell.reuseIdentifier = @"CustomIdentifier";
In the interface design document (right-click and view image to get a bigger picture):
.xib
file containing your cell design.UITableViewCell
object within the .xib
Upvotes: 5
Reputation: 3171
When you create a new UITableViewCell
in an interface document, select it, show Utilities by pressing Cmd+Opt+0. Under the "Attributes" inspector the first object is your identifier.
Upvotes: 1