hi guys,
I have to add new row in google spreadsheet programatically from my iPhone app.
I have read gdata-objectivec-client introduction
and I am able to fetch
spreadsheets,worksheets in a particular spreadsheet
selected worksheet data (in list based and cell based)
but I am having problem in adding new row programatically
If any one has any idea plz help.................
here is my code
GDataEntryWorksheet *newWorksheet = [GDataEntryWorksheet worksheetEntry];
[newWorksheet setTitle: (GDataTextConstruct*)@"First Sheet"];
[newWorksheet setColumnCount:5];
[newWorksheet setRowCount:20];
NSURL *postURL = [[newWorksheet postLink] URL];
[service fetchEntryByInsertingEntry:newWorksheet forFeedURL:feedURL delegate:self didFinishSelector: @selector(finish)];
but an exception is occurs
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString XMLElement]: unrecognized selector sent to instance 0xe0550'
- (GDataServiceTicket *)fetchAuthenticatedObjectWithURL: (NSURL *)objectURL
objectClass: (Class)objectClass
objectToPost: (GDataObject *)objectToPost
ETag: (NSString *)etag
httpMethod: (NSString *)httpMethod
delegate: (id)delegate
didFinishSelector: (SEL)finishedSelector
completionHandler: (GDataServiceCompletionHandler)completionHandler
method of GDataServiceGoogle class
after excecuting [invocatio invoke] line

I have to add new row in google spreadsheet programatically from my iPhone app.
I have read gdata-objectivec-client introduction
and I am able to fetch
spreadsheets,worksheets in a particular spreadsheet
selected worksheet data (in list based and cell based)
but I am having problem in adding new row programatically
If any one has any idea plz help.................
here is my code
GDataEntryWorksheet *newWorksheet = [GDataEntryWorksheet worksheetEntry];
[newWorksheet setTitle: (GDataTextConstruct*)@"First Sheet"];
[newWorksheet setColumnCount:5];
[newWorksheet setRowCount:20];
NSURL *postURL = [[newWorksheet postLink] URL];
[service fetchEntryByInsertingEntry:newWorksheet forFeedURL:feedURL delegate:self didFinishSelector: @selector(finish)];
but an exception is occurs
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString XMLElement]: unrecognized selector sent to instance 0xe0550'
- (GDataServiceTicket *)fetchAuthenticatedObjectWithURL: (NSURL *)objectURL
objectClass: (Class)objectClass
objectToPost: (GDataObject *)objectToPost
ETag: (NSString *)etag
httpMethod: (NSString *)httpMethod
delegate: (id)delegate
didFinishSelector: (SEL)finishedSelector
completionHandler: (GDataServiceCompletionHandler)completionHandler
method of GDataServiceGoogle class
after excecuting [invocatio invoke] line