Sunday, December 02, 2007

SimplerCalendar

I was playing with the sample calendar application SimpleCalendar. But found it has a few problems with the GM version of leopard. The sample calendar application has several bugs and warnings that prevent it from compiling. The SDK targets 10.4u and not 10.5. There is code that calls NSPredicate's -eventPredicateWithStartDate:endDate:calendars: instead the method is a member of CalCalendarStore. A method calling CalCalendarStore's -saveEvent:span:error: didn't include the error param. Even with this, the application is unable to add or remove events.

Apple Bug ID: 5625184

I was not able to figure out the problems with adding and removing events. So I created a similar application using some code from the SimpleCalendar app. It's a lot simpler than SimpleCalendar as it doesn't have a calendar view. You can download the code here. SimplerCalendar

No comments:

Blog Archive