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