Re: NSPropertyDescription userInfo
Re: NSPropertyDescription userInfo
- Subject: Re: NSPropertyDescription userInfo
- From: Jim Correia <email@hidden>
- Date: Sat, 5 Nov 2005 11:20:48 -0500
On Nov 5, 2005, at 10:57 AM, mmalcolm crawford wrote:
(The documentation says it is attached directly if it has the
correct name. In my testing this isn't the case. Writing a bug
about this is on my to do list.)
I'm not sure what you mean here?
There is a bug on 10.4.0 - 10.4.2 that you cannot set a
localisation dictionary programmatically, but if you include a
suitable file in your project resources it should be picked up?
I built a app based on the CoreData Document stationery.
Since the the model is MyDocument.xcdatamodel, I include a
MyDocument.strings file with the contents:
"Property/name/Entity/Person" = LocalizedName;
"Property/name" = LocalizedName;
The localization dict is nil in the document's designated initializer.
Since name is marked as a required attribute, if I try to save with
no name I get an error, but the error includes the non-localized
attribute name.
Am I misunderstanding how it is supposed to work? Since I now have a
trivial standalone sample I'm seconds away from filing a bug, if
necessary.
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden