• 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
Get access to MyDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get access to MyDocument


  • Subject: Get access to MyDocument
  • From: "Tony S. Wu" <email@hidden>
  • Date: Fri, 04 Oct 2002 09:26:03 -0700

I have a custom class that needs information from MyDocument class.
I tried to use this:

aVariable = [[[NSDocumentController sharedDocumentController]
currentDocument] getWhateverIWant];

But it gave me a couple of warnings, mainly selector not found.
Can anyone tell me how to do this?
Thanks.

Tony S. Wu
email@hidden

"Nope, this world ain't perfect. But at least I know it's not because of
me."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: modal dialogs
  • Next by Date: Re: C to Objective-C
  • Previous by thread: resizing non 8-bit per component images
  • Next by thread: relaunch Finder...
  • Index(es):
    • Date
    • Thread