• 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 question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTreeController question...


  • Subject: Re: NSTreeController question...
  • From: Scott Stevenson <email@hidden>
  • Date: Thu, 19 May 2005 15:19:36 -0700


On May 19, 2005, at 3:14 PM, Pat Homelvig wrote:

The problem is that the "item" object in this second method is a private object of type _NSArrayControllerTreeNode, so we can't (shouldn't) query it for the path string it represents.

Any suggestions on how we can determine what directory node we are dropping the file paths into?

It's a good question. The only solution I've found so far is to use private API.


id realObject = [item observedObject];


- Scott

--
http://treehouseideas.com/
http://theocacao.com/ [blog]


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSTreeController question... (From: Pat Homelvig <email@hidden>)

  • Prev by Date: NSTreeController question...
  • Next by Date: Re: Strange crashing bug
  • Previous by thread: NSTreeController question...
  • Next by thread: FYI: User feedback for LSMinimumSystemVersion
  • Index(es):
    • Date
    • Thread