I have a property 'categories' of an object that returns a list (an array) of
objects, which in turn have a property 'name'.
Can I set up a NSPredicate that can match a string against any name in this
list? How?
In IB I set the left hand side to 'categories.name' but I get the error that
On May 26, 2010, at 7:39 AM, Graham Cox wrote:
I have a property 'categories' of an object that returns a list (an array) of
objects, which in turn have a property 'name'.
Can I set up a NSPredicate that can match a string against any name in this
list? How?
In IB I set the left hand
On 27/05/2010, at 12:35 AM, Keary Suska wrote:
Not enough info: are you using Core Data, or a simple modeled relationship? I
assume the issue is about traversing a relationship--otherwise the solution
is trivial...
No, it's a simple 'to many' property in my own model, not using Core Data.
On May 26, 2010, at 8:42 AM, Graham Cox wrote:
On 27/05/2010, at 12:35 AM, Keary Suska wrote:
Not enough info: are you using Core Data, or a simple modeled relationship?
I assume the issue is about traversing a relationship--otherwise the
solution is trivial...
No, it's a simple
Le 26 mai 2010 à 16:42, Graham Cox a écrit :
On 27/05/2010, at 12:35 AM, Keary Suska wrote:
Not enough info: are you using Core Data, or a simple modeled relationship?
I assume the issue is about traversing a relationship--otherwise the
solution is trivial...
No, it's a simple 'to
Having done a *lot* with NSPredicateEditorRowTemplates and NSPredicateEditors
recently, I can confidently say that subclassing NSPredicateEditorRowTemplate
is almost always the easiest way to work with row templates.
Trying to configure them in Interface Builder is a pain in the proverbial
OK, this looks like the way forward. I'm new to the built-in UI for predicates
so I had assumed it had the model side of it covered, but it appears not.
That's a very useful bit of info to know!
--Graham
On 27/05/2010, at 3:03 AM, Frédéric Testuz wrote:
Le 26 mai 2010 à 16:42, Graham Cox a