I am learning Xcode/Swift from Ahmad Sahar's book and I have an exception error:
The previous action that I did was to Ctrl + Drag from the exploreCell in the ExploreViewController Scene to the RestaurantListViewController Scene, creating a 'Show' Segue.
As I am a beginner I am not sure what the error is telling me?
Can someone help and show me where I am going wrong?
Code Block Exception NSException * "could not dequeue a view of kind: UICollectionElementKindCell with identifier restaurantCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard" 0x00006000002d06c0 name __NSCFConstantString * "NSInternalInconsistencyException" 0x00000001c3059170 reason __NSCFString * "could not dequeue a view of kind: UICollectionElementKindCell with identifier restaurantCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard" 0x00006000037a09c0 userInfo void * NULL 0x0000000000000000 reserved __NSDictionaryM * 2 key/value pairs 0x0000600000cf0480
The previous action that I did was to Ctrl + Drag from the exploreCell in the ExploreViewController Scene to the RestaurantListViewController Scene, creating a 'Show' Segue.
As I am a beginner I am not sure what the error is telling me?
Can someone help and show me where I am going wrong?