> > In general, you should not treat NSController-derived classes as holders of > data. They are specifically for binding to. > Since the "shapeTreeController" gets its content by binding to something > else, why don't you just directly access that something instead of trying to > go through the controller? In other words, access your model, not your > controller.
The controller's content is an NSMutableArray in the document and the nodes are CD entities with parent and children relationships. However I also need the selection (which persists per-document) and the only place I can get that from is the controller. _______________________________________________ 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]