Re: basic data passing question
Re: basic data passing question
- Subject: Re: basic data passing question
- From: Miguel Sanchez <email@hidden>
- Date: Mon, 16 Jan 2006 15:06:06 -0800
The preferred approach now is to use Bindings, this doc link is a
good place to start
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Concepts/WhatAreBindings.html
- Miguel
On Jan 16, 2006, at 1:56 PM, William Irving Zumwalt wrote:
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
_______________________________________________
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