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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to