[coredata] populate NSPopupButton with NSAttributedStrings
[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