Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 신도림
- UIView
- swift3
- IOS
- 해몽
- swift
- Example
- 얻는법
- 보라카이
- 페이백
- 포켓몬 GO
- 아이폰7
- 포켓볼
- LG유플러스
- 앱스토어
- push
- UITableView
- simulator
- GCD
- 스마트폰
- error
- Bitcode
- 신도림 테크노마트
- Xcode
- afterdelay
- setting
- 샘플
- loop
- 공략
- Check
Archives
- Today
- Total
목록INSIDE (1)
도래울
swift Get button click inside UI table view cell
1) In your cellForRowAtIndexPath: method, assign button tag as index:cell.yourbutton.tag = indexPath.row;2) Add target and action for your button as below:[cell.yourbutton addTarget:self action:@selector(yourButtonClicked:) forControlEvents:UIControlEventTouchUpInside];3) Code actions based on index as below in ViewControler:-(void)yourButtonClicked:(UIButton*)sender { if (sender.tag == 0) { // ..
개발/iOS
2016. 7. 13. 09:22