오류 메시지가 나타나지만 오류를 찾을 수 없습니다. 누구든지 나를 도울 수 있습니까?Xcode "인스턴스로 보낸 인식 할 수없는 선택기"
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"ErgebnisseCell";
ErgebnisseCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
if (indexPath.section == 0) {
NSDictionary *aktion = self.wmXMLParser.alleAktionen [indexPath.row];
__block NSString *VP= @"";
[aktion enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
if (VP.length) {
VP = [VP stringByAppendingString:@","];
}
VP = [NSString stringWithFormat:@"%@%@ = %@", VP, key, obj];
}];
cell.spielpaarungLabel.text = VP;
포스트 전체 오류 메시지하시기 바랍니다. 클래스 이름이 – Avt
이거나 오류가 발생하는 코드 줄이 있어야합니다. – Avt
인스턴스에 해당 메소드가 없다는 의미입니다. 잘못된 인스턴스로 메시지를 보내는 지 확인하십시오. 예를 들어, 현재는 [A 메소드]이어야하지만 [B 메소드]를 호출합니다. 검사하지 않고 컬렉션을 사용하는 경우 가끔 발생합니다. –