I have a coredata entity named Record and has a property dateUpdated. I noticed that the generated NSManagedObject subclass has no optional mark (?)
CoreData
Yes this seems like a bug / limitation. Use non-scalar types to workaround this problem.
The Swift code gets translated into Objective-C and Objective-C doesn't support nil values for non-class types.