Ibz
Ibz

Reputation: 518

Parse .ics data in an iPhone project

I am making an iPhone application, and I want to use libical to parse .ics dat from an .ics file or from the URL location of the .ics file.

Firstly, how would I go about using libical in my project? How can I add it into my iPhone project, etc.? I’ve seen some guides, but they seem to be specific to OSX projects and not iPhone projects..

Secondly, how can I parse event names and their descriptions, so that I can store the event names/ descriptions as variables?

Is this possible using libical? If so, roughly how may I go about implementing this?

Upvotes: 3

Views: 3912

Answers (2)

Zaky German
Zaky German

Reputation: 14334

.ics data files are relatively easily parsable. Open one in a text editor and take a look.

I've implemented an ics parser before for exactly what you're trying to do. It took me a couple of hours, and trying to get all sorts of libraries to compile used taken me more in a few occasions :)

Upvotes: 3

7vikram7
7vikram7

Reputation: 2824

I found an excellent library for parsing .ics files. There are a whole lot of functions too for other tasks, like managing calendar and calendar events.

MXLCalendarManager

Upvotes: 2

Related Questions