Re: Automatic document icon creation
Re: Automatic document icon creation
- Subject: Re: Automatic document icon creation
- From: Jens Alfke <email@hidden>
- Date: Thu, 23 May 2013 11:06:07 -0700
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