• 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
Repost: NSBrowser with NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Repost: NSBrowser with NSTreeController


  • Subject: Repost: NSBrowser with NSTreeController
  • From: Hamish Allan <email@hidden>
  • Date: Tue, 8 Nov 2005 01:06:53 +0000

Hi,

Quick recap: I'm trying to use an NSTreeController without using Core Data. I have found a grand total of one example of the simplest of bindings at http://www.sixthhappiness.ca/blog/2005/08-21/ TreeControllerFilterTest.zip , but have not yet managed to reproduce similar functionality in a master-detail interface.

I am writing a small example project available at http:// igor.gold.ac.uk/~map01ra/BindTest.zip whose intended funcationality is described below.

If anyone has time to run an eye over this to see what might be wrong with it, I would be very grateful. The web is obviously very short of non Core Data NSTreeController examples, so you would be helping not just me, but any future enquirer, as I will of course be making this publicly available.

Many thanks,
Hamish

Begin forwarded message:

From: Hamish Allan <email@hidden>
Date: 6 November 2005 14:04:01 GMT
To: Cocoa List <email@hidden>
Subject: NSBrowser with NSTreeController

Hi,

I'm currently making my first attempts at binding an NSBrowser. From searching the archives and the web, I gather this is not a well-trodden path.

I'm trying to make a selector for multiple files with a master- detail interface. On the left is an NSTableView with a single column, and add and remove buttons. On the right is an NSBrowser. Pressing "add" should append a selected null placeholder to the table and show the contents of the root of the filesystem in the first column of the browser. Browsing the filesystem should cause the the selected item in the table view to reflect the pathname, e.g., if I browse to "Users" then "hamish" in the browser, the selected table entry would read "/Users/hamish/".

[For the remainder of the description, please see http:// www.cocoabuilder.com/archive/message/cocoa/2005/11/6/149577]

_______________________________________________ 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: Repost: NSBrowser with NSTreeController
      • From: Hamish Allan <email@hidden>
References: 
 >NSBrowser with NSTreeController (From: Hamish Allan <email@hidden>)

  • Prev by Date: Re: Processing multiple objects w/NSTasks efficiently?
  • Next by Date: Re: Processing multiple objects w/NSTasks efficiently?
  • Previous by thread: NSBrowser with NSTreeController
  • Next by thread: Re: Repost: NSBrowser with NSTreeController
  • Index(es):
    • Date
    • Thread