Re: NSTreeController selection and Swift
Re: NSTreeController selection and Swift
- Subject: Re: NSTreeController selection and Swift
- From: Jerry Krinock <email@hidden>
- Date: Tue, 24 May 2016 21:24:02 -0700
This may not work even if you work through the Swift issues.
In Objective-C, the selection, selection indexes, and selected objects are all *not* observeable as documented in NSArrayController. See Apple Bug 7827354, closed as duplicate of 3404770.
Assuming that NSTreeController is somehow based on NSArrayController, you’ll likely run into the same issue. I've worked around it in NSArrayController by overriding selection setters :(
_______________________________________________
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