1
내 배열의 개별 요소에 액세스하려고합니다. 이것은 내가 액세스하려고 시도하는 배열 내용의 예입니다.객관적인 c의 배열에서 요소에 액세스
<City: 0x4b77fd0> (entity: Spot; id: 0x4b7e580 <x-coredata://D902D50B-C945-42E2-8F71-EDB62222C0A7/Spot/p5> ; data: {
CityToProvince = 0x4b7dbd0 <x-coredata://D902D50B-C945-42E2-8F71-EDB62222C0A7/County/p15>;
Description = "Friend";
Email = "[email protected]";
Age = 21;
Name = "Adam";
Phone = "+44175240";
}),
이름, 전화 등이 ...
어떻게 내가이 일에 대해 갈 것이라고하는 액세스하기 위해 노력하고 요소는?
UPDATE
:
OK, 지금 핵심 데이터를 찾고 이해, 어떻게 내 테이블보기에 표시되는 개체를 제거하는 방법에 대한 갈 것이라고?
(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
NSManagedObject *object = (NSManagedObject *)[entityArray objectAtIndex:indexPath.row];
NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease];
}
// Configure the cell...
return cell;
}