iCal keeps its data in a textfile (whatever.ics). This Unicode file is easily understood -- with one problem. Each entry is given a unique tag (the UID). This identifier is the same for all instances of the event if it repeats.
I have written an application that can read and write into the file, and hence display as an event on the calendar. But, to do this I make up the UID. I have no idea what algorithm Apple is using to generate this UID. Judging from the complexity if the UID, I would suppose it has other proposes than just a tag for the entry -- so I would not care to use random UIDs in the final app.
It would be really good to have a program that would read from my database (another app) and write my calendar for me. I have written the code, and except for this, am ready to run it with real data.
Does anyone have an idea where I might find the info I am looking for?
TIA
I have written an application that can read and write into the file, and hence display as an event on the calendar. But, to do this I make up the UID. I have no idea what algorithm Apple is using to generate this UID. Judging from the complexity if the UID, I would suppose it has other proposes than just a tag for the entry -- so I would not care to use random UIDs in the final app.
It would be really good to have a program that would read from my database (another app) and write my calendar for me. I have written the code, and except for this, am ready to run it with real data.
Does anyone have an idea where I might find the info I am looking for?
TIA