Sunday, March 11, 2012

Google Blogger Objective-C API. Integrating the lib.

Just a short note to recap the steps required.
The ultimate start is http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/ and http://stackoverflow.com/questions/8972875/ios-iphone-ipad-project-with-gdata-static-library-libgdatatouchstaticlib-a-f.

My only bit of info to add is that for blogger API you'll need to add also photo "service" (-DGDATA_INCLUDE_PHOTOS_SERVICE=1), otherwise you'll get stuck on something like: 'Use of undeclared identifier 'GDataMediaThumbnail'.


And the resulting size of the lib is 2.3MB, not that bad:


This is for iOS5, but note that I'm not using ARC on my project. You are welcome to take my app Here&Near for a spin to experience that soon coming integration.

P.S. If it screws then when archiving the project, read on here: http://stackoverflow.com/questions/5206536/archiving-project-in-xcode-incorrectly-creates-multi-application-bundle


No comments: