[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSData help needed
From: |
Dennis Leeuw |
Subject: |
NSData help needed |
Date: |
Wed, 24 Dec 2003 13:29:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 |
Hi all,
I am writing a tool that will parse the iCal data.
I am at the point that I have all file I/O figured out.
The current Calendar (and .ics file) is stored like this:
currentCalendar = [NSFileHandle fileHandleForReadingAtPath:inCalendar];
calendarData = [currentCalendar readDataToEndOfFile];
And in the same way the new data is stored. The only difference is that
the currentCalendar is in a fixed position, while the newCalendarFile is
expected from a commandline argument. This all works.
But now I need to walk through the newCalendarData to figure out where
events start and finish. But I can't find any documentation that
describes this in a newbie way.
Can someone point me in the right direction?
Thanks,
Dennis Leeuw
- NSData help needed,
Dennis Leeuw <=