diff --git a/README.md b/README.md index 8b5ea12..dc59a5e 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,13 @@ import Sourcing class LabelCell: UITableViewCell, ConfigurableCell { func configure(with label: String) { - textLabel?.text = train.name + textLabel?.text = label } } //If the reuse identifier is the same as the class name. -extension TrainCell: ReuseIdentifierProviding {} +extension LabelCell: ReuseIdentifierProviding {} let labelCellConfiguration = CellConfiguration() let labelsToDispay = ArrayDataProvider(sections: [["Row 1", "Row 2"], ["Row 1", "Row 2"]])