天天看点

using GDataServiceGooleDocs batch operation

 this time we talk about how to use batch opertaions.

1.The GDataServiceGoogleDocs Provides 

- (GDataServiceTicket *)fetchFeedWithBatchFeed:(GDataFeedBase *)batchFeed

                               forBatchFeedURL:(NSURL *)feedURL

                                      delegate:(id)delegate

                             didFinishSelector:(SEL)finishedSelector

2.create a new GDataFeedDocList yourself.

3.create a list of entries you wanna to update,assign the resouceID,identify,Etag to the new entries.(assume you wanna to update the entries)

4.set new attribute to the entries

5.pass the feed & other parameters to invoke the fetchFeedWithBatchFeed...

all will be ok! so easy!

继续阅读