Re: Newbie: Referencing Objects (second try)
Re: Newbie: Referencing Objects (second try)
- Subject: Re: Newbie: Referencing Objects (second try)
- From: "john fogg" <email@hidden>
- Date: Mon, 27 Oct 2008 03:20:12 +0100
Hi again!
On Sun, Oct 26, 2008 at 10:40 PM, Nick Zitzmann <email@hidden> 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 tell I now have an empty variable
named "secondMainObject" located in "secondSubObject". How do I store
the reference to "secondMainObject" in the variable?
And how do I do this with my main application delegate? I want to call
it from wherever I am.
Thanks again for your help!! I can't stress this enough!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden