Prepares a reusable cell for reuse by the table view's delegate.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
UITable object is reusable—that is, it has a reuse identifier—this method is invoked just before the object is returned from the
dequeue. For performance reasons, you should only reset attributes of the cell that are not related to content, for example, alpha, editing, and selection state. The table view's delegate in
table should always reset all content when reusing a cell. If the cell object does not have an associated reuse identifier, this method is not called. If you override this method, you must be sure to invoke the superclass implementation.