• 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: NSTreeController selection and Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTreeController selection and Swift
      • From: Rick Mann <email@hidden>
References: 
 >NSTreeController selection and Swift (From: Rick Mann <email@hidden>)
 >Re: NSTreeController selection and Swift (From: Quincey Morris <email@hidden>)
 >Re: NSTreeController selection and Swift (From: Rick Mann <email@hidden>)
 >Re: NSTreeController selection and Swift (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSTreeController selection and Swift
  • Next by Date: Re: NSTreeController selection and Swift
  • Previous by thread: Re: NSTreeController selection and Swift
  • Next by thread: Re: NSTreeController selection and Swift
  • Index(es):
    • Date
    • Thread