• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iCal calendar parser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: iCal calendar parser (From: "Aidas Dailide" <email@hidden>)

  • Prev by Date: Re: Splash Screen Strategy?
  • Next by Date: Re: Duplicating Apple search field UI
  • Previous by thread: Re: iCal calendar parser
  • Next by thread: RE: iCal calendar parser
  • Index(es):
    • Date
    • Thread