概要
CollectionView
を使ったViewControllerに遷移しようとしたら
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier recipesCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
対策
参考
・Xcode - TableViewを表示できない|teratail
segueで別のやつ
VCから引っ張るんじゃなくてUIから引っ張るとめんどいことになるから気をつけて
segueはVC間で繋いで
idだけ指定して
遷移させたいタイミングでperformSegue
を書けばいい(この時idを指定する)