diff --git a/README.md b/README.md index ea8824a9..3e367dd0 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ func objectsForListAdapter(listAdapter: IGListAdapter) -> [IGListDiffable] { func listAdapter(listAdapter: IGListAdapter, sectionControllerForObject(object: Any) -> IGListSectionController { - if let _ = object as? String { + if object is String { return LabelSectionController() } else { return NumberSectionController()