OK, continuing this thread on a related note:

My date row templates allow me to do:

"aDate is after aSpecificDate" and "aDate is in the last 30 days"

Both of these are technically: "aDate > anotherDate"

When I -init these custom row templates, I need to pass in an array of 
operators.  I can't init both of these templates with a GreaterThan operator (I 
tried, and it complained).  There's an operator listed in the documentation, 
"NSCustomSelectorPredicateOperatorType", which is presumably used with an 
NSComparisonPredicate, but there's very very little in there about how to use 
that from within an NSPredicateEditorRowTemplate.  Can that operator type be 
used in a EditorRowTemplate (my attempts to do so have resulted in HIToolbox 
generating an Unknown Predicate Type exception)?  If not, how can I have two 
different kinds of "greater than" comparisons in the same row template?

Thanks!

Dave DeLong

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to