On Jul 6, 2010, at 12:36 PM, Bill Cheeseman wrote:
>
> On Jul 6, 2010, at 12:17 PM, k...@highrolls.net wrote:
>
>> NSWorkspace iconForFile returns folder images for Documents, Desktop and
>> Downloads.
>>
>> Where does one get the icon used by the F
On Tue, Jul 6, 2010 at 9:52 AM, Jean-Daniel Dupas
wrote:
> so this is the toolbar icons:
>
> [[NSWorkspace sharedWorkspace]
> iconForFileType:NSFileTypeForHFSTypeCode(kToolbarMusicFolderIcon)];
>
> [[NSWorkspace sharedWorkspace]
> iconForFileType:NSFileTypeForHFSTypeCode(kToolbarDownloadsFolderI
Le 6 juil. 2010 à 18:45, Kyle Sluder a écrit :
> On Tue, Jul 6, 2010 at 9:42 AM, Jean-Daniel Dupas
> wrote:
>> Not for me. It returns the expected icon:
>>
>> [[NSWorkspace sharedWorkspace] iconForFile:[@"~/Desktop"
>> stringByStandardizingPath]] returns the desktop folder icon.
>
> I believe
Oh!
I was striving for UI consistency as my app displays Devices and
Places as the Finder and I wanted those to have the same visual for
the user.
Hmm! What to do?
-koko
On Jul 6, 2010, at 10:44 AM, Kyle Sluder wrote:
On Tue, Jul 6, 2010 at 9:36 AM, Bill Cheeseman
wrote:
/System/Libra
On Tue, Jul 6, 2010 at 9:42 AM, Jean-Daniel Dupas
wrote:
> Not for me. It returns the expected icon:
>
> [[NSWorkspace sharedWorkspace] iconForFile:[@"~/Desktop"
> stringByStandardizingPath]] returns the desktop folder icon.
I believe the OP is referring to the icon you see when you drag the
Des
On Tue, Jul 6, 2010 at 9:36 AM, Bill Cheeseman wrote:
> /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/DocumentsFolderIcon.icns,
> .../DesktopFolderIcon.icns, and .../DownloadsFolder.icns [sic].
There is no indication that usage of these icons by anyone other than
Apple is perm
Le 6 juil. 2010 à 18:17, k...@highrolls.net a écrit :
> NSWorkspace iconForFile returns folder images for Documents, Desktop and
> Downloads.
>
> Where does one get the icon used by the Finder Places View for these paths?
Not for me. It returns the expected icon:
[
On Jul 6, 2010, at 12:17 PM, k...@highrolls.net wrote:
> NSWorkspace iconForFile returns folder images for Documents, Desktop and
> Downloads.
>
> Where does one get the icon used by the Finder Places View for these paths?
/System/Library/CoreServices/CoreTypes.bundle/Conten
NSWorkspace iconForFile returns folder images for Documents, Desktop
and Downloads.
Where does one get the icon used by the Finder Places View for these
paths?
-koko
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post