Re: Success with NSTableView weak delegates?
Re: Success with NSTableView weak delegates?
- Subject: Re: Success with NSTableView weak delegates?
- From: Sean McBride <email@hidden>
- Date: Tue, 20 Sep 2016 20:04:14 -0400
- Organization: Rogue Research Inc.
On Tue, 20 Sep 2016 16:41:07 -0700, Greg Parker said:
>Those crashes are expected.
>
>NSTableView's delegate is zeroing-weak when both of the following are true:
>* Your app was built with the 10.11 SDK or newer.
>* Your app is running on 10.12 or newer.
>
>The delegate is unsafe-unretained when running on 10.11 and earlier, no
>matter what SDK you built with.
Ah ha, thanks! That WWDC video is quite misleading then. I was about to lament the lack of any better docs, but now realize that it's actually nicely documented here in the 10.12 release notes:
<https://developer.apple.com/library/content/releasenotes/AppKit/RN-AppKit/index.html>
So sorry for the noise!
Thanks David & Greg!
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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