I have an NSArray of Strings and what I want to do is create a new CalTask (for the calendar store) for every String, I want the Name of the task to be the string that is being added, the Priority and Due Date to be set in the code.
For example I have an array with the Strings To-Do 1, TD 2, TD 3.
So I want to create 3 CalTasks, the first one with the Name To-Do 1 and the second with the name TD 2 etc. See what I’m talking about. But I want all the Priorities and Due Dates to be the Same.
What you can do is loop over the NSArray and create and add a new CalTask with a predefined priority and due date: