• 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: Andreas Mayer <email@hidden>
  • Date: Mon, 27 Oct 2008 17:36:51 +0100


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 NSApplication instance.


Andreas _______________________________________________

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


References: 
 >Re: Newbie: Referencing Objects (second try) (From: "john fogg" <email@hidden>)
 >Re: Newbie: Referencing Objects (second try) (From: Nick Zitzmann <email@hidden>)
 >Re: Newbie: Referencing Objects (second try) (From: "john fogg" <email@hidden>)

  • Prev by Date: Re: Editing a dictionary using NSTableView
  • Next by Date: Re: Not so long filenames
  • Previous by thread: Re: Newbie: Referencing Objects (second try)
  • Next by thread: Cocoa and Printing (Advanced Q)
  • Index(es):
    • Date
    • Thread