UITableViewDataSource 썸네일형 리스트형 UITableViewDataSource 프로토콜의 주요 메서드 tableView:cellForRowAtIndexPath - 셀에 해당하는 뷰를 요청한다. UITableViewCell 을 상속받는 객체를 리턴해야 한다. (보통 UITableViewCell 을 그냥 사용) numberOfSectionsInTableView - 테이블 뷰의 섹션이 모두 몇 개인지를 알려줘야 한다. ( 1 또는 섹션의 수 만큼) 예문) -(NSInteger)numberOfsectionsInTableView:(UITableView *) tableView{ return [self.history count]; } tableView:numberOfRowsInSection - 섹션에 셀이 모두 몇 개 존재하는 지를 묻는다. 전체 항목의 개수를 리턴 (아마 numberOfSectionInTableVi.. 더보기 이전 1 다음