Is it possible to Get the data on a specific cell on Google spreadsheet and show it to iOS app Text fields. For Example, this Spreadsheet https://docs.google.com/a/ttttt.us/spreadsheet/ccc?key=0AkgWFqjLQz0TdEJSb3pYem9UcHo1Uzd0SU1QWm5xRFE#gid=0
I have an iOS app that has 2 Text fields. I want to show this Cells on each textfields I have. Everytime that the App opens, or maybe have some interval to refresh if the data in spreadsheet is changed. I hope someone will help me, thank you.!
EDIT:
i forgot to tell that i have a SpreadSheetApp delegate that can show a column of text to UIPickerView, when i click a text field that connected to that outlet, it shows the text and i can choose what i want.
NSString *theURL = @"https://docs.google.com/spreadsheet/pub?key=0AkgWFqjLQz0TdHdMQzBsc1lhaGFPZEFCYXBLWEt1Q0E&single=true&gid=1&output=txt";
NSString *theFile = [NSString stringWithContentsOfURL:[NSURL URLWithString:theURL] encoding:NSUTF8StringEncoding error:nil];
NSLog(@"%@",theFile);
NSArray *theCells = [theFile componentsSeparatedByString:@"\n"];
and this is the picker view code:
-(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row
inComponent:(NSInteger)component
{
switch (selectedTable) {
case 0:
self.txtLocation.text = [self.ar objectAtIndex:row];
break;
case 1:
self.txtQuantity.text = [self.ar objectAtIndex:row];
break;
now, how can i show the text without using picker view to select it, Instead it will automatically type in textfield when the app opens.