how to share class between controller and data source
how to share class between controller and data source
- Subject: how to share class between controller and data source
- From: William Irving Zumwalt <email@hidden>
- Date: Wed, 15 Feb 2006 19:39:00 -0600
Hey all, very new to cocoa, question on the best way or what's good
practice on how to handle this.
I have an object in a controller (it's a node class for an
NSOutlineView) that is used by actions within a controller file. But I
also need to let this same object be shared from methods in a separate
file (the data source). But the node object is declared in the
controller header.
Is it common to put the actions in the data source instead of the
controller? Is there a better way to do this?
Any help much appreciated.
_______________________________________________
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