On Jul 5, 2011, at 7:34 AM, Patrick Robertson wrote:
This is extremely fragile. You have no guarantee this image will continue
to exist, that it will always be in ICNS format, or that the CoreTypes
bundle will even continue to exist.
True, but this method has been working for our app for 8
As everyone else has been saying, NSWorkspace image for
type/file APIs and +[NSImage imageNamed:] are the API, and if it isn't
there, you can file a bug but should use your own artwork. (As it says in
the NSImage header.)
Even if it isn't available via imageNamed, you might still be able to
Hi Lee Ann.
Also I think Apple frowns on copying their icons into your apps. Only the ones
you can get through imageNamed: or iconForFileType: are fair game.
Wasn't it Steve Jobs who invited us to pick all their nice icons,
somewhen in the past when he introduced Leopard (or even Tiger)?
On Tue, Jul 5, 2011 at 6:53 AM, Ulf Dunkel dun...@calamus.net wrote:
Hi Lee Ann.
Also I think Apple frowns on copying their icons into your apps. Only the
ones you can get through imageNamed: or iconForFileType: are fair game.
Wasn't it Steve Jobs who invited us to pick all their nice icons,
Yes, but we're supposed to use them in-place, not copy them into our apps.
I wasn't suggesting that be done. Here's the code I use in my apps:
- (NSImage *)sysIconNamed:(NSString *)name {
NSString *path = [[NSBundle bundleWithPath:
@/System/Library/CoreServices/CoreTypes.bundle]
On Jul 5, 2011, at 5:20 AM, Patrick Robertson robertson.patr...@gmail.com
wrote:
I wasn't suggesting that be done. Here's the code I use in my apps:
- (NSImage *)sysIconNamed:(NSString *)name {
NSString *path = [[NSBundle bundleWithPath:
@/System/Library/CoreServices/CoreTypes.bundle]
This is extremely fragile. You have no guarantee this image will continue
to exist, that it will always be in ICNS format, or that the CoreTypes
bundle will even continue to exist.
True, but this method has been working for our app for 8 years now, no
problems :)
If you have any better
On Jul 5, 2011, at 07:34, Patrick Robertson wrote:
True, but this method has been working for our app for 8 years now, no
problems :)
If you have any better suggestions, feel free to let me know!
For those hoping to use the CoreTypes.bundle ICNS, I have not seen any of
them disappear or
On Tue, Jul 5, 2011 at 7:34 AM, Patrick Robertson
robertson.patr...@gmail.com wrote:
This is extremely fragile. You have no guarantee this image will continue
to exist, that it will always be in ICNS format, or that the CoreTypes
bundle will even continue to exist.
True, but this method
Not quite a cocoa question
By chance, does somewhere know where the images are for the eject button in
finder. I looked in /system/library/coreservices/finder and they are not
bundled with it. I'd prefer the Mac OS X versions and not some 3rd party.
Thanks in advance.
Tony Romano
Unicode eject symbol 23CF, possibly in Apple Symbols font: ⏏
- Original Message -
From: Tony Romano tony...@hotmail.com
To: List Cocoa Developer cocoa-dev@lists.apple.com
Sent: Monday, July 4, 2011 12:16:02 PM
Subject: finder eject images
Not quite a cocoa questionŠ
By chance, does
-
From: Tony Romano tony...@hotmail.com
To: List Cocoa Developer cocoa-dev@lists.apple.com
Sent: Monday, July 4, 2011 12:16:02 PM
Subject: finder eject images
Not quite a cocoa questionŠ
By chance, does somewhere know where the images are for the eject button in
finder. I looked in /system
robertson.patr...@gmail.com
To: Cocoa-dev@lists.apple.com
Sent: Monday, July 4, 2011 12:24:20 PM
Subject: Re: finder eject images
Lots of system icons are stored in
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/
EjectMediaIcon.icns is in there :)
On 4 July 2011 20:21, Lee Ann
To: Cocoa-dev@lists.apple.com
Sent: Monday, July 4, 2011 12:24:20 PM
Subject: Re: finder eject images
Lots of system icons are stored in
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/
EjectMediaIcon.icns is in there :)
On 4 July 2011 20:21, Lee Ann Rucker lruc...@vmware.com
14 matches
Mail list logo