tableView:cellForRowAtIndexPath:
Asks the data source for a cell to insert in a particular location of the table view. (required)
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
Parameters
tableView
A table-view object requesting the cell.
indexPath
An index path locating a row in tableView.
Return Value
An object inheriting from UITableViewCell that the table view can use for the specified row. An assertion is raised if you return nil.
tableView:numberOfRowsInSection:
Tells the data source to return the number of rows in a given section of a table view. (required)
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
Parameters
tableView
The table-view object requesting this information.
section
An index number identifying a section in tableView.
Return Value
The number of rows in section.
'ios aos 개발 > iPhone' 카테고리의 다른 글
[iPhone] Uivew 밀는 효과 (0) | 2011.07.11 |
---|---|
[iPhone] 어플 실행시 navigation barbutton 만들기 (0) | 2011.07.03 |
[iPhone] UIAlertView 창 띄우기, 사라지게 하기 (0) | 2011.06.18 |
[iPhone] Uitableview 선택 해제 (0) | 2011.06.01 |
[iPhone] Thread 작성법 및 UI 변수와 데이터 주고 받기 (0) | 2011.05.23 |