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

Re: [coredata] populate NSPopupButton with NSAttributedStrings


  • Subject: Re: [coredata] populate NSPopupButton with NSAttributedStrings
  • From: "Pierre Chatel" <email@hidden>
  • Date: Mon, 9 Jul 2007 16:31:06 +0200

So, subclassing NSPopupButton is the way to go in order to add new bindings
to the class. I guess that adding new bindings is a pretty advanced task for
just being able to display Attributed String in a popup button. I wonder if
it would be simpler to just use the old-fashioned controller approach... but
I really wanted to use coreData on this one...

On 7/9/07, Scott Stevenson <email@hidden> wrote:


On Jul 8, 2007, at 2:20 PM, Pierre Chatel wrote:

> But, I do want to display attributed strings (with pictures) in the
> popup button. It seems there is no way to do so with the default
> bindings provided by NSPopupButton.

You need a custom subclass for that.

     - Scott
_______________________________________________

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

_______________________________________________

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: mmalc crawford <email@hidden>
    • Re: [coredata] populate NSPopupButton with NSAttributedStrings
      • From: "Pierre Chatel" <email@hidden>
References: 
 >[coredata] populate NSPopupButton with NSAttributedStrings (From: "Pierre Chatel" <email@hidden>)
 >Re: [coredata] populate NSPopupButton with NSAttributedStrings (From: Jim Correia <email@hidden>)
 >Re: [coredata] populate NSPopupButton with NSAttributedStrings (From: "Pierre Chatel" <email@hidden>)
 >Re: [coredata] populate NSPopupButton with NSAttributedStrings (From: Scott Stevenson <email@hidden>)
 >Re: [coredata] populate NSPopupButton with NSAttributedStrings (From: "Pierre Chatel" <email@hidden>)
 >Re: [coredata] populate NSPopupButton with NSAttributedStrings (From: Scott Stevenson <email@hidden>)

  • Prev by Date: .m to .mm causes missing function pointers
  • Next by Date: Re: [coredata] populate NSPopupButton with NSAttributedStrings
  • Previous by thread: Re: [coredata] populate NSPopupButton with NSAttributedStrings
  • Next by thread: Re: [coredata] populate NSPopupButton with NSAttributedStrings
  • Index(es):
    • Date
    • Thread