• 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
First Responder Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

First Responder Problem


  • Subject: First Responder Problem
  • From: Anders Totland <email@hidden>
  • Date: Fri, 5 Mar 2004 23:38:46 +0100

Ok, this is an odd one. I have an NSView subclass (B3StructureView, as
seen in Beware of Molecules 3). The view is rigged to accept first
responder, and it does. It's rigged up to respond to cut:, copy:,
paste: and delete:, and it does, because the menu items are enabled.
What it does not do, however, is actually trigger these methods when
asked. Example:

- (void)copy:(id)sender
{
NSLog(@"something");
}

When I select the copy menu item, which is enabled, and the views first
responderness is verified, the build log shows: Nothing! I have seen
something like this before, but it solved itself. Anybody got a clue as
to what is going on?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: First Responder Problem [Solved]
      • From: Anders Totland <email@hidden>
  • Prev by Date: Re: Making an NSDrawer transparent
  • Next by Date: NSStream: How to recognize when it is connected
  • Previous by thread: Re: Making an NSDrawer transparent
  • Next by thread: Re: First Responder Problem [Solved]
  • Index(es):
    • Date
    • Thread