Recently I have been experimenting with Coredata by making a couple of applications locally. I noticed whenever I make an object and save things onto core data, I do not seem to be able to view the complete parameters provided by the framework when attempting to create an object. I don't know what the terminalogy is for this step, but I was attempting this:
let managedObjectContext = (UIApplication.sharedApplication().delegate as AppDelegate).managedObjectContext
let entityDescription = NSEntityDescription.entityForName("Feeditem", inManagedObjectContext: managedObjectContext!)
let feedItem = FeedItem( <--- PROBLEM RIGHT HERE
Instead of getting this to pop up:
(entity: entityDescription!, insertIntoManagedObjectContext: managedObjectContext!)
I get this:
Why is this so?
Here is a project in which the same thing was happening: https://github.com/Somnibyte/Errands