• 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
[coredata] populate NSPopupButton with NSAttributedStrings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coredata] populate NSPopupButton with NSAttributedStrings


  • Subject: [coredata] populate NSPopupButton with NSAttributedStrings
  • From: "Pierre Chatel" <email@hidden>
  • Date: Sat, 7 Jul 2007 16:41:28 +0200

Hi list,

I'm binding a NSPopupButton to a core data controller but it refuses to
display NSAttributedStrings.

I have implemented a method to return a NSAttributedString (image + string)
in my NSManagedObject subclass and call this method from the 'contentValues'
binding of the NSPopupButton but it displays gibberish when I launch the
application.

If I use the same method to populate a NSTableColumn it works !

Do you know a way to make this work with a NSPopupButton ?

Thanks,
Pierre
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [coredata] populate NSPopupButton with NSAttributedStrings
      • From: Jim Correia <email@hidden>
  • Prev by Date: NSDrawer leading offset
  • Next by Date: Re: IP address validation
  • Previous by thread: Re: Help Book works on 10.4 but shows a blanc page on 10.3.9?
  • Next by thread: Re: [coredata] populate NSPopupButton with NSAttributedStrings
  • Index(es):
    • Date
    • Thread