• 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
Re: Preserving undo actions on deleted targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preserving undo actions on deleted targets


  • Subject: Re: Preserving undo actions on deleted targets
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 30 Jan 2014 17:57:02 -0800

On Jan 30, 2014, at 17:42 , Graham Cox <email@hidden> wrote:

> - (BOOL)				respondsToSelector:(SEL) aSelector
> {
> 	if( aSelector == @selector(_processEndOfEventNotification:))
> 		return YES;
> ... [other code]
>
> }

Shouldn’t this return NO for that selector? The NSObject documentation didn’t show this as part of the ‘forwardInvocation:” process. In fact, I wouldn’t be surprised if returning YES *disables* the ‘forwardInvocation:’ path.

Incidentally, I originally envisaged that you would use NSStringFromSelector, rather than using @selector. Since, we’re hypothesizing, there’s an automated verification tool involved in the approval process, it might be that the mere presence of a private @selector compiled into your executable might be grounds for rejection.

_______________________________________________

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: Preserving undo actions on deleted targets
      • From: Graham Cox <email@hidden>
References: 
 >Preserving undo actions on deleted targets (From: Matthew LeRoy <email@hidden>)
 >Re: Preserving undo actions on deleted targets (From: Jerry Krinock <email@hidden>)
 >Re: Preserving undo actions on deleted targets (From: Keary Suska <email@hidden>)
 >Re: Preserving undo actions on deleted targets (From: Graham Cox <email@hidden>)
 >Re: Preserving undo actions on deleted targets (From: glenn andreas <email@hidden>)
 >Re: Preserving undo actions on deleted targets (From: Graham Cox <email@hidden>)
 >Re: Preserving undo actions on deleted targets (From: Quincey Morris <email@hidden>)
 >Re: Preserving undo actions on deleted targets (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Preserving undo actions on deleted targets
  • Next by Date: Re: Preserving undo actions on deleted targets
  • Previous by thread: Re: Preserving undo actions on deleted targets
  • Next by thread: Re: Preserving undo actions on deleted targets
  • Index(es):
    • Date
    • Thread