• 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
Accept target when not first responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accept target when not first responder


  • Subject: Accept target when not first responder
  • From: Fredrik Olsson <email@hidden>
  • Date: Mon, 11 Sep 2006 10:22:54 +0200

I have a subclass of NSOutlineView that I want to always accepts a key equivalent, even when the outline view is not in focus.


I have tried settings it as the windows nextResponder, but that does not help. And I would like to avoid using the window delegate as proxy, only forwarding to the outline view.



My subclass is a helper view that manages file attachments, in my document based application. I want the view to be as self contained as possible, basically just using a root path, and xml tree for reading it's content.


Many document types can have this view, and I would like the attach files, save attachments, and remove attachments menu items to hook up themselves with as little redundant (copy and paste) code for each document type as possible.


// Fredrik Olsson _______________________________________________ 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
  • Follow-Ups:
    • Re: Accept target when not first responder
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Anybody who could help me with any of these....Plz Reply ASAP
  • Next by Date: Re: CoreData bug? NSUnknownKeyException thrown when using NSPersistentStoreCoordinator
  • Previous by thread: Disabling category method at runtime
  • Next by thread: Re: Accept target when not first responder
  • Index(es):
    • Date
    • Thread