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 = [[FileSystemItem alloc] initWithPath:@"/" parent:nil];
   return rootItem;
}

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 with NO triange on the side, so this is kind of useless.

Does anyone know why this happens?
Thanks
Boris

Am 04.09.2008 um 01:35 schrieb 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 - if you want to get answers, make the problem interesting! I'm guessing most people will read your question, say 'meh' and move on...

hth,

Graham

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to