• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie: Referencing Objects (second try)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Newbie: Referencing Objects (second try)
      • From: Andreas Mayer <email@hidden>
    • Re: Newbie: Referencing Objects (second try)
      • From: "john fogg" <email@hidden>
References: 
 >Re: Newbie: Referencing Objects (second try) (From: "john fogg" <email@hidden>)
 >Re: Newbie: Referencing Objects (second try) (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: CFPreferences and init.
  • Next by Date: Re: Newbie: Referencing Objects (second try)
  • Previous by thread: Re: Newbie: Referencing Objects (second try)
  • Next by thread: Re: Newbie: Referencing Objects (second try)
  • Index(es):
    • Date
    • Thread