Re: NSPredicate & Editor questions

2009-08-13 Thread Peter Ammon
On Aug 12, 2009, at 3:20 PM, Dave DeLong wrote: Thanks for the info! I spent some time at NSCoder Night last night poking around with attempting to convert an NSPredicate into an NSCompoundPredicate using the TODParseKit and the BNF definition of NSPredicate grammar in the docs, then even

Re: NSPredicate & Editor questions

2009-08-12 Thread Dave DeLong
I figured out why it's not loading! Apparently, when doing this in a document-based application, readFromData:ofType:... is called *before* the nib is loaded, so obviously my message of [predicateEditor setObjectValue:unarchivedPredicate]; wasn't working, because predicateEditor hadn't be

Re: NSPredicate & Editor questions

2009-08-12 Thread Dave DeLong
Thanks for the info! I spent some time at NSCoder Night last night poking around with attempting to convert an NSPredicate into an NSCompoundPredicate using the TODParseKit and the BNF definition of NSPredicate grammar in the docs, then eventually gave up. =) (I figured there had to be a

Re: NSPredicate & Editor questions

2009-08-12 Thread Peter Ammon
On Aug 11, 2009, at 5:51 PM, Dave DeLong wrote: Hey everyone, Hi Dave! I'm about to embark on understanding NSRule/PredicateEditors but before I get too deep into the code, I wanted to ask a couple questions. I'm hoping to create an interface whereby the user can create an NSPredica

NSPredicate & Editor questions

2009-08-11 Thread Dave DeLong
Hey everyone, I'm about to embark on understanding NSRule/PredicateEditors but before I get too deep into the code, I wanted to ask a couple questions. I'm hoping to create an interface whereby the user can create an NSPredicate and then come back and edit it later. From what I've unders