initWithFrame:reuseIdentifier

Discussion in 'iOS Programming' started by dbramhall, Oct 7, 2011.

  1. dbramhall macrumors newbie

    Joined:
    Aug 1, 2011
    Location:
    England, UK
    #1
    I have opened my application on Xcode and I have found that initWithFrame:reuseIdentifier is deprecated and I was wondering how I correct it... Below is the code:

    Code:
    cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
    Thanks a lot!
     
  2. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2

Share This Page