see why "type does not conform to protocol" in Xcode (swift)
When you get that error, click on the arrow to expand it. It will show the required function(s) that are missing.
Here is an example where I implement UITableViewDataSource but I have forgot to provide the "cellForRowAtIndexPath" function.