Deleting CalTasks through an Array.
Deleting CalTasks through an Array.
- Subject: Deleting CalTasks through an Array.
- From: Joshua Garnham <email@hidden>
- Date: Wed, 30 Sep 2009 09:32:27 -0700 (PDT)
I have an Array of strings and want to remove CalTasks with titles of any of the strings.
I know I can loop through a array with
for(NSString *title in array) {
}
and delete tasks with
removeTask:title error:nil
But it won't let me delete a CalTask object with the strings from the Array instead it wants the actual CalTask object.How would I delete a CalTask object by matching it's title to a string in an array?
Cheers.
_______________________________________________
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