genie
genie

Reputation: 45

iOS programming - calendars

I'm in the process of creating an app that would use iCal format calendars, most likely stored by Google in Google Calendars.

What's the best approach to achieve this? I don't really want to import my calendars in the iOS calendar app.

Should I got through the hassle to recompile the library of iOS and all that?

Thank you. Genie

Upvotes: 1

Views: 3462

Answers (2)

Caleb
Caleb

Reputation: 125017

You'll need some sort of code to parse iCal calendars, so it stands to reason that you'll either write that yourself or use somebody else's code. Here's a SO question that covers building libical for iOS, with a link to a (possibly) helpful blog entry. The blog does indeed make it sound like a hassle, but as that entry is also several years old and covers iPhoneOS 2.0 (long before it was even called iOS), things may not be so bad.

There's also an Objective-C wrapper which may make using libical that much more pleasant. If you try it, please let us know how it works.

Upvotes: 1

arthurfonseca
arthurfonseca

Reputation: 171

If you're looking for a component to build a Calendar, i think this one will work:

http://code.google.com/p/scm-subversion/source/browse/trunk/iPhone/CalendarTest/Calendar/KLCalendarView.h?spec=svn11&r=11

All months transactions, and UI designs were built and i haven't seen any better components, i think that is worthy for you to take a look.

if you're looking to build your own calendar, you could use this one as example.

Upvotes: 3

Related Questions