Re: adding arc to a fundamentally non-arc project
Re: adding arc to a fundamentally non-arc project
- Subject: Re: adding arc to a fundamentally non-arc project
- From: Jens Alfke <email@hidden>
- Date: Sat, 15 Jul 2017 14:09:56 -0700
> On Jul 15, 2017, at 2:00 PM, Matthew Weinstein <email@hidden> wrote:
>
> Trying to move from QTKit to AVKit. Compiling on El Capitan (at the moment).
> So I have a handler that is arc and handles all the AVKit stuff and compiled
> with the -fobjc-arc flag in the build phases... I create and assign the
> handler to a document object using the myhandler = [[MWArcHandler alloc]
> init]; but the linker constantly complains that it can't find MWArcHandler:
> it's there in the build phases; and it is in the target, but I can't convince
> the linker that it is there.
It shouldn’t make a difference to the linker whether the class uses ARC or not;
ARC pretty much only affects the way individual methods are compiled. Could you
show us the exact linker error?
—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