This seems so obvious in retrospect that I can't believe I didn't think of that.
Thank you so much! Dave On Mar 12, 2010, at 2:57 PM, Peter Ammon wrote: > What you want to do here is to create two separate templates. One "looks > like" this: > > [Creation Date, Modification Date] [=, !=, <, <=, >, >=] > {NSDatePicker} > > The other looks like this: > > [Creation Date, Modification Date] [in the last] {NSTextField} > [days, weeks, months] > > > The first template is responsible for predicates with the standard operators, > and the second one is responsible for predicates with the custom operator. > At runtime, NSPredicateEditor will merge the templates together, and the > second popup will show a union of all the operators of your date templates. > > Hope that helps, > -Peter >
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