I am following a tutorial where using the UIPickerController
to operate the camera. However when implementing UICollectionViewDatsaSource
, I get an error saying that ViewController
does not conform to the UICollectionViewDataSource
protocol.
class ViewController: UIViewController, UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout, UIImagePickerControllerDelegate, UINavigationControllerDelegate
Any idea on how to fix this problem?