• 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
The same view used in 2 menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The same view used in 2 menu items


  • Subject: The same view used in 2 menu items
  • From: Steve Mills <email@hidden>
  • Date: Fri, 24 May 2013 13:28:11 -0500

I have an NSOutlineView in a window. One of the columns uses an NSPopUpButtonCell (a subclass actually). The menu contains 1 menu item, which shows an NSView. This window also has an NSPopUpButton whose menu contains 1 menu item, which also shows an NSView. When I try using the same NSView in both places, they don't show up. Is there some trick to sharing the same view among 2 menu items? Or can I use the same menu in both places? I'm out of my Cocoa comfort zone here, code-wise and Interface Builder-wise.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

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: The same view used in 2 menu items
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: crash in
  • Next by Date: Re: The same view used in 2 menu items
  • Previous by thread: Re: crash in
  • Next by thread: Re: The same view used in 2 menu items
  • Index(es):
    • Date
    • Thread