Function

NSReleaseAlertPanel(_:)

Disposes of an alert panel.

Declaration

func NSReleaseAlertPanel(_ panel: Any!)

Discussion

When you’re finished with a panel created by a function such as NSGetAlertPanel, NSGetCriticalAlertPanel, or NSGetInformationalAlertPanel, you must dispose of it by passing it to this function.

Note that the alert panel may not be deallocated immediately because it may have internal references that are disposed of in a deferred way. You should not make the assumption that the alert panel is immediately removed from the application window list.

See Also

Views and Controls

class NSForm

An NSForm object is a vertical matrix of NSFormCell objects to implement the fields.

Deprecated
class NSFormCell

The NSFormCell class is used to implement text entry fields in a form. The left part of an NSFormCell object contains a title. The right part contains an editable text entry field.

class NSMenuItemCell

An object that handles the measurement and display of a single menu item in its encompassing frame.

func NSDisableScreenUpdates()

Disables screen updates.

Deprecated
func NSEnableScreenUpdates()

Enables screen updates.

Deprecated