• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Deleting CalTasks through an Array.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Deleting CalTasks through an Array.
      • From: Stamenkovic Florijan <email@hidden>
    • Re: Deleting CalTasks through an Array.
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: [Solved] NSRunLoop method - configureAsServer alternative in 10.6.1?
  • Next by Date: Re: Deleting CalTasks through an Array.
  • Previous by thread: Dynamic NSArrayContent changing [was: NSTableColumn value binding]
  • Next by thread: Re: Deleting CalTasks through an Array.
  • Index(es):
    • Date
    • Thread