I started playing with CoreData and taking a new project with CoreData and creating these funds in my own project. I reached the stage where I more or less identical duplicated a new project, however I get an error message.
This line, controller.managedObjectContext = self.managedObjectContext;
causes me problems. When I comment on this, the application just starts with an empty UITableView, however, if I include a line, this causes this error:
Universal[24718:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewController setManagedObjectContext:]: unrecognized selector sent to instance 0x1521a0' *** First throw call stack: (0x344558bf 0x346a51e5 0x34458acb 0x34457945 0x343b2680 0x2413 0x378367eb 0x378303bd 0x377fe921 0x377fe3bf 0x377fdd2d 0x30c30df3 0x34429553 0x344294f5 0x34428343 0x343ab4dd 0x343ab3a5 0x3782f457 0x3782c743 0x2331 0x22c8) terminate called throwing an exception
I need more code to look, I can provide it, and I hope you have an idea what is going on. I do not see anything that could cause this, I do not get any errors, but I get this log, because this line causes the whole application to crash.
The string is in the didFinishLaunchingWithOptions
method of the didFinishLaunchingWithOptions
delegate, as in the new kernel data project.
As requested, the header file for the table view controller:
source share