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

DOcument Icons


  • Subject: DOcument Icons
  • From: "Simson Garfinkel" <email@hidden>
  • Date: Sat, 24 Nov 2001 01:19:12 -0500

One more NSDocument question before I go to bed (it's 1:14am...)
I've created a document icon and set it up in Project Builder. The icon is
appearing in the Title Bar of my windows. But it is not appearing in the
documents when I save my file. Is there some magic that I need to do? I'm
using the default NSDocument methods for everything, the only thing that I'm
doing is using - (NSData *)dataRepresentationOfType:(NSString *)aType to
provide an NSData for my document, then letting the NSDocument class take
care of everything else.

I know that I can use - (NSDictionary
*)fileAttributesToWriteToFile:(NSString *)fullDocumentPath ofType:(NSString
*)documentTypeName saveOperation:(NSSaveOperationType)saveOperationType and
manually set up an NSDictionary, but that seems really gross.


  • Prev by Date: Re: Instance methods VS. Class methods
  • Next by Date: Re: Printing PDF even/odd pages - was Re: Text Editor
  • Previous by thread: Re: Instance methods VS. Class methods
  • Next by thread: Fw: DOcument Icons
  • Index(es):
    • Date
    • Thread