• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSPropertyDescription userInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSPropertyDescription userInfo
      • From: Jim Correia <email@hidden>
References: 
 >NSPropertyDescription userInfo (From: "Steve@DotMac" <email@hidden>)
 >Re: NSPropertyDescription userInfo (From: Jim Correia <email@hidden>)
 >Re: NSPropertyDescription userInfo (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: NSPropertyDescription userInfo
  • Next by Date: Re: Subclassing NSButton
  • Previous by thread: Re: NSPropertyDescription userInfo
  • Next by thread: Re: NSPropertyDescription userInfo
  • Index(es):
    • Date
    • Thread