IndexPathはネストされた配列コレクションのツリー内の特定のノードへのパスを管理するクラスです。
プロパティ名 | 説明 | サンプル |
---|---|---|
count | 要素数 | indexPath.count |
section | セクション | indexPath.section |
row | 行(主にtableViewで使用) | indexPath.row |
item | 行(主にCollectionViewで使用) | indexPath.item |
Foundation.framework
Category | Version |
---|---|
Swift | 3.0.2 |
Xcode | 8.2.1 |
iOS | 10.0~ |