Hi,
I'm still stuck on that.
I tried to add another condition OR :
searchField.bind(.predicate, to: arrayController, withKeyPath: NSBindingName.filterPredicate.rawValue, options: [.predicateFormat: "(title contains[cd] $value) OR (artist.name CONTAINS[cd] $value)"])
It works :
Bur it is not what I'm looking for. I'd like to concatenate to have all the tracks which contains the string in the artist, title and album, like in the Music app :
How to do that ?
Thx.
Topic:
Programming Languages
SubTopic:
Swift
Tags: