Thanks for the answer. Yepp, multiple times.. Recreated the project multiple times also.
Post
Replies
Boosts
Views
Activity
Tom, thanks for taking time to share your solution. It did solve my problem, thanks alot! Now there are other problems that I need to look into.
When I try to save something to Core data following error appears:
[error] error: Illegal attempt to save to a file that was never opened. "This NSPersistentStoreCoordinator has no persistent stores (unknown). It cannot perform a save operation.". No last error recorded.
My save code:
let t = Trans(context: self.moc)
t.id = UUID()	
t.amount = 128
do {
try self.moc.save()
} catch let error as NSError {
print(error)
}
Anyone that has an idea?