Am 27.10.2008 um 03:20 Uhr schrieb john fogg:
And how do I do this with my main application delegate? I want to call
it from wherever I am.
That one is already stored by your NSApplication object:
[NSApp delegate]
NSApp is a predeclared global variable that holds the current
NSApplicatio
Hi again!
I feel like I'm getting there. Though any help is still greatly appreciated!
On Mon, Oct 27, 2008 at 3:58 AM, john fogg <[EMAIL PROTECTED]> wrote:
> Or do I have to populate the variable once I created the object?
It does work! I create the "secondSubObject" inside my
"secondMainObjec
Hi again!
On Mon, Oct 27, 2008 at 3:20 AM, john fogg <[EMAIL PROTECTED]> wrote:
> OK I did that. But as far as I can tell I now have an empty variable
> named "secondMainObject" located in "secondSubObject". How do I store
> the reference to "secondMainObject" in the variable?
Or do I have to po
Hi again!
On Sun, Oct 26, 2008 at 10:40 PM, Nick Zitzmann <[EMAIL PROTECTED]> wrote:
> Use accessors. In secondSubObject, create an @property(assign)
> SecondMainObject *secondMainObject; so that you can call methods in
> secondMainObjct from secondSubObject.
OK I did that. But as far as I can t
On Oct 26, 2008, at 2:59 PM, john fogg wrote:
When I'm inside "secondSubObject" how can I alter a variable in
"secondMainObject"?
Use accessors. In secondSubObject, create an @property(assign)
SecondMainObject *secondMainObject; so that you can call methods in
secondMainObjct from secondS
Hi again! And thank you for your kind help!!
Let me rephrase my question. I create two objects: "fistMainObject"
and "secondMainObject". Inside the second I create another object
called "secondSubObject".
When I'm inside "secondSubObject" how can I alter a variable in
"secondMainObject"?
And how