Re: Helping Arc with: "PerformSelector may cause a leak because its selector is unknown"
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