Plaetzchen's LQFB-for-iPhone at master - GitHub. Google data APIs connect Cocoa developers to Google. Posted by Greg Robbins, Software Engineer When you trust your personal data to Google, it's still your data. You're free to edit it, to share it with others, or to download it and take it somewhere else entirely. The principle is simple: we won't lock you away from your data.
In practice, we work hard to be sure that you and the software you use have the access that makes the principle really meaningful. Last year, Google introduced Google data APIs, based on the Atom Publishing Protocol. The native language for Mac OS X applications is Objective-C, and it's our preferred language for Mac application development. A few small examples will give programmers an idea of how natural it is to use the framework to interact with Google services.
#import "GData/GData.h" GDataServiceGoogleCalendar *service = [[GDataServiceGoogleCalendar alloc] init];[service setUserCredentialsWithUsername:@"myaccount@gmail.com" password:@"mypassword"]; [newEvent setContent:content];[newEvent setIsQuickAdd:YES]; How To Use Google APIs with iPhone SDK | John Wang.
Adding Google API support to your iPhone App could not be any easier. Google provides Objective-C APIs for: Step 1 The first step, is to head on over to the Google Code website for the Objective-C Client, download and extract the zip file source code. Alternatively, you can get the latest and greatest version via Subversion using: svn checkout If you downloaded the zip file from the website, you'll have version 1.7.0, and if you used the svn code you'll have a -read-only folder. Step 2 Open up the GData XCode Project from your downloaded folder as well as your iPhone App XCode project. Step 3 Drag over the GData Sources Folder from the GData project to your iPhone App project and add it as reference.
This will add a ton of files to your project. Step 4 Open up the build settings for your iPhone App project. Header Search Paths: /usr/include/libxml2 Other Linker Flags: -lxml2 Other C Flags: -DDEBUG=1 Step 6. Cocoa-Coding: Was ist Cocoa. ModalViews Concept. KeyboardAccessory: Classes/ViewController.m.