using GDataServiceGooleDocs batch operation

 this time we talk about how to use batch opertaions.ide

1.The GDataServiceGoogleDocs Provides fetch

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

                               forBatchFeedURL:(NSURL *)feedURLspa

                                      delegate:(id)delegateit

                             didFinishSelector:(SEL)finishedSelectorio

 

2.create a new GDataFeedDocList yourself.class

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)date

4.set new attribute to the entriesList

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

all will be ok! so easy!

相關文章
相關標籤/搜索