Instance Method

name()

Returns the name associated with the image, if any.

Declaration

func name() -> NSImage.Name?

Return Value

The name associated with the image, or nil if it has no associated name.

See Also

Creating Images by Name

init?(named: NSImage.Name)

Returns the image object associated with the specified name.

func setName(NSImage.Name?) -> Bool

Registers the receiver under the specified name.

typealias NSImage.Name

Named images, defined by the system or you, for use in your app.