RankingCell
final class RankingCell : UICollectionViewCell, ServiceProvider
Display an entry in ranking list
-
Dequeueing identifier
Declaration
Swift
static let reuseIdentifier: String -
Procedural intializer
Declaration
Swift
override init(frame: CGRect)Parameters
frameDisplay frame
-
Inject display data
Declaration
Swift
func inject(user: User?, for rank: Int, in list: Checklist, delegate: RankingCellDelegate?)Parameters
userUser if available
rankRank
listChecklist
delegateDelegate
-
Expose cell to UI tests
Declaration
Swift
func expose(list: ChecklistIndex, item: Int)Parameters
listChecklistIndex
itemIndex
-
Empty display
Declaration
Swift
override func prepareForReuse()
View on GitHub
RankingCell Class Reference