|
(NSImage *) | + imageNamed:owner: |
| Locates and initializes a named image from the bundle of an object.
|
|
◆ imageNamed:owner:
+ (NSImage *) imageNamed: |
|
(NSString *) | aName |
owner: |
|
(id) | owner |
Locates and initializes a named image from the bundle of an object.
- Parameters
-
aName | The name of the image, without an extension. |
owner | The 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: