ProjectManager  0.2
Class Methods | List of all members
NSImage(PMAdditions) Category Reference

Class Methods

(NSImage *) + imageNamed:owner:
 Locates and initializes a named image from the bundle of an object. More...
 

Method Documentation

◆ imageNamed:owner:

+ (NSImage *) imageNamed: (NSString *)  aName
owner: (id)  owner 

Locates and initializes a named image from the bundle of an object.

Parameters
aNameThe name of the image, without an extension.
ownerThe object who's bundle will be searched.

This method is more suitable for loading images from external bundles, since the normal +[NSImage imageNamed:] doesn't look there.

Returns
An initialized and autoreleased image object or ‘nil’ if the image wasn't found.

The documentation for this category was generated from the following files: