• 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
return FALSE for loadDataRepresentation (NSDocument)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

return FALSE for loadDataRepresentation (NSDocument)


  • Subject: return FALSE for loadDataRepresentation (NSDocument)
  • From: Eric Blom <email@hidden>
  • Date: Fri, 4 Apr 2003 12:15:42 -0800

My document based application loads text files that have a complex format (Intel Hex File). When attempting to load the file I check the formatting to ensure that the data is good. If I find a serious error I return FALSE for my loadDataRepresentation. When this happens I get a window that says the following.

Open
Can't open file "/path/to/file/filename".
OK

My question is, how can I add a string to this window to give the user feedback on why the file can not be loaded/opened?

Thanks,
Eric

-----------------------------------------------------------------
Eric D. Blom
email@hidden

Be at war with your vices, at peace with your neighbors, and let
every New Year find you a better man. --Benjamin Franklin
-----------------------------------------------------------------
_______________________________________________
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: import statement issues
  • Next by Date: Broken Nib
  • Previous by thread: Perforce and Project Builder
  • Next by thread: Broken Nib
  • Index(es):
    • Date
    • Thread