If I was creating an entity with a non-optional string attribute called, say, "name", I would put "Untitled" as the default. How could I localise this default value?
I could subclass the entity and and use NSLocalizedString
in awakeFromInsert
to do this. But I was wondering if there was another way.
Edit:
If this is the only way, then I'm fine with it. Just curious.