• 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: How to implement an Xcode-style hierarchical file browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to implement an Xcode-style hierarchical file browser


  • Subject: Re: How to implement an Xcode-style hierarchical file browser
  • From: Rick Hoge <email@hidden>
  • Date: Tue, 26 Sep 2006 09:49:04 -0400


The simplest approach is always best when learning new things. I suggest following the documentation and getting a basic outline view up and running. From there you can determine what it actually does on its own, without subclassing.

I guess I should add that the other reason I asked the original question is that the documentation for NSOutlineView is eerily silent regarding the use of NSTreeController and bindings. I've implemented a few outline views already using bindings, but had to work that out pretty much on my own as there's not much in the way of documentation or examples (or wasn't when I last did this and it still seems to be the case). Is it the case that outlines are still better implemented using data sources and delegates, as opposed to bindings? I know that support for binding an ouline view lagged behind similar support for tables, but this has been added quite a while ago.


Also I am guessing that if the model represented in the outline view is based on a Core Data representation then there may be special concerns or opportunities to use bindings but I might be wrong.

Rick

_______________________________________________
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


  • Follow-Ups:
    • Re: How to implement an Xcode-style hierarchical file browser
      • From: "I. Savant" <email@hidden>
References: 
 >How to implement an Xcode-style hierarchical file browser (From: Rick Hoge <email@hidden>)
 >Re: How to implement an Xcode-style hierarchical file browser (From: Murat Konar <email@hidden>)
 >Re: How to implement an Xcode-style hierarchical file browser (From: Rick Hoge <email@hidden>)
 >Re: How to implement an Xcode-style hierarchical file browser (From: "I. Savant" <email@hidden>)

  • Prev by Date: Link (dyld) error, image not found
  • Next by Date: Re: Localizable.strings in frameworks?
  • Previous by thread: Re: How to implement an Xcode-style hierarchical file browser
  • Next by thread: Re: How to implement an Xcode-style hierarchical file browser
  • Index(es):
    • Date
    • Thread