no "UITableViewCell Subclass" option in XCode under AddNewfile?
In some web articles in the past I see 开发者_如何学Goan option in Xcode to add a new file using a "UITableViewCell subclass" template. For example here.
I can't see this in Xcode myself (I have the latest version, v4 of xcode).
Anyone know anything about this?
- Choose
Objective-C class
- Press Next
- Select
UITableViewCell
from the dropdown menu
It is a bit weird but it is.
You want to add an Objective C class (Under Cocoa Touch), then you'll be presented with a "Subclass of..." dialog. Select UITableViewCell.
精彩评论