Re: ARC code in a non ARC app. iOS
Re: ARC code in a non ARC app. iOS
- Subject: Re: ARC code in a non ARC app. iOS
- From: Jens Alfke <email@hidden>
- Date: Thu, 25 Feb 2016 09:43:01 -0800
> On Feb 25, 2016, at 8:35 AM, Dave <email@hidden> wrote:
>
>>> Also, beware subclassing a Non-ARC Class in an ARC Project - you have to have the subclass Non-ARC too.
>>
>> This is not true. For example, NSView is not ARC but you can write ARC subclasses of it.
>
> I didn’t say it was impossible, but depending on what the class does and how it’s implemented can cause problems……..
You did say “you have to have the subclass Non-ARC”, which to me sounds like “it’s impossible”.
And I can’t think of any way that a (properly implemented) non-ARC class could cause problems for an ARC subclass. A class’s or method’s behavior doesn’t change depending on whether its implementation uses ARC. Do you have any actual examples of problems?
—Jens
_______________________________________________
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