Can't set default value of string property to "" in the Xcode CoreData model designer
- by glenc
I have an entity in my datamodel with a string property that is currently optional, and I'd like to convert this property to a required property with a default value of the empty string.
As others have discovered, leaving the default value blank results in validation errors (since the designer interprets this as NULL), but trying '', "", or @""…