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 |
Tags
- Bitcode
- 페이백
- 신도림
- setting
- Example
- Check
- IOS
- swift
- LG유플러스
- 아이폰7
- loop
- push
- 스마트폰
- 포켓몬 GO
- 앱스토어
- afterdelay
- GCD
- 보라카이
- 공략
- UITableView
- Xcode
- UIView
- swift3
- 샘플
- 해몽
- 얻는법
- simulator
- 신도림 테크노마트
- 포켓볼
- error
Archives
- Today
- Total
목록Example (2)
도래울
Swift3 Async Callback function example
print("completionHandler시작") self.callBackTest(param1: "param1") {retStr in print("completionHandler끝 ret : \(retStr)") } print("completionHandler비동기") private func callBackTest(param1 :String ,completionHandler:@escaping (_ ret : String) -> Void) { DispatchQueue.global(qos: .userInitiated).async { print(param1) for i in 0..
개발/iOS
2017. 7. 12. 16:10
swift uitableview checkbox example
Try this:var checked = [Bool]() // Have an array equal to the number of cells in your table func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = self.tableView.dequeueReusableCellWithIdentifier("cell") as! UITableViewCell //configure you cell here. if !checked[indexPath.row] { cell.accessoryType = .None } else if checked[indexPath.r..
개발/iOS
2016. 7. 13. 08:56