• 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
Re: Set icon for files created
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set icon for files created


  • Subject: Re: Set icon for files created
  • From: Randall Meadows <email@hidden>
  • Date: Fri, 5 Jun 2009 09:29:15 -0600

On Jun 5, 2009, at 5:48 AM, Jerry Krinock wrote:

On 2009 Jun 05, at 03:28, Nikhil Khandelwal wrote:

How I can set the icon for files created from my application?

The short answer is CFBundleTypeIconFile.

This, and other important information you'll need to know, is stored in the Info.plist file in the bundle.

You can also set a custom icon (say, for an image file) using NSWorkspace's -setIcon:forFile:options:.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Set icon for files created (From: Nikhil Khandelwal <email@hidden>)
 >Re: Set icon for files created (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Wich one is faster, compare or isEqualToString? (NSString methods)
  • Next by Date: Hiding Glyphs
  • Previous by thread: Re: Set icon for files created
  • Next by thread: Making an NSButton appear selected.
  • Index(es):
    • Date
    • Thread