こんにちは、私はiOSと迅速に新しいです。私は最近、SWIFT 2.3に切り替え、今、私はこの方法Swift 2.3 CollectionViewのIndexPathエラー
override func collectionView(collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
任意のアイデアはこのエラー
Use of undeclared type 'IndexPath'
を取得しています?
@EricAya私はそれを試みました。 – xazb
関数は次のようにする必要があります。collectionView(collectionView:UICollectionView、cellForItemAtIndexPath indexPath:NSIndexPath) - > UICollectionViewCell –
swift 2.3とswift 3.0の構文が混乱しているようです。 – xazb