2012-11-15 3 views
0

을 추가 안녕하세요 내가 jQuery과가 있지만 공간에서 각 행 중에 예를 automatically.For 추가 ABC AAA VVV TTT BBB 다음 마지막 항목은 사전에 beginning.Any 도움말 들으에서 다시입니다!자동 공백은

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ 


    if(tableView == tableAttendeeList) 
    { 
    static NSString *[email protected]"AttendeeCell"; 

     UITableViewCell *tvc = [tableView dequeueReusableCellWithIdentifier:cellName]; 
     NSLog(@"%@",tvc.textLabel.text); 
     NSLog(@"%i",indexPath.row); 
     if (tvc == nil) { 
      tvc=[[[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellName]autorelease]; 
      HMAttendee* attdee = [[HMMainManager getSharedInstance].currentMeeting.arrMeetingUsers objectAtIndex:indexPath.row]; 
      NSLog(@"%@",attdee.strName); 

      tvc.textLabel.text = attdee.strName; 

     return tvc;  
     } 
     HMAttendee* attdee = [[HMMainManager getSharedInstance].currentMeeting.arrMeetingUsers objectAtIndex:indexPath.row]; 
     tvc.textLabel.text=attdee.strName; 
     return tvc; 

    }//end if 
+0

잘못 인쇄 된 예제는 무시하십시오. – Azerue

답변

0

k 해결책을 찾았습니다. thx 어떤 식 으로든 들여 쓰기 변경 lvl

tvc.indentationLevel = 0; 
tvc.indentationWidth = 0; 
관련 문제