basic data passing question
basic data passing question
- Subject: basic data passing question
- From: William Irving Zumwalt <email@hidden>
- Date: Mon, 16 Jan 2006 15:56:49 -0600
Hi all, I'm very new to obj-c and need some help on how this is
supposed to work.
I have two controllers.
ControllerA (for gui viewA) creates and populates an array of data classes.
ControllerB (for gui viewB) is responsible for running operations on
those data classes.
How do I tie the two together? Or, how do I get the ControllerA class
to pass the data array to ControllerB so that ControllerA can operate
on the data?
I added a "- (NSMutableArray*) getData" method to ControllerB, but not
sure how ControllerA should call it ... or if I'm even going about
this correctly. I'd like not what works, but a best practice or how
this should really be done kind of answer.
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