You might also find WWDC 2018, Session 409, informative. -- Gary L. Wade http://www.garywade.com/
> On Sep 7, 2018, at 1:44 PM, Allan Odgaard <lists+cocoa-...@simplit.com> wrote: > >> On 7 Sep 2018, at 19:46, Casey McDermott wrote: >> >> Problem is, with ARC turned on, the pointer is never nil, so it crashes. >> The void pointer somehow becomes an NSAtom instead of 0. > > Nil is nil, I think your issue is rather that you do not properly retain the > pointer before storing it as void*. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com