Re: Using NSPredicateEditor with core data

2010-08-13 Thread Gustavo Pizano
Peter. Thank you very much. On Aug 14, 2010, at 12:27 AM, Peter Ammon wrote: > You can get the left and right expressions, etc. by calling through to super: > > NSComparisonPredicate *superPredicate = [super > predicateWithSubpredicates:subpredicates]; > NSExpression *lhs = [superPred

Re: Using NSPredicateEditor with core data

2010-08-13 Thread Peter Ammon
You can get the left and right expressions, etc. by calling through to super: NSComparisonPredicate *superPredicate = [super predicateWithSubpredicates:subpredicates]; NSExpression *lhs = [superPredicate leftExpression], *rhs = [superPredicate rightExpression]; ... You would ret

Re: Using NSPredicateEditor with core data

2010-08-13 Thread Gustavo Pizano
Peter hello, first of all thanks for the reply. So yes, I need to cross a to-many relationship. let me see if I got this straight because my mind was heading in that same direction you commented, just I didn't know what to use or what was the name of the artifact, in this case the NSComparasion

Re: Using NSPredicateEditor with core data

2010-08-13 Thread Peter Ammon
On Aug 13, 2010, at 8:45 AM, Gustavo Pizano wrote: > Hello all once again. > > I have been searching but I hadn't found something useful, so please before > if you know a place I can look at let me know. > > I have these 3 Entities > > ExpenditureGroup: > name > icon. >