• 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: Automatic document icon creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic document icon creation


  • Subject: Re: Automatic document icon creation
  • From: Michael Herring <email@hidden>
  • Date: Thu, 23 May 2013 11:19:17 -0700

"iOS doesn’t have document icons, does it?"

Correct. From the iOS HIG: "If your iOS app creates documents of a custom type, you want users to be able to recognize these documents at a glance. You don't need to design a custom icon for this purpose because iOS uses your app icon to create document icons for you."


./Michael


On Thu, May 23, 2013 at 11:06 AM, Jens Alfke <email@hidden> wrote:

On May 23, 2013, at 9:42 AM, Fritz Anderson <email@hidden> wrote:

Your question is imprecise (iOS or Mac?

iOS doesn’t have document icons, does it?

How would an icon be set automatically just by creating an image — don't you create lots of images that aren't meant to be icons?)

Think build-time. It could be done with some flag in the document-types section of the Info.plist that specifies that this icon is foreground-only and should be composited over a generic document icon. (Sort of like the flag that says that an iOS app icon should be composited with the round corners and reflection.)

I think your answer is to be found in -[NSWorkspace setIcon:forFile:options:]

No, that’s for setting a custom icon on a specific file, not for assigning icons to a file type.

—Jens

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Automatic document icon creation (From: Eric Gorr <email@hidden>)
 >Re: Automatic document icon creation (From: Fritz Anderson <email@hidden>)
 >Re: Automatic document icon creation (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Automatic document icon creation
  • Next by Date: Re: Automatic document icon creation
  • Previous by thread: Re: Automatic document icon creation
  • Next by thread: Re: Automatic document icon creation
  • Index(es):
    • Date
    • Thread