NSTreeController selection and Swift
NSTreeController selection and Swift
- Subject: NSTreeController selection and Swift
- From: Rick Mann <email@hidden>
- Date: Tue, 24 May 2016 17:49:09 -0700
I'm trying to observe an NSTreeController's selection property, and then do something with that selection when it changes. But Swift doesn't just let me treat .selection as my object type (the way Obj-C would). So, can I use it (short of calling -valueForKey:) from Swift?
--
Rick Mann
email@hidden
_______________________________________________
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