From 17ceb4995eb5aa3c5c0da9a54dba9b09057d1d9a Mon Sep 17 00:00:00 2001 From: Lukas Schmidt Date: Fri, 4 Jan 2019 11:57:01 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]])