Pass data Through segue not working in swift 3 any solution?

后端 未结 2 664
感情败类
感情败类 2021-01-28 14:40

i have passed data from didselect method of collectionView like this

 func collectionView(_ collectionView: UICollectionView, didSelectItemAt index         


        
2条回答
  •  南方客
    南方客 (楼主)
    2021-01-28 15:46

    In addition to above answer you should expect a lot of changes of method names like: prepareForSegue to prepare or String.substringFromIndex to String.substring. The obvious method name endings are ommited/moved to the label of 1'st argument.

提交回复
热议问题