• 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
fileURL - retrieving from NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fileURL - retrieving from NSDocument


  • Subject: fileURL - retrieving from NSDocument
  • From: David Wilson <email@hidden>
  • Date: Wed, 23 Nov 2005 22:04:19 +1300

Hello everyone...

I'm stuck... confused... not sure where to go... that lead me here! :-)


I have a Document based App, built by Xcode, so the default NSDocument is call MyDocument (I've left that unchanged). I want to know what the FileName of the currently active window is, so after reading the NSDocument document, it looked like "fileURL" was the right thing to call, it would return the documents filename for me. Perfect!


However, [self fileURL]is returning a compiler warning >'MyDocument' may not respond to '+fileUR'L<


+ (NSURL *)diskFileName { NSURL * documentURL; documentURL = [self fileURL]; return documentURL; }


I'm confused, probably off track...


Xcode = 2.2 OS = 10.4.3


- David _______________________________________________ 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
  • Follow-Ups:
    • Re: fileURL - retrieving from NSDocument
      • From: Christian Brunschen <email@hidden>
  • Prev by Date: Re: Automagic instantiation of singletons? (Christian Brunschen)
  • Next by Date: Spotlight introspection
  • Previous by thread: Mouse click mask how?
  • Next by thread: Re: fileURL - retrieving from NSDocument
  • Index(es):
    • Date
    • Thread