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
- swift
- loop
- IOS
- 아이폰7
- 해몽
- 신도림
- 공략
- error
- Check
- Xcode
- UIView
- GCD
- simulator
- 샘플
- 페이백
- afterdelay
- 앱스토어
- 스마트폰
- 보라카이
- push
- 얻는법
- UITableView
- LG유플러스
- Example
- swift3
- setting
- 포켓몬 GO
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