Re: Cocoa-dev Digest, Vol 16, Issue 72
Re: Cocoa-dev Digest, Vol 16, Issue 72
- Subject: Re: Cocoa-dev Digest, Vol 16, Issue 72
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Sun, 25 Aug 2019 19:59:20 -0500
> On Aug 25, 2019, at 7:49 PM, Turtle Creek Software via Cocoa-dev
> <email@hidden> wrote:
>
>>> Either you have files where ARC is still turned of (via the -fno-arc
> option
>
> Nope, no compiler flags at all.
>
>>> Make sure you're properly using NSBridgingRetain() etc. (or
> the equivalent typecasts) and not mixing them up.
>
> In the hybrid C++/Obj-C++ files, we use __bridge on all the casts of void
> pointers to Cocoa objects.
> No use of NSBridgingRetain or Release at all. Is that necessary under ARC?
I only remember using an autorelease pool when creating a view controller with
access to the cameras but that was back in 2013.
I recommend creating a super simple app and see if the problem appears in the
simple case.
Alex Zavatone
_______________________________________________
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