This is for version 3.0 of Core Data by Tutorials
On page 183, it tells us to run unit tests…
Xcode 8 gives the following error:
cannot inherit from non-open class ‘CoreDataStack’ outside of its defining module
It looks like the Starter project may have an error. If you change
public class CoreDataStack {
to
open class CoreDataStack {
then all is well.
Credit where credit is due… I googled the error and found this [SO post] (xcode - "Cannot inherit from non-open class" swift - Stack Overflow) about the error.
Thanks,
Del