UITableViewCell 每次复用都会走近的方法

From the apple docs
dequeueReusableCellWithIdentifier:


If you registered a class for the specified identifier and a new cell must be created, this method initializes the cell by calling its initWithStyle:reuseIdentifier: method. For nib-based cells, this method loads the cell object from the provided nib file. If an existing cell was available for reuse, this method calls the cell’s prepareForReuse method instead.

When registering a UITableViewCell for reuse, which init method on that cell gets called?

你可能感兴趣的:(UITableViewCell 每次复用都会走近的方法)