Relative Content

Tag Archive for swiftswiftui-list

Trying to filter a List by Int greater then a value

Trying to filter a list of Books by rating > 1 and getting an error – Contextual type for closure argument list expects 1 argument, which cannot be implicitly ignored – on line List(savedFavBooks.filter({$0.rating > 1})) {