On Aug 26, 2016, at 1:52 PM, Jens Alfke <j...@mooseyard.com> wrote: > > On Aug 26, 2016, at 8:42 AM, Andreas Falkenhahn <andr...@falkenhahn.com> > wrote: >> >> But once again, I think it's a crime that there is no mentioning of this in >> the class >> documentation of "setDelegate" and "setDatasource" :( > > In the Xcode 8 docs for NSTableView.dataSource, it does: > "Note that in versions of OS X prior to v10.12, the table view did not > retain the data source in a managed memory environment." > > I’m sure I won’t be the first person to suggest that you switch to ARC. If > you find ref-counting confusing, ARC will help you a lot. > > —Jens
As usual, Jens speaks truthfully about using ARC. However, in your case I wonder what the static analyzer in Xcode tells you about the bug you see? Can it catch the bug? In manual ref-counting, the analyzer has saved my skin more than once. :) Doug _______________________________________________ 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