• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Success with NSTableView weak delegates?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Success with NSTableView weak delegates? (From: Sean McBride <email@hidden>)
 >Re: Success with NSTableView weak delegates? (From: David Duncan <email@hidden>)
 >Re: Success with NSTableView weak delegates? (From: Sean McBride <email@hidden>)
 >Re: Success with NSTableView weak delegates? (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Success with NSTableView weak delegates?
  • Next by Date: Re: NSMenuItem’s userKeyEquivalent lost if changing title
  • Previous by thread: Re: Success with NSTableView weak delegates?
  • Next by thread: Passing param by reference then using within block throws exception
  • Index(es):
    • Date
    • Thread