Hi iOS gurus,
Now I’m failing to complete the final step on P.165 in iOS Apprentice 3(MyLocations) with:
++++++
fatal error: unexpectedly found nil while unwrapping an Optional value
++++++
When I press the Done button, my app fails at the following line in done()
+++++++
let location =
NSEntityDescription.insertNewObjectForEntityForName(“Location”, inManagedObjectContext: managedObjectContext) as! Location
+++++++
I reviewed my codes again and again, but still have no idea what’s going on.
Is there anybody who experienced similar issues?
I’d appreciate it if you would give me any hints for troubleshooting…
Many thanks in advance for your help.