How do I open/edit a document's contents

2 views
Skip to first unread message

Al

unread,
Nov 22, 2009, 4:13:16 AM11/22/09
to Google Data APIs Objective-C Client Library Discussion
I am using the Objective-C API in an iPhone application. I would like
to know how to export a document as a text file?

Can someone show me the simple code to do this. The DocList tutrial is
a bit confusing and hard to follow. The code seems to be spread over
several metods.

Greg Robbins

unread,
Nov 23, 2009, 1:30:11 AM11/23/09
to gdata-objec...@googlegroups.com
The example application's saveDocEntry:toPath:exportFormat:authService: method and its fetcher:finishedWithData:error: callback method do all the work of exporting a document entry to a text file.

Obtaining the entry for the document from the user's document list feed is a separate task; the fetchDocList method of the example application shows how to obtain the feed.


Reply all
Reply to author
Forward
0 new messages