Fetching a CalEvent with earliest startDate
Fetching a CalEvent with earliest startDate
- Subject: Fetching a CalEvent with earliest startDate
- From: Lee Gillen <email@hidden>
- Date: Mon, 4 Feb 2008 07:41:21 -0500
- Resent-date: Mon, 4 Feb 2008 07:48:29 -0500
- Resent-from: Lee Gillen <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
Given an array of CalEvents how can I fetch a single CalEvent with the
earliest startDate?
I am getting an array of CalEvents from:
NSArray *calendarEvents = [[CalCalendarStore defaultCalendarStore]
eventsWithPredicate:eventsPredicate];
I don't see any method in NSPredicate or NSExpression that allows me
to do an evaluation function @min on an object's date value ivar.
Any help is appreciated.
Lee
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden