My app description,
NSMutableArray with some items (say 1- 50)NSArrayController and add/bind that array to this arrayControllerNSTableView to my view and populate them using the concept of BINDINGS. NSSearchField and complete the app by adding/binding the NSArrayController with searchField. I would like to know if this approach is how it is meant to be, I have searched but couldn't find a way of displaying populated arrays in a NSTableView using NSArrayController binds.
Help me through.
If you wish to combine several predicates, follow Mikael steps and do:
(self.name contains[cd] $value) OR (self.title contains[cd] $value)
NSSearchField to the same NSArrayController you use for the NSTableView
NSSearchField under Search and Predicate set the Controller Key to filterPredicate and Display Name to predicate
self.name contains[cd] $value If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With