class MyCell: UITableViewCell {
let gradientLayer = CAGradientLayer()
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public protocol Diffable: Hashable { | |
var primaryKeyValue: String { get } | |
} | |
/// A type-erased diffable value. | |
/// The AnyDiffable type forwards diffing, equality comparisons and hashing operations to an underlying diffing value, | |
/// hiding its specific underlying type. | |
/// |