Table Deprecations Question [duplicate]
I keep getting this warning with the line of code below, 'initWithFrame:reuseIdentifier:' is deprecated. Not really sure what that is referring to.
cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
Deprecated means that the method will soon be unavailable in the future sdk. You can always check what you should use instead by just finding this method in the docs.
initWithFrame:reuseIdentifier:
Initializes and returns a table cell object. (Deprecated in iOS 3.0. Use initWithStyle:reuseIdentifier: instead.)
This particular method was deprecated by
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
精彩评论