| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I'm stuck into a very simple question but I can't manage how to get out:
getting values from "sister" classes.
watch out : I've said "sister" classes, not "sons" or "parent" ones, so I
can't use any type of heredity...
In my application I've put a NSTextField and below an NSBrowser; the
intent is to make NSBrowser displays the directory contained into the
NSTextField.
Here are the steps I've done so far:
1) Designed the GUI (pretty obvious... :-)
2) Created an NSObject subclass for controlling the GUI ("General_GUI")
3) Created and instantiated a subclass of NSBrowser, wich works as a
delegate for the browser ("MyBrowser")
Now I just want "MyBrowser" class to read variables contained into the
"General_GUI" one. I've tried to include every .h file, to use the
@public statement but nothing... they are sister classes !
Damn sisters, they always get you mad ! :-)
How can I access the data contained into another sister class ?
Hoping I haven't bored you, I'm waiting for your help :-))
Thank you !
| References: | |
| >Damn sisters :-) (From: Riccardo Santato <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.