I have been following these instructions to help integrate iCloud support with CoreData and I am getting some errors.
I have this in my AppDelegate:
Resolved by moving the let moc = DataController().managedObjectContext to the top of the class rather than leaving inside of the func seedPerson()