Re: Where is the Computer Image ?
Re: Where is the Computer Image ?
- Subject: Re: Where is the Computer Image ?
- From: Rob Keniger <email@hidden>
- Date: Tue, 16 Dec 2008 13:57:36 +1100
On 16/12/2008, at 4:00 AM, Gerriet M. Denkmann wrote:
Well, I looked at Finders Search For -> All Images (some 18000
images) but did not see a computer.
If the documentation for [NSImage imageNamed:] would have mentioned
that image names are to be found in the Constants section, this
would have helped a lot.
But it only says that it will: "Search the Application Kit framework
for a shared image with the specified name."
So I looked in the Application Kit framework, but did not find
anything.
In general you should always use the system-provided named images
rather than using an image file on disk. I agree that the
documentation could be more specific about where to find the image
names, perhaps you could file a bug against the documentation?
You can find a comprehensive list of named images in NSImage.h.
--
Rob Keniger
_______________________________________________
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