NEWBIE: Multiple class communication without DO
NEWBIE: Multiple class communication without DO
- Subject: NEWBIE: Multiple class communication without DO
- From: "Benjamin D. Jones" <email@hidden>
- Date: Fri, 5 Aug 2005 03:29:45 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've finally hit that point in my knowledge of cocoa that the app I'm
working needs to have more than one primary class controlling it.
I'm adding preference windows and other windows that I'd like to have
on a seperate controller. My problem is that even if I follow the
examples I've been given I don't think i truely understand how to
correctly code the communication. Any suggestions?
P.S. This is how I've been trying to set it up... but I need to get a
NSArray from one class to the other during run time.
Class name - Controller & PrefsController
Controller launches PrefsController's window and sends it a current
item list
PrefsController stores it in NSUserDefaults and loads the last 10
list items from the last session, along with the various values for
the actual preferences window. And sends the old list back to
Controller.
Hope thats clear enough... as you can tell i'm confusing myself a lot :)
Benjamin D. Jones
email@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFC8xVpuT9O8hme0nwRAgbvAKDc8g3b+INsgIR+Dhkvv0teYoX2HACfVzcn
vwU28TdkSTqgjBwZFOlER0c=
=UOlz
-----END PGP SIGNATURE-----
_______________________________________________
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