Re: iCal calendar parser
Re: iCal calendar parser
- Subject: Re: iCal calendar parser
- From: "Ian G. Gillespie" <email@hidden>
- Date: Mon, 10 Feb 2003 08:03:09 -0800
Hi Aidas,
Thanks for your encouragement. I tried opening an iCal file (.ics)
with Property List Editor and nothing happened. Does this mean that it
is not in XML format? If this is the case, then probably the best
thing to do is get the string from an .ics file and search through it
looking for words like: BEGIN:VEVENT and then extract the time and such.
~Ian
On Monday, February 10, 2003, at 03:49 AM, Aidas Dailide wrote:
Hi,
Actually this should be very easy with Cocoa. I guess iCal format is
xml-based,so it will bi very easy to parse it. There are functions like
NSArray initWithConentsOfFile:(file name) that helps you do that.
After you
do this, you can simply call functions like
objectForKey:CalendarName(this
depends on iCal file format,wich you must explore).
Hope this will help, if you need additional info, please don't
hestatite
and contact me.
Aidas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.