Archive for » May, 2010 «

MapKit with iPhone SDK

Just found a great tutorial on using MapKit.  Will try it out later with the application.

Category: MapKit  Leave a Comment

GoggleDocs Spreadsheet headers need no spaces

I have downloaded speadsheets before with GoogleDocs Spreadsheet API, but never with headers that have spaces in between them.

Was assuming that this will work with header titles with no spaces, but was wrong.  Remove the spaces between the title wording and the API continue to work as before.

No sure if this is a bug, but it seem strange that header titles cannot have spaces between words.

Example Headers before, not working
Display Name    E-mail Address

Example Headers after, working
DisplayName    E-mailAddress

for (int count = 0; count < entriesCount; count++) {

entry = [[mEntryFeed entries] objectAtIndex:count];
listEntry = (GDataEntrySpreadsheetList *)entry;
customElements = [listEntry customElementDictionary];
enumerator = [customElements objectEnumerator];

while ((element = [enumerator nextObject]) != nil) {

kName = [element name];
kValue = [element stringValue];
NSLog(@”kName kValue %@”, kName, kValue);

Category: Google Docs  Comments off

First look at iPhone 3.2 SDK

iPhone 3.2 works for both iPad and iPhone platform.  The iPad simulator is damn small within my Macbook display.  Guess it’s part of Apple’s plan to encourage me to get a larger MacBook or a 20″+ display.

Quick look at the SDK shows some new APIs for displaying on iPad.  With the larger screen estate, much more effort on designing the work areas.  Need to read the updated UI guidelines for iPad.

Category: Xcode, iPad  Leave a Comment

iPhone OS 3.2 downloaded & installed

Even though iPhone OS 4.0 beta 3 just release, I myself not in a habit to using beta.  Been using 3.1 for quite some time and getting used to it.

Like the static analyzer and now it compiles faster than before.  Using LLVM GCC4.2 compiler and like it much for the speed.  Shows potential bugs which I need to optimized.

iPhone Address Book API

Was looking through the dev docs and trying to learn more about it.  Guess what?

The Address Book classes doc are not updated.  Have to search for the Address Book Programming Guide for iPhone OS in the net.  This is much better doc as compared to the online xcode dev doc.

Now to work on that address book.

p.s

There are two Address Book API.  One for MacOS X and the other for iPhone OS.  The API for iPhone does provide the basic functionality that I need.  However, I really want some functionality catered for MacOS X.

gdata objective client 1.10.0

Downloaded the API about 2 weeks ago.  Now’s the time to replace the existing  1.9.

Should be same for me as still using only the Spreadsheet API.  Later, will need to find a way to store last modified file so as not to download if requested.

Maybe that’s for version 1+.

Import vcard using GData

Looking into importing vcard using GData.

Likely to be using some sort of contacts and address for a project.  What’s a better way than using an open standard such as vCard as payload.

Have done some code for GData for spreadsheet import and export.  Need to find some examples for this.  Could be a really useful code to have for managing contacts.  Also, will be using ABAddressBook API which is handy with vCard.

vCard is text based.  Simply put the contents of the vcard into one of the spreadsheet cell.  Then import as string and then convert to NSData for use when needed for address.