Re: NSInvocation crashes in AutoreleasePool
Re: NSInvocation crashes in AutoreleasePool
- Subject: Re: NSInvocation crashes in AutoreleasePool
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 23 Oct 2014 01:10:40 +0700
> On 23 Oct 2014, at 01:02, Scott Ribe <email@hidden> wrote:
>
> On Oct 22, 2014, at 11:46 AM, Gerriet M. Denkmann <email@hidden> wrote:
>>
>> But how to fix this?
>
> ARC expects a retained pointer; I'd retain it.
I tried, but got told: "error: ARC forbids explicit message send of 'retain'".
NSDictionary *temp;
[ iv getReturnValue: & temp ];
NSDictionary *a = [temp retain];
Kind regards,
Gerriet.
_______________________________________________
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