Questions tagged [calendar-store]

11 questions
4
votes
2 answers

Get / Set calendar events on iCal (programmatically)

is there any objective C API or object that can give me access to the iCal and its events? I need to read the calendar events for a given date and optionally set a new event. The code is either plain C or objective C (in the GUI version of the…
Uri
  • 1,275
  • 6
  • 17
  • 26
4
votes
0 answers

How do you access all CalDAV calendars/events on OSX?

I want to access all the calendars that a user can see in iCal on OS X. I know about EventKit and CalendarStore. However, it seems that both of those frameworks omit CalDAV delegate calendars (which are visible in iCal). Others have noticed this as…
sam
  • 3,399
  • 4
  • 36
  • 51
3
votes
4 answers

API for showing free/busy time in iCal (Apple people?)

In Snow Leopard there is a possibility to show free/busy time in iCal event. I've searched the headers of CalStore.framework and couldn't find any property that describes this field. How can i retrieve free/busy property of calendar event?
Nava Carmon
  • 4,523
  • 3
  • 40
  • 74
2
votes
1 answer

How to invoke ical sync service?

I have an application that syncs with iCal through the Calendar Store framework. I've noticed that I need to open iCal for the sync service to start and transfer events and tasks added with my application to my ipad and iphone. So.. my question, is…
the Reverend
  • 12,305
  • 10
  • 66
  • 121
2
votes
4 answers

Multiple methods named 'location' found with mismatched result, parameter type, or attributes

I have read the other questions concerning multiple methods but still do not know how to fix my code. I would be grateful for help with this. I have put a * around the statement where the error occurs. - (UITableViewCell…
user3331154
  • 177
  • 1
  • 11
2
votes
1 answer

How to get file path of a CalCalendarItem?

I want to add meta data to an iCal event (task) with OpenMeta. Therefor I need the path to the file that contains the event (task). Is there a possibility to get this programmatically if a have a certain CalCalenderItem?
Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143
2
votes
2 answers

Export iCal events to .ics file on osx

i need to create application which export all iCal events to isc file.Can you advice me how i can to do? With Cocoa Application, Command Line Tool or AppleScript Application?....I am trying to do this with AppleScript Application, using…
Max
  • 319
  • 2
  • 9
1
vote
0 answers

Programmatically trigger CalendarStore sync with iCloud?

I'm using the CalendarStore API to create tasks (CalTask items). My assumption is that by doing so these items would be automatically synced to iCloud (assuming the user has this setup in System Preferences). In fact, the CalendarStore docs…
zpasternack
  • 17,838
  • 2
  • 63
  • 81
1
vote
1 answer

Calendar Store: how to distinguish event calendar from task calendar?

I'm working on an app that has a reminder component. I'm using Calendar Store to get a list of calendars, and I want the user to choose which calendar they'd like to add a task to. The problem is, CalCalendar seems not to distinguish between event…
zpasternack
  • 17,838
  • 2
  • 63
  • 81
1
vote
1 answer

Calendar Store event location to array object

This is my first post here. I am only a little experienced with Obj-C. I develop in the very deprecated AppleScript Studio in XCode 3 on Lion, but have created a few Obj-C libraries for use in my software. These libraries are designed to pass…
1
vote
2 answers

CalEvent startdate and enddate differences with iCal and my app

If I create a new event on ICal and set it to be a all day event - my app shows that it lasts 2 days. I used nslog to output startdate and enddate and for event on 8.5.2012 my application says event ends on 9.5.2012 at 21.00(9pm). What causes this…
jake1981
  • 303
  • 3
  • 11