• 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
Still having problems with selectors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Still having problems with selectors


  • Subject: Still having problems with selectors
  • From: email@hidden
  • Date: Tue, 8 Oct 2002 12:59:49 EDT

OK, I'm using a selector for 'canCloseDocumentWithDelegate':

[[allWindowsNSArrayRef objectAtIndex:countOfAllWindows]
canCloseDocumentWithDelegate:self
shouldCloseSelector:@selector(canCloseDocumentSelector:shouldClose:contextInfo

:) contextInfo:nil];

and the selector gets invoked, but my console still gets the error:

2002-10-08 11:57:02.292 SwarmingEditor[1816] *** -[NSWindow
canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:]: selector not
recognized

What makes the selector unrecognizable but still 'invokable'?

Thanks,
-Jim
_______________________________________________
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: Still having problems with selectors
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: Tearing down a DO connection
  • Next by Date: Re: C to Objective-C
  • Previous by thread: Re: Debugger problems
  • Next by thread: Re: Still having problems with selectors
  • Index(es):
    • Date
    • Thread