• 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
Does NSImage handle Icns Files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does NSImage handle Icns Files?


  • Subject: Does NSImage handle Icns Files?
  • From: Seth Willits <email@hidden>
  • Date: Tue, 17 Jan 2006 14:48:28 -0800

Howdy,

I'm trying just to get an image of my document's icon inside my app, and I though [NSImage imageNamed:@"DocumentIcon"] might work, and although it returns something, when drawing in a view, it doesn't draw anything recognizable as part of the icon. (I actually just see a gradient shadowy kind of thing on the right side of where it should be drawing.)

Does NSImage handle icns files? How else can I get the icon for my document? (NSWorkspace's iconForFileType won't work because the file type isn't unique to my application.)

Thanks,


-- Seth Willits

_______________________________________________
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: Does NSImage handle Icns Files?
      • From: Seth Willits <email@hidden>
  • Prev by Date: -[NSTimer invalidate] does not guarantee that the timer won't fire?
  • Next by Date: Re: Comparing pixels in an image
  • Previous by thread: Re: -[NSTimer invalidate] does not guarantee that the timer won't fire?
  • Next by thread: Re: Does NSImage handle Icns Files?
  • Index(es):
    • Date
    • Thread