티스토리 뷰
// Customize the appearance of table view cells. -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease]; // 테이블셀 오른쪽 끝에 > 나타내기 cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; } ...... //cell.textLabel.text = @"row"; return cell; }
'모바일 > iOS' 카테고리의 다른 글
UITableViewCellStyle & 구성요소 (0) | 2012.01.20 |
---|---|
Attribute Unavailable: Defines Presentation Context is not available prior to Xcode 4.2. (0) | 2012.01.18 |
iOS: 문자열에 포함된 엔티티 문자들을 엔/디코딩 (0) | 2012.01.16 |
iOS: javascript alert() 같은 경고창 구현 (0) | 2012.01.15 |
iOS: javascript confirm 같은 모달대화상자 구현 (0) | 2012.01.15 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- macos
- classic asp
- Mac
- CSS
- nginx
- Android
- sencha touch
- centos
- iphone
- JSON
- Docker
- Wordpress
- mssql
- javascript
- laravel
- Prototype
- ASP
- IE
- 워드프레스
- PHP
- JQuery
- iis
- API
- git
- Linux
- Debug
- IOS
- nodejs
- 안드로이드
- 한글
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
글 보관함