Controller Layer + array count + NSOutlineView
Controller Layer + array count + NSOutlineView
- Subject: Controller Layer + array count + NSOutlineView
- From: Raphael Sebbe <email@hidden>
- Date: Fri, 7 Nov 2003 13:06:38 +0100
Hi,
I have an array of Layers:
Layer
{
NSString _name;
NSMutableArray _curves;
}
and I want to show layer names and curve counts in a tableview (_curves
is properly init'ed).
I use the "name" key path of NSArrayController for name, it works. I
use the "curves.@count" of the same controller, it doesn't work,
crashes. Isn't it allowed to access count ?
Second question. I noticed the answer from Scott about using Controller
Layer + NSOutlineView, could someone elaborate on this or share its
experience as I was not able to fill the outline view at all.
Many thanks,
Raphael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.