0
테이블 뷰 셀에서 여러 값을 포함하는 문자열이있을 수 있습니다.이 문자열은 복수 또는 단일 값일 수 있습니다. 이러한 값을 googledoc으로 내 보내야합니다. 문자열의 값이 하나의 폴더에서 googledoc로 내보내집니다. 나는 이것을 원하지 않았습니다. 문자열을 여러 개로 나누고 여러 값 문자열 인 경우 seperatily로 업로드해야합니다. 업로드아이폰 SDK에서 문자열을 하나씩 나누기
내 코드
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[tableView deselectRowAtIndexPath:indexPath animated:YES];
NSUInteger row = [indexPath row];
selected[row] = !selected[row];
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
cell.accessoryType = selected[row] ? UITableViewCellAccessoryCheckmark : UITableViewCellAccessoryNone;
[tableView deselectRowAtIndexPath:indexPath animated:YES];
}
이 작업을 수행하는 방법, 제발 도와주세요 내 tableviewcode의 didSelectRowAtIndexPath
- (IBAction)doUpload:(id)sender
{
NSMutableString *str = [[NSMutableString alloc] initWithString:@"NOTES:"];
for (int i = 0; i<[appDelegate.notesArray count]; i++) {
// UPLOAD STRINGS HERE
if (selected[i])
[str appendFormat:@"%@ ,",[appDelegate.notesArray objectAtIndex:i]];
}
UploadView *uploadview = (UploadView *)self.view;
if (uploadview != nil)
{
[m_owner uploadString:str];
}
}
입니다. 미리 감사드립니다.
thnks을 업로드를 할 수 있지만,이에 STR의 모든 문자열을 업로드 one.now에 의해 separately.means 하나를 업로드해야 single upload ' – ICoder
sir "aNote Lite"는 내가이 응용 프로그램에서 참조 용으로 사용한 응용 프로그램입니다. 그물은 tableview contens notes에서 다중 선택 후 별도로 googledoc에 동기화됩니다. – ICoder
, 내가 sir.thanks에게 내가 그것을 우리가 (http://chat.stackoverflow.com/rooms/5836/discussion-between-icoder-and-peterpeiguo) – ICoder