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 |
Tags
- IOS
- 공략
- 신도림
- UITableView
- 보라카이
- UIView
- 해몽
- loop
- 포켓몬 GO
- 샘플
- Bitcode
- 신도림 테크노마트
- 스마트폰
- afterdelay
- setting
- swift3
- Xcode
- Check
- error
- 앱스토어
- swift
- push
- 페이백
- 아이폰7
- 얻는법
- GCD
- LG유플러스
- simulator
- Example
- 포켓볼
Archives
- Today
- Total
도래울
Comparing NSIndexPath Swift 본문
var indexPath1 = NSIndexPath(forRow: 1, inSection: 0)
var indexPath2 = NSIndexPath(forRow: 1, inSection: 0)
var indexPath3 = NSIndexPath(forRow: 2, inSection: 0)
var indexPath4 = indexPath1
println(indexPath1 == indexPath2) // prints "true"
println(indexPath1 == indexPath3) // prints "false"
println(indexPath1 == indexPath4) // prints "true"
println(indexPath1 === indexPath2) // prints "true"
println(indexPath1 === indexPath3) // prints "false"
println(indexPath1 === indexPath4) // prints "true"
'개발 > iOS' 카테고리의 다른 글
| ios swift notification banner BRYXBanner (0) | 2016.08.17 |
|---|---|
| UITableView - scroll to the top (0) | 2016.08.09 |
| IOS customized activity indicator with Swift (0) | 2016.08.05 |
| disable ios8 emoticon keyboard (0) | 2016.08.03 |
| change the color of hud place of gray color (0) | 2016.08.01 |
Comments