I’m confused about the two main project folders in the new (Swift 3) sample code. I’m primarily looking at PPRDataController.swift at the moment.
The PPRRecipesV3/PPRDataController.swift file handles errors and calls the completion block when an error occurs. But in the event of success, that completion block is never called. This seems…weird to me.
The PPRRecipes/PPRDataController.swift file handles errors with fatalError, but the completion block is called on success as I’d expect.
I don’t see mention of PPRRecipes in the book, so I’m unsure of the reason for the two versions. There are a few other differences too, like an “import UIKit” in V3, but the above seem to be the most pertinent differences. Is there a “correct” or “more complete” version? Or is there a book reference I’m missing?