NSPredicateEditor and aggregate operations

2008-12-16 Thread Tom
Hi everyone, I'm trying to implement a find window using an NSPredicateEditor, but can't get it to do aggregate operations like ANY tags == 'some tag' . As far as I can see, Interface Builder doesn't cater for aggregate operations like ANY. I assume I have to subclass

Re: NSPredicateEditor and aggregate operations

2008-12-16 Thread Tom
I've got around it by implementing a kind of man in the middle subclass of NSPredicateEditorRowTemplate. I set the class of the row template to my subclass in IB and it automatically adds the ANY modifier to whatever is already configured. It removes the ANY modifier from the predicate