Hi all,
Could anyone please give me a hand. I would like to create a new calendar called "Your Calendar" and then add repeating events to it. I have been looking everywhere for the answer and still haven't found a good solution?
Thanks,
Iguana321
Hi all,
Could anyone please give me a hand. I would like to create a new calendar called "Your Calendar" and then add repeating events to it. I have been looking everywhere for the answer and still haven't found a good solution?
Thanks,
Iguana321
You need to look at the EventKit framework. A good place to start is the Calendar and Reminders Programming Guide.
ps I moved your thread to System Frameworks > Calendar Events, so any follow-up questions you have will be seen by folks most interested in this topic.
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
Eskimo,
Thanks once again for helping me out I do appreciate and will look on the link.
Thanks,
Iguana321
Hi Eskimo,
I've been looking on the link you provided me and got as far as configuring the reminder and my code gives me an error. When I write
store.saveReminder(foodReminder, commit: false) it gives me an error saying can "Call can throw but is not marked with 'try' and error is not handled." I have tried adding in error: NSError? to it but it says unexpected argument 'error' in call so I am left stuck. I will appreciate any help from anyone even if it is not correct.
Thanks again,
Iguana321