• 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: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown"


  • Subject: Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown"
  • From: ChanMaxthon <email@hidden>
  • Date: Tue, 22 Oct 2013 15:50:13 +0800

I suggest against NSInvocation. I will just throw in a direct call to objc_msgSend.

Sent from my iPhone

On 2013年10月22日, at 15:33, Igor Elland <email@hidden> wrote:

>> This certainly helps: at least I get a clean compile.
>> But telling the compiler about the type of selector to expect would be even better.
>> Can this be done?
>
> You might want to look into using NSInvocation instead.
>
> Best,
> Elland
> _______________________________________________
>
> 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

_______________________________________________

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: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown"
      • From: Igor Elland <email@hidden>
References: 
 >Helping Arc with: "PerformSelector may cause a leak because its selector is unknown" (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown" (From: Gideon King <email@hidden>)
 >Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown" (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown" (From: Igor Elland <email@hidden>)

  • Prev by Date: Re: Arc: Switch case is in protected scope
  • Next by Date: Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown"
  • Previous by thread: Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown"
  • Next by thread: Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown"
  • Index(es):
    • Date
    • Thread