Re: NSOutlineView developer example

2008-09-04 Thread Marco Masser
so far so good. But when I change the "initWithPath" to "initWithPath:@"/Volumes/MyDisk/path/to/any/directory", as Ben said, i want the same behaviour like with the "/" only, but a tree from my path there. But this does not happen. Instead, i get a single row with the last path component

Re: NSOutlineView developer example

2008-09-04 Thread Boris Prohaska
Ok, so here we go. When i build and run the developer example "OutlineView" i get an OutlineView with one "/" element and a triangle next to it, so i can browse the whole filesystem. In FileSystemItem.m there is a method: + (FileSystemItem *)rootItem { if (rootItem == nil) rootItem = [[F

Re: NSOutlineView developer example

2008-09-03 Thread Graham Cox
On 4 Sep 2008, at 3:42 am, Boris Prohaska wrote: but this still doesn't work Define "doesn't work". If you expect help you have to be a lot more precise. What errors did you get? What are the symptoms? What have you tried? Remember that no-one is as interested in this problem as you -

Re: NSOutlineView developer example

2008-09-03 Thread Boris Prohaska
16:49 schrieb Benjamin Stiglitz: Hi Guys, i tried to understand the NSOutlineView developer example which is in /Developer/Examples/AppKit/OutlineView. It simply shows the entire filesystem. I tried to alter it, so it shows any relative path of the filesystem, but whatever i do, it does not

Re: Re: NSOutlineView developer example

2008-09-03 Thread Boris Prohaska
Hi, try to change the path and look what happens. It does not work. Boris Am 03.09.2008 um 16:49 schrieb Benjamin Stiglitz: Hi Guys, i tried to understand the NSOutlineView developer example which is in /Developer/Examples/AppKit/OutlineView. It simply shows the entire filesystem. I tried

Re: NSOutlineView developer example

2008-09-03 Thread Benjamin Stiglitz
Hi Guys, i tried to understand the NSOutlineView developer example which is in /Developer/Examples/AppKit/OutlineView. It simply shows the entire filesystem. I tried to alter it, so it shows any relative path of the filesystem, but whatever i do, it does not work. Does anybody have an idea

NSOutlineView developer example

2008-09-03 Thread Boris Prohaska
Hi Guys, i tried to understand the NSOutlineView developer example which is in /Developer/Examples/AppKit/OutlineView. It simply shows the entire filesystem. I tried to alter it, so it shows any relative path of the filesystem, but whatever i do, it does not work. Does anybody have an idea