• 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 nsdocument question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie nsdocument question


  • Subject: Re: newbie nsdocument question
  • From: Apparao <email@hidden>
  • Date: Thu, 10 Nov 2005 17:21:30 +0530

[[NSDocumentController sharedDocumentController] currentDocument] returns current active document.

Regards
Appa Rao M.

On 10-Nov-05, at 2:16 AM, Arthur wrote:

Hi there.

I have a cocoa document based application. At some point in my app, I need to send a message to MyDocument (that inherits from NSDocument).
How do I get the instance of MyDocument that relates to a window?


I am sorry if the answer is too obvious, but cocoa can be a bit confusing for newbies sometimes...

thank you,
arthur
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40effigent.net


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >newbie nsdocument question (From: Arthur <email@hidden>)

  • Prev by Date: Re: 10.4.3 Crashes with NSTreeController Selection Index Paths
  • Next by Date: Re: Custom NSView and NSUndoManager
  • Previous by thread: Re: newbie nsdocument question
  • Next by thread: Single tabview item appears off center
  • Index(es):
    • Date
    • Thread