• 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
How to get NSPopUpButtonCell as an NSTextAttachment sending self instead of nil when it performs it's attached target/action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get NSPopUpButtonCell as an NSTextAttachment sending self instead of nil when it performs it's attached target/action


  • Subject: How to get NSPopUpButtonCell as an NSTextAttachment sending self instead of nil when it performs it's attached target/action
  • From: "The Karl Adam" <email@hidden>
  • Date: Mon, 13 Mar 2006 10:52:23 -0500

I have a NSPopUpButtonCell embedded in a text view that changes some
options by the user and then performs it's action. The problem here is
that since the cell is alone without a control when it performs it's
action it tries to send it's control along which is nil, I need it
instead to send itself so I can then get the attachment it came from
and perform the correct action. How do I go about doing this?

-Karl
 _______________________________________________
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

  • Prev by Date: Re: Embedding image data
  • Next by Date: Re: Embedding image data
  • Previous by thread: MEETING: Chicago - CAWUG March 14th
  • Next by thread: Array controller sorting vs ValueTransformers
  • Index(es):
    • Date
    • Thread