NSNotification
Extends:
An object containing information broadcast to registered observers that bridges to Notification; use NSNotification when you need reference semantics or other Foundation-specific behavior.
Constructor Summary
Public Constructor | ||
public |
constructor(name: Name, object: Object, userInfo: Map<AnyHashable, Object>): void Initializes a notification with a specified name, object, and user information. |
Member Summary
Public Members | ||
public get |
Typically you use this property to find out what kind of notification you are dealing with when you receive a notification.Special ConsiderationsNotification names can be any string. |
|
public get |
This is often the object that posted this notification. |
|
public get |
May be nil.The user information dictionary stores any additional objects that objects receiving the notification might use.For example, in the Application Kit, NSControl objects post the NSControlTextDidChangeNotification whenever the field editor (an NSText object) changes text inside the NSControl. |
Method Summary
Public Methods | ||
public |
Initializes a notification with the data from an unarchiver. |
|
public |
initNameObject(aName: Name, anObject: Object): void Returns a new notification object with a specified name and object. |
Inherited Summary
From class NSObject | ||
public static get |
The default returns true. |
|
public static get |
|
|
public static get |
|
|
public static |
The default implementation returns true. |
|
public static |
cancelPreviousPerformRequestsWithTarget(aTarget: Object): void All perform requests having the same target aTarget are canceled. |
|
public static |
cancelPreviousPerformRequestsWithTargetSelectorObject(aTarget: Object, aSelector: function, anArgument: Object): void All perform requests are canceled that have the same target as aTarget, argument as anArgument, and selector as aSelector. |
|
public static |
NSKeyedArchiver calls this method and stores the result inside the archive. |
|
public static |
During keyed unarchiving, instances of the receiver will be decoded as members of the returned class. |
|
public static |
conformsTo(protocol: Object): boolean A class is said to “conform to” a protocol if it adopts the protocol or inherits from another class that adopts it. |
|
public static |
|
|
public static |
defaultPlaceholderForMarkerWithBinding(marker: Object, binding: string): Object The marker can be nil or one of the constants described in Selection Markers. |
|
public static |
The debugger’s print-object command invokes this method to produce a textual description of an object.NSObject's implementation of this method simply prints the name of the class. |
|
public static |
exposeBinding(binding: string): void The bound property will be accessed using key-value-coding compliant methods. |
|
public static |
|
|
public static |
initWithCoder(coder: *): * |
|
public static |
initialize(): void The runtime sends initialize() to each class in a program just before the class, or any class that inherits from it, is sent its first message from within the program. |
|
public static |
instanceMethodFor(aSelector: function): function An error is generated if instances of the receiver can’t respond to aSelector messages.Use this method to ask the class object for the implementation of instance methods only. |
|
public static |
instancesRespondTo(aSelector: function): boolean If aSelector messages are forwarded to other objects, instances of the class are able to receive those messages without error even though this method returns false.To ask the class whether it, rather than its instances, can respond to a particular message, send to the class instead the NSObject protocol instance method responds(to:). |
|
public static |
isKeyExcludedFromWebScript(name: UnsafePointer<Int8>): boolean The default value is true. |
|
public static |
isSelectorExcludedFromWebScript(selector: function): boolean Only methods with valid parameters and return types are exported to the WebKit JavaScript environment. |
|
public static |
isSubclassOf(aClass: Object): boolean Returns a Boolean value that indicates whether the receiving class is a subclass of, or identical to, a given class. |
|
public static |
When an observer for the key is registered with an instance of the receiving class, key-value observing itself automatically observes all of the key paths for the same instance, and sends change notifications for the key to the observer when the value for any of those key paths changes.The default implementation of this method searches the receiving class for a method whose name matches the pattern +keyPathsForValuesAffecting<Key>, and returns the result of invoking that method if it is found. |
|
public static |
load(): void The load() message is sent to classes and categories that are both dynamically loaded and statically linked, but only if the newly loaded class or category implements a method that can respond.The order of initialization is as follows:All initializers in any framework you link to.All +load methods in your image.All C++ static initializers and C/C++ attribute(constructor) functions in your image.All initializers in frameworks that link to you.In addition:A class’s +load method is called after all of its superclasses’ +load methods.A category +load method is called after the class’s own +load method.In a custom implementation of load() you can therefore safely message other unrelated classes from the same image, but any load() methods implemented by those classes may not have run yet.ImportantCustom implementations of the load method for Swift classes bridged to Objective-C are not called automatically. |
|
public static |
resolveClassMethod(sel: function): boolean This method allows you to dynamically provide an implementation for a given selector. |
|
public static |
resolveInstanceMethod(sel: function): boolean This method and resolveClassMethod(_:) allow you to dynamically provide an implementation for a given selector.An Objective-C method is simply a C function that take at least two arguments—self and _cmd. |
|
public static |
setDefaultPlaceholderForMarkerWithBinding(placeholder: Object, marker: Object, binding: string): void The marker can be nil or one of the constants described in Selection Markers. |
|
public static |
setVersion(aVersion: number): void The version number is helpful when instances of the class are to be archived and reused later. |
|
public static |
superclass(): Object Returns the class object for the receiver’s superclass. |
|
public static |
If no version has been set, the default is 0. |
|
public static |
webScriptNameFor(selector: function): string It is your responsibility to ensure that the returned name is unique to the script invoking this method. |
|
public static |
webScriptNameForKey(name: UnsafePointer<Int8>): string Returns the scripting environment name for an attribute specified by a key. |
|
public get |
You can assume that the search for the focus has already been narrowed down to the accessibility element. |
|
public get |
In macOS 10.9 and later, a custom accessibility object that is an NSObject subclass can post accessibility notifications if it meets the following criteria:The lifetime of the custom accessibility object must match the lifetime of the corresponding element in the app's UI.Typically, a custom accessibility object that acts as a proxy for an onscreen UI element gets autoreleased and deallocated immediately after the app responds to an accessibility request. Such an object can’t post accessibility notifications, because all registered observers get removed as soon as the object is deallocated. To correct this, an app must guarantee that a custom accessibility object remains allocated for as long as its corresponding UI element remains visible.The object must post the NSAccessibilityUIElementDestroyedNotification notification at the appropriate time. The appropriate time is most likely to be when the corresponding UI element is removed from the screen, but it can also be when the object itself is deallocated. The object must implement accessibilityNotifiesWhenDestroyed and return true. |
|
public get |
NSObject’s implementation of attributeKeys simply calls [[self classDescription] attributeKeys]. |
|
public get |
This property returns a proxy for the receiving object if the receiver adopts the NSDiscardableContent protocol and still has content that has not been discarded.The proxy calls beginContentAccess() on the receiver to keep the content available as long as the proxy lives, and calls endContentAccess() when the proxy is deallocated.The wrapper object is otherwise a subclass of NSProxy and forwards messages to the original receiver object as an NSProxy does.This method can be used to hide an NSDiscardableContent object's content volatility by creating an object that responds to the same messages but holds the contents of the original receiver available as long as the created proxy lives. Thus hidden, the NSDiscardableContent object (by way of the proxy) can be given out to unsuspecting recipients of the object who would otherwise not know they might have to call beginContentAccess() and endContentAccess() around particular usages (specific to each NSDiscardableContent object) of the NSDiscardableContent object. |
|
public get |
This property is used by Cocoa’s scripting support classes. |
|
public get |
classDescription: NSClassDescription |
|
public get |
|
|
public get |
This method is invoked by NSCoder. |
|
public get |
The object will be encoded as if it were a member of the class. |
|
public get |
|
|
public get |
A subclass can override this method to remove bindings that are exposed by a superclass that are not appropriate for the subclass. |
|
public get |
|
|
public get |
|
|
public get |
The methods of the object are exposed to the script environment. |
|
public get |
objectSpecifier: NSScriptObjectSpecifier |
|
public get |
|
|
public get |
|
|
public get |
webFrame: WebFrame Only implemented by containers that are based on the WebKit’s plug-in architecture. |
|
public get |
webPlugInContainerSelectionColor: CGColor The color should be used for any special drawing when the plug-in is selected. |
|
public |
[key]: * |
|
public |
The activation point for the accessibility element, in screen coordinates. |
|
public |
accessibilityCustomActions: UIAccessibilityCustomAction[] An array of custom actions to display along with the built-in actions. |
|
public |
accessibilityCustomRotors: UIAccessibilityCustomRotor[] |
|
public |
An array of the accessibility elements in the container. |
|
public |
A Boolean value indicating whether the accessibility elements contained within this accessibility element are hidden. |
|
public |
The frame of the accessibility element, in screen coordinates. |
|
public |
|
|
public |
A brief description of the result of performing an action on the accessibility element, in a localized string. |
|
public |
A succinct label that identifies the accessibility element, in a localized string. |
|
public |
The language in which to speak the accessibility element's label, value, and hint. |
|
public |
accessibilityNavigationStyle: UIAccessibilityNavigationStyle The navigation style to apply to the object and its elements. |
|
public |
accessibilityPath: UIBezierPath The path of the element, in screen coordinates. |
|
public |
accessibilityTraits: UIAccessibilityTraits The combination of accessibility traits that best characterize the accessibility element. |
|
public |
The value of the accessibility element, in a localized string. |
|
public |
A Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver. |
|
public |
A Boolean value indicating whether the receiver is an accessibility element that an assistive application can access. |
|
public |
Returns a pointer that identifies information about all of the observers that are registered with the observed object. |
|
public |
An NSString-keyed dictionary of the receiver's scriptable properties. |
|
public |
A Boolean value indicating whether VoiceOver should group together the elements that are children of the receiver, regardless of their positions on the screen. |
|
public |
acceptsPreviewPanelControl(panel: QLPreviewPanel): boolean |
|
public |
accessibilityActionDescription(action: string): string this method was deprecated.
User interface classes must implement this method to return descriptions for all actions returned from accessibilityActionNames(). |
|
public |
this method was deprecated.
User interface classes must implement this method. |
|
public |
You can use this method to make complex controls more readily accessible to users. |
|
public |
accessibilityArrayAttributeCount(attribute: string): number If attribute is not an array, an exception is raised. |
|
public |
accessibilityArrayAttributeValues(attribute: string, index: number, maxCount: number): Object[] Note that this method does not take a range. |
|
public |
|
|
public |
this method was deprecated.
User interface classes must implement this method. |
|
public |
accessibilityAttributeValue(attribute: string): Object this method was deprecated.
User interface classes must implement this method. |
|
public |
accessibilityAttributeValueForParameter(attribute: string, parameter: Object): Object this method was deprecated.
If you implement this method, also implement accessibilityParameterizedAttributeNames(). |
|
public |
accessibilityDecrement(): void If your element has the UIAccessibilityTraitAdjustable trait, you must implement this method. |
|
public |
accessibilityElementAt(index: number): Object Returns the accessibility element at the specified index. |
|
public |
Returns the number of accessibility elements in the container. |
|
public |
Override accessibilityElementDidBecomeFocused if you need to know when an assistive technology has set its virtual focus on an accessibility element. |
|
public |
accessibilityElementDidLoseFocus(): void Override accessibilityElementDidLoseFocus if you need to know when an assistive technology has removed its virtual focus from an accessibility element. |
|
public |
Returns a Boolean value indicating whether an assistive technology is focused on the accessibility element. |
|
public |
accessibilityHitTest(point: CGPoint): Object You can assume that the specified point has already been determined to lie within the accessibility element's frame. Override this method to do deeper hit-testing by identifying which child element, if any, contains the point. NSMatrix, for example, identifies which of its cells contains the point and propagates the hit-test to it. If the specified point is not contained within one of the accessibility element's children, either return self or, if available, invoke the superclass's implementation. The default NSView and NSCell implementations test whether the accessibility element is an ignored element and, if it is, return the receiver's first unignored parent; otherwise they return self. |
|
public |
accessibilityIncrement(): void If your element has the UIAccessibilityTraitAdjustable trait, you must implement this method. |
|
public |
accessibilityIndexOfChild(child: Object): number Returns the index of the specified accessibility child in the parent. |
|
public |
accessibilityIsAttributeSettable(attribute: string): boolean this method was deprecated.
User interface classes must implement this method. |
|
public |
this method was deprecated.
When asking for an object's children, do not include ignored children; instead, replace the ignored children with their own unignored children. The same applies when asking for an object's parent: skip the ignored parent and treat the first unignored ancestor as the real parent. |
|
public |
this method was deprecated.
If you implement this method, also implement accessibilityAttributeValue(_:forParameter:). |
|
public |
accessibilityPerformAction(action: string): void this method was deprecated.
User interface classes must implement this method to handle all the actions returned from accessibilityActionNames(). |
|
public |
Implement this method on an element or containing view that can be revealed modally or in a hierarchy. |
|
public |
The exact action performed by this method depends your app, typically toggling the most important state of the app. |
|
public |
accessibilityScroll(direction: UIAccessibilityScrollDirection): boolean Implement this method if a view in the view hierarchy supports a scroll by page action.If the scrolling action succeeds for the specified direction, return true and post the UIAccessibilityPageScrolledNotification notification. |
|
public |
accessibilitySetOverrideValueForAttribute(value: Object, attribute: string): boolean this method was deprecated.
This method is for changing the set of attributes on an instance, as an alternative to subclassing.This method works only on objects whose class already implements the NSAccessibility protocol. |
|
public |
accessibilitySetValueForAttribute(value: Object, attribute: string): void this method was deprecated.
User interface classes must implement this method if any of its attributes are settable. |
|
public |
See Table 1The documentation for property-list constants for the properties for person and group records. |
|
public |
addObserverForKeyPath(observer: NSObject, keyPath: string, options: NSKeyValueObservingOptions, context: Object): void Neither the object receiving this message, nor observer, are retained. |
|
public |
applicationDelegateHandlesKey(sender: NSApplication, key: string): boolean The method should return true if the delegate for the app sender handles the key specified by key, which means it can get or set the scriptable property or element that corresponds to that key. |
|
public |
attemptRecoveryFromErrorOptionIndex(error: Error, recoveryOptionIndex: number): boolean Invoked when an error alert is been presented to the user in an application-modal dialog, and the user has selected an error recovery option specified by error. |
|
public |
authorizationViewCreatedAuthorization(view: SFAuthorizationView): void Sent to the delegate to indicate the authorization object has been created or changed. |
|
public |
authorizationViewDidAuthorize(view: SFAuthorizationView): void Sent to the delegate to indicate the user was authorized and the authorization view was changed to unlocked. |
|
public |
authorizationViewDidDeauthorize(view: SFAuthorizationView): void Sent to the delegate to indicate the user was deauthorized and the authorization view was changed to locked. |
|
public |
authorizationViewDidHide(view: SFAuthorizationView): void This delegate method, if present, is called whenever the isHidden method is called to show or hide the view. |
|
public |
authorizationViewReleasedAuthorization(view: SFAuthorizationView): void This method is called after deauthorization has been approved (either you called the deauthorize: method, or the user clicked an open lock icon and the authorizationViewShouldDeauthorize: delegate method did not cancel the operation), and before the user is deauthorized (that is, before the authorizationViewDidDeauthorize: delegate method is called). |
|
public |
authorizationViewShouldDeauthorize(view: SFAuthorizationView): number The delegate can react to this before deauthorization happens and avoid it by returning false. |
|
public |
awakeAfterUsing(aDecoder: NSCoder): Object You can use this method to eliminate redundant objects created by the coder. |
|
public |
awakeFromNib(): void The nib-loading infrastructure sends an awakeFromNib message to each object recreated from a nib archive, but only after all the objects in the archive have been loaded and initialized. |
|
public |
beginPreviewPanelControl(panel: QLPreviewPanel): void |
|
public |
bindToWithKeyPath(binding: string, observable: Object, keyPath: string, options: Map<string, Object>): void Establishes a binding between a given property of the receiver and the property of a given object specified by a given key path. |
|
public |
candidates(sender: Object): Object[] An input method should look up its currently composed string and return a list of candidate strings that that string might map to. |
|
public |
certificatePanelShowHelp(sender: SFCertificatePanel): number You can use this delegate method to implement custom help if you call the setShowsHelp: method to display a help button in the sheet or panel. |
|
public |
changeColor(sender: Object): void When the user selects a color in an NSColorPanel object, the panel sends a changeColor(_:) action message to the first responder. |
|
public |
changeFont(sender: Object): void Generally this change is because the user changed the font either in the selection of a rich text field or in a whole plain text field. |
|
public |
chooseIdentityPanelShowHelp(sender: SFChooseIdentityPanel): number You can use this delegate method to implement custom help if you call the setShowsHelp: method to display a help button in the sheet or panel. |
|
public |
classForAnnotationClass(annotationClass: Object): Object this method was deprecated.
|
|
public |
this method was deprecated.
|
|
public |
coerceValueForKey(value: Object, key: string): Object The method coerceValueFor<Key>: is used if it exists. |
|
public |
commitComposition(sender: Object): void If an input method implements this method, it is called when the client wants to end the composition session immediately. |
|
public |
A commit is denied if the receiver fails to apply the changes to the model object, perhaps due to a validation error. |
|
public |
commitEditingAndReturnError(): void During autosaving, commit editing may fail, due to a pending edit. |
|
public |
commitEditingWithDelegateDidCommit(delegate: Object, didCommitSelector: function, contextInfo: Object): void The receiver must have been registered as the editor of an object using objectDidBeginEditing:, and has not yet been unregistered by a subsequent invocation of objectDidEndEditing:. |
|
public |
composedString(sender: Object): Object A composed string refers to the buffer that an input method typically maintains to mirror the text contained in the active inline area. |
|
public |
compositionParameterViewDidChangeParameterWithKey(parameterView: QCCompositionParameterView, portKey: string): void Called after an input parameter in the composition parameter view has been edited. |
|
public |
compositionParameterViewShouldDisplayParameterWithKeyAttributes(parameterView: QCCompositionParameterView, portKey: string, portAttributes: Map<AnyHashable, Object>): boolean Allows you to define which composition parameters are visible in the user interface when the composition parameter view refreshes. |
|
public |
compositionPickerViewDidSelect(pickerView: QCCompositionPickerView, composition: QCComposition): void Quartz Composer invokes this method when the selected composition in the composition picker view changes. |
|
public |
compositionPickerViewDidStartAnimating(pickerView: QCCompositionPickerView): void Quartz Composer invokes this method when the composition picker view starts animating a composition. |
|
public |
compositionPickerViewWillStopAnimating(pickerView: QCCompositionPickerView): void Quartz Composer invokes this method whenever the composition picker view stops animating a composition. |
|
public |
controlTextDidBeginEditing(obj: Notification): void This method is invoked when the user begins editing text in a control such as a text field or a form field. |
|
public |
controlTextDidChange(obj: Notification): void This method is invoked when text in a control such as a text field or form changes. |
|
public |
controlTextDidEndEditing(obj: Notification): void This method is invoked when the user stops editing text in a control such as a text field or form. |
|
public |
This is a convenience method for classes that adopt the NSCopying protocol. |
|
public |
copyScriptingValueForKeyWithProperties(value: Object, key: string, properties: Map<string, Object>): Object You can override the copyScriptingValue method to take more control when your application is sent a duplicate command. |
|
public |
dictionaryWithValuesForKeys(keys: string[]): Map<string, Object> The default implementation invokes value(forKey:) for each key in keys and substitutes NSNull values in the dictionary for returned nil values. |
|
public |
didChangeValueForKey(key: string): void Use this method when implementing key-value observer compliance manually to inform the observed object that the value at key has just changed. |
|
public |
didChangeValueForKeyWithSetMutationUsing(key: string, mutationKind: NSKeyValueSetMutationKind, objects: Set<AnyHashable>): void Use this method when implementing key-value observer compliance manually. |
|
public |
didChangeValuesAtForKey(changeKind: NSKeyValueChange, indexes: Set, key: string): void Use this method when implementing key-value-observing compliance manually.Special ConsiderationsYou rarely need to override this method in subclasses, but if you do, be sure to call super. |
|
public |
didCommandByClient(aSelector: function, sender: Object): boolean This method is called when the system binds a key down event to an action method. |
|
public |
didMatchString(instance: PDFSelection): void Called for every match found during a find operation. |
|
public |
discardEditing(): void Causes the receiver to discard any changes, restoring the previous values. |
|
public |
documentDidBeginDocumentFind(notification: Notification): void Called when the PDFDocumentDidBeginFindNotification notification is posted. |
|
public |
documentDidBeginPageFind(notification: Notification): void Called when the PDFDocumentDidBeginPageFindNotification notification is posted. |
|
public |
documentDidEndDocumentFind(notification: Notification): void Called when the PDFDocumentDidEndFindNotification notification is posted. |
|
public |
documentDidEndPageFind(notification: Notification): void Called when the PDFDocumentDidEndPageFindNotification notification is posted. |
|
public |
documentDidFindMatch(notification: Notification): void Called when the PDFDocumentDidFindMatchNotification notification is posted. |
|
public |
documentDidUnlock(notification: Notification): void Called when the PDFDocumentDidUnlockNotification notification is posted. |
|
public |
doesContain(object: Object): boolean Currently, doesContain(_:) messages are never sent to any object from within Cocoa itself. |
|
public |
doesNotRecognizeSelector(aSelector: function): void The runtime system invokes this method whenever an object receives an aSelector message it can’t respond to or forward. |
|
public |
endPreviewPanelControl(panel: QLPreviewPanel): void |
|
public |
exceptionHandlerShouldHandleMask(sender: NSExceptionHandler, exception: NSException, aMask: number): boolean Implemented by the delegate to evaluate whether the delegating NSExceptionHandler instance should handle a given exception. |
|
public |
exceptionHandlerShouldLogExceptionMask(sender: NSExceptionHandler, exception: NSException, aMask: number): boolean Implemented by the delegate to evaluate whether the delegating NSExceptionHandler instance should log a given exception. |
|
public |
fileManagerShouldProceedAfterError(fm: FileManager, errorInfo: Map<AnyHashable, Object>): boolean this method was deprecated.
An NSFileManager object, manager, sends this message for each error it encounters when copying, moving, removing, or linking files or directories. |
|
public |
fileManagerWillProcessPath(fm: FileManager, path: string): void this method was deprecated.
You can implement this method in your handler to monitor file operations. |
|
public |
fileTransferServicesAbortCompleteError(inServices: OBEXFileTransferServices, inError: OBEXError): void |
|
public |
fileTransferServicesConnectionCompleteError(inServices: OBEXFileTransferServices, inError: OBEXError): void |
|
public |
fileTransferServicesCopyRemoteFileCompleteError(inServices: OBEXFileTransferServices, inError: OBEXError): void |
|
public |
fileTransferServicesCopyRemoteFileProgressTransferProgress(inServices: OBEXFileTransferServices, inProgressDescription: Map<AnyHashable, Object>): void |
|
public |
fileTransferServicesCreateFolderCompleteErrorFolder(inServices: OBEXFileTransferServices, inError: OBEXError, inFolderName: string): void |
|
public |
fileTransferServicesDisconnectionCompleteError(inServices: OBEXFileTransferServices, inError: OBEXError): void |
|
public |
fileTransferServicesFilePreparationCompleteError(inServices: OBEXFileTransferServices, inError: OBEXError): void |
|
public |
fileTransferServicesPathChangeCompleteErrorFinalPath(inServices: OBEXFileTransferServices, inError: OBEXError, inPath: string): void |
|
public |
fileTransferServicesRemoveItemCompleteErrorRemovedItem(inServices: OBEXFileTransferServices, inError: OBEXError, inItemName: string): void |
|
public |
fileTransferServicesRetrieveFolderListingCompleteErrorListing(inServices: OBEXFileTransferServices, inError: OBEXError, inListing: Object[]): void |
|
public |
fileTransferServicesSendFileCompleteError(inServices: OBEXFileTransferServices, inError: OBEXError): void |
|
public |
fileTransferServicesSendFileProgressTransferProgress(inServices: OBEXFileTransferServices, inProgressDescription: Map<AnyHashable, Object>): void |
|
public |
finalize(): void this method was deprecated.
The garbage collector invokes this method on the receiver before disposing of the memory it uses. |
|
public |
finalizeForWebScript(): void This method is invoked on objects exposed to the scripting environment just before the scripting environment is reset. |
|
public |
fontManagerWillIncludeFont(sender: Object, fontName: string): boolean this method was deprecated.
In macOS versions 10.2 and earlier, this method is invoked repeatedly as necessary whenever the Font panel needs updating, such as when the Font panel is first loaded, and when the user selects a family name to see which typefaces in that family are available. |
|
public |
forwardingTargetFor(aSelector: function): Object If an object implements (or inherits) this method, and returns a non-nil (and non-self) result, that returned object is used as the new receiver object and the message dispatch resumes to that new object. |
|
public |
handleClient(event: NSEvent, sender: Object): boolean Handles key down and mouse events. |
|
public |
imageBrowserBackgroundWasRightClickedWith(aBrowser: IKImageBrowserView, event: NSEvent): void This method signals that the user either right-clicked the background or left-clicked it with the Alt key pressed. |
|
public |
imageBrowserCellWasDoubleClickedAt(aBrowser: IKImageBrowserView, index: number): void This method signals that the user double-clicked an item in the image browser view. |
|
public |
imageBrowserCellWasRightClickedAtWith(aBrowser: IKImageBrowserView, index: number, event: NSEvent): void This method signals that the user either right-clicked an item in the browser or left-clicked the item with the Alt key pressed. |
|
public |
imageBrowserGroupAt(aBrowser: IKImageBrowserView, index: number): Map<AnyHashable, Object> This method is optional. |
|
public |
imageBrowserItemAt(aBrowser: IKImageBrowserView, index: number): Object Your data source must implement this method. |
|
public |
imageBrowserMoveItemsAtTo(aBrowser: IKImageBrowserView, indexes: Set, destinationIndex: number): boolean This method is optional. |
|
public |
imageBrowserRemoveItemsAt(aBrowser: IKImageBrowserView, indexes: Set): void This method is optional. |
|
public |
imageBrowserSelectionDidChange(aBrowser: IKImageBrowserView): void This method signals that the user changes the selection in the image browser view. |
|
public |
imageBrowserWriteItemsAtTo(aBrowser: IKImageBrowserView, itemIndexes: Set, pasteboard: NSPasteboard): number This method is optional. |
|
public |
Your data source must implement this method. |
|
public |
Your data source must implement this method. |
|
public |
This method is optional. |
|
public |
imageTitle(): string This method is optional. |
|
public |
Your data source must implement this method. |
|
public |
This method is optional. |
|
public |
indexOfAccessibilityElement(element: Object): number Returns the index of the specified accessibility element. |
|
public |
indicesOfObjectsByEvaluatingObjectSpecifier(specifier: NSScriptObjectSpecifier): number[] Containers that want to evaluate some specifiers on their own should implement this method. |
|
public |
infoForBinding(binding: string): Map<string, Object> This method is mostly for use by subclasses which want to analyze the existing bindings of an object. |
|
public |
inputTextClient(string: string, sender: Object): boolean An input method should implement this method when using key binding (that is, it implements didCommand(by:client:)). |
|
public |
inputTextKeyModifiersClient(string: string, keyCode: number, flags: number, sender: Object): boolean Receives Unicode, the key code that generated it, and any modifier flags. |
|
public |
insertValueAtInPropertyWithKey(value: Object, index: number, key: string): void The method insertIn<Key>:atIndex: is invoked if it exists. |
|
public |
insertValueInPropertyWithKey(value: Object, key: string): void The method insertIn<Key>: is used if it exists. |
|
public |
inverseForRelationshipKey(relationshipKey: string): string NSObject’s implementation of inverseForRelationshipKey: simply invokes [[self classDescription] inverseForRelationshipKey:relationshipKey]. |
|
public |
invokeDefaultMethodWithArguments(_arguments: Object[]): Object Executes when a script attempts to invoke a method on an exposed object directly. |
|
public |
invokeUndefinedMethodFromWebScriptWithArguments(name: string, _arguments: Object[]): Object This method is invoked when a script attempts to invoke a method not directly exported to the scripting environment. |
|
public |
isCaseInsensitiveLike(object: string): boolean Currently, isCaseInsensitiveLike(_:) messages are never sent to any object from within Cocoa itself.The default implementation for this method provided by NSObject returns false. |
|
public |
During the evaluation of an NSWhoseSpecifier object that contains a test whose operator is NSEqualToComparison, an isEqual(to:) message may be sent to each potentially specified object, if neither the potentially specified object nor the object being tested against implements a scriptingIsEqual(to:) method.The default implementation for this method provided by NSObject returns true if an isEqualTo: message sent to the same object would return true. |
|
public |
isGreaterThan(object: Object): boolean During the evaluation of an NSWhoseSpecifier object that contains a test whose operator is NSGreaterThanComparison, an isGreaterThan(:) message may be sent to each potentially specified object, if the potentially specified object does not implement a scriptingIsGreaterThan(:) method and the object being tested against does not implement a scriptingIsLessThanOrEqual(to:) method.The default implementation for this method provided by NSObject returns true if a compare: message sent to the same object would return NSOrderedDescending. |
|
public |
isGreaterThanOrEqualTo(object: Object): boolean During the evaluation of an NSWhoseSpecifier object that contains a test whose operator is NSGreaterThanOrEqualToComparison, anisGreaterThanOrEqual(to:) message may be sent to each potentially specified object, if the potentially specified object does not implement a scriptingIsGreaterThanOrEqual(to:) method and the object being tested against does not implement a scriptingIsLessThan(_:) method.The default implementation for this method provided by NSObject returns true if a compare: message sent to the same object would return NSOrderedSame or NSOrderedDescending. |
|
public |
isInstanceOf(aClass: Object): boolean |
|
public |
isLessThan(object: Object): boolean During the evaluation of an NSWhoseSpecifier object that contains a test whose operator is NSLessThanComparison, an isLessThan(:) message may be sent to each potentially specified object, if the potentially specified object does not implement a scriptingIsLessThan(:) method and the object being tested against does not implement a scriptingIsGreaterThanOrEqual(to:) method.The default implementation for this method provided by NSObject method returns true if a compare: message sent to the same object would return NSOrderedAscending. |
|
public |
isLessThanOrEqualTo(object: Object): boolean During the evaluation of an NSWhoseSpecifier object that contains a test whose operator is NSLessThanOrEqualToComparison, an isLessThanOrEqual(to:) message may be sent to each potentially specified object, if the potentially specified object does not implement a scriptingIsLessThanOrEqual(to:) method and the object being tested against does not implement a scriptingIsGreaterThan(_:) method.The default implementation for this method provided by NSObject method returns true if a compare: message sent to the same object would return NSOrderedAscending or NSOrderedSame. |
|
public |
Currently, isLike(_:) messages are never sent to any object from within Cocoa itself.The default implementation for this method provided by NSObject method returns false. |
|
public |
isNotEqualTo(object: Object): boolean Currently, isNotEqual(to:) messages are never sent to any object from within Cocoa itself.The default implementation for this method provided by NSObject method returns true if an isEqual: message sent to the same object would return false. |
|
public |
layerShouldInheritContentsScaleFrom(layer: CALayer, newScale: number, window: NSWindow): boolean When a resolution change occurs for a given window, the system traverses the layer trees in that window to decide what action, if any, to take for each layer. |
|
public |
If the receiver is an instance, aSelector should refer to an instance method; if the receiver is a class, it should refer to a class method. |
|
public |
mutableArrayValueForKey(key: string): Array Objects added to the mutable array become related to the receiver, and objects removed from the mutable array become unrelated. |
|
public |
mutableArrayValueForKeyPath(keyPath: string): Array See mutableArrayValue(forKey:) for additional details. |
|
public |
This is a convenience method for classes that adopt the NSMutableCopying protocol. |
|
public |
Objects added to the mutable set proxy become related to the receiver, and objects removed from the mutable set become unrelated. |
|
public |
mutableOrderedSetValueForKeyPath(keyPath: string): Set See mutableOrderedSetValue(forKey:) for additional details. |
|
public |
mutableSetValueForKey(key: string): Set Objects added to the mutable set proxy become related to the receiver, and objects removed from the mutable set become unrelated. |
|
public |
mutableSetValueForKeyPath(keyPath: string): Set See mutableSetValue(forKey:) for additional details. |
|
public |
namesOfPromisedFilesDroppedAtDestination(dropDestination: string): string[] this method was deprecated.
This method is invoked when the drop has been accepted by the destination and the destination, in the case of another Cocoa application, invokes the NSDraggingInfo method namesOfPromisedFilesDropped(atDestination:). |
|
public |
newScriptingObjectOfForValueForKeyWithContentsValue(objectClass: Object, key: string, contentsValue: Object, properties: Map<string, Object>): Object You can override the newScriptingObjectOfClass method to take more control when your application is sent a make command. |
|
public |
numberOfGroupsInImageBrowser(aBrowser: IKImageBrowserView): number This method is optional. |
|
public |
numberOfItemsInImageBrowser(aBrowser: IKImageBrowserView): number Your data source must implement this method. |
|
public |
objectDidBeginEditing(editor: Object): void This message should be sent to the receiver when editor has uncommitted changes that can affect the receiver. |
|
public |
objectDidEndEditing(editor: Object): void This message should be sent to the receiver when editor has finished editing a property belonging to the receiver. |
|
public |
observeValueForKeyPathOf(keyPath: string, object: Object, change: Map<NSKeyValueChangeKey, Object>, context: Object): void For an object to begin sending change notification messages for the value at keyPath, you send it an addObserver(_:forKeyPath:options:context:) message, naming the observing object that should receive the messages. |
|
public |
optionDescriptionsForBinding(binding: string): NSAttributeDescription[] The NSAttributeDescription instances in the array are used by Interface Builder to build the options editor user interface of the bindings inspector.The option name displayed for the option in the bindings inspector is based on the value of the NSAttributeDescription method name. |
|
public |
originalString(sender: Object): string Return the a string that consists of the precomposed unicode characters. |
|
public |
pasteboardChangedOwner(sender: NSPasteboard): void Pasteboard owners only need to implement this method if they need to know when they have lost ownership.The owner is not able to read the contents of the pasteboard when responding to this method. |
|
public |
pasteboardProvideDataForType(sender: NSPasteboard, type: string): void The receiver should have been previously declared in a declareTypes(:owner:) message.The requested data should be written to sender using the setData(:forType:), setPropertyList(:forType:), or setString(:forType:) method. |
|
public |
performActionFor(person: ABPerson, identifier: string): void If the property returned by actionProperty() is a multivalue property, identifier contains the unique identifier of the value selected. |
|
public |
performOnWithWaitUntilDone(aSelector: function, thr: Thread, arg: Object, wait: boolean): void You can use this method to deliver messages to other threads in your application. |
|
public |
performOnWithWaitUntilDoneModes(aSelector: function, thr: Thread, arg: Object, wait: boolean, array: string[]): void You can use this method to deliver messages to other threads in your application. |
|
public |
performSelectorInBackgroundWith(aSelector: function, arg: Object): void This method creates a new thread in your application, putting your application into multithreaded mode if it was not already. |
|
public |
performSelectorOnMainThreadWithWaitUntilDone(aSelector: function, arg: Object, wait: boolean): void You can use this method to deliver messages to the main thread of your application. |
|
public |
performSelectorOnMainThreadWithWaitUntilDoneModes(aSelector: function, arg: Object, wait: boolean, array: string[]): void You can use this method to deliver messages to the main thread of your application. |
|
public |
performWithAfterDelay(aSelector: function, anArgument: Object, delay: number): void This method sets up a timer to perform the aSelector message on the current thread’s run loop. |
|
public |
performWithAfterDelayInModes(aSelector: function, anArgument: Object, delay: number, modes: RunLoopMode[]): void This method sets up a timer to perform the aSelector message on the current thread’s run loop. |
|
public |
prepareForInterfaceBuilder(): void When Interface Builder instantiates a class with the IB_DESIGNABLE attribute, it calls this method to let the resulting object know that it was created at design time. |
|
public |
provideImageDataBytesPerRowOriginSizeUserInfo(data: Object, rowbytes: number, x: number, y: number, width: number, height: number, info: Object): void You can supply the image provider to these methods of the CIImage class: imageWithImageProvider:size::format:colorSpace:options: to create a CIImage object from image datainit(imageProvider:size:_:format:colorSpace:options:) to initialize an existing CIImage with dataYou initialize the given bitmap with the subregion specified by the arguments x, y, width, and height. |
|
public |
quartzFilterManagerDidAdd(sender: QuartzFilterManager, filter: QuartzFilter): void |
|
public |
quartzFilterManagerDidModifyFilter(sender: QuartzFilterManager, filter: QuartzFilter): void |
|
public |
quartzFilterManagerDidRemove(sender: QuartzFilterManager, filter: QuartzFilter): void |
|
public |
quartzFilterManagerDidSelect(sender: QuartzFilterManager, filter: QuartzFilter): void |
|
public |
readLinkQualityForDeviceComplete(controller: Object, device: IOBluetoothDevice, info: UnsafeMutablePointer<BluetoothHCILinkQualityInfo>, error: IOReturn): void This delegate gets invoked when an read link quality command complete event occurs. |
|
public |
readRSSIForDeviceComplete(controller: Object, device: IOBluetoothDevice, info: UnsafeMutablePointer<BluetoothHCIRSSIInfo>, error: IOReturn): void This delegate gets invoked when an RSSI command complete event occurs. |
|
public |
removeObserverForKeyPath(observer: NSObject, keyPath: string): void It is an error to call removeObserver(:forKeyPath:) for an object that has not previously been registered as an observer.Be sure to invoke this method (or removeObserver(:forKeyPath:context:)) before any object specified in addObserver(_:forKeyPath:options:context:) is deallocated. |
|
public |
removeValueAtFromPropertyWithKey(index: number, key: string): void The method removeFrom<Key>AtIndex: is invoked if it exists. |
|
public |
replaceValueAtInPropertyWithKeyWithValue(index: number, key: string, value: Object): void The method replaceIn<Key>:atIndex: is invoked if it exists. |
|
public |
replacementObjectFor(aCoder: NSCoder): Object An object might encode itself into an archive, but encode a proxy for itself if it’s being encoded for distribution. |
|
public |
saveOptionsShouldShowUTType(saveOptions: IKSaveOptions, utType: string): boolean Called to determine if the specified uniform type identifier should be shown in the save panel. |
|
public |
scriptingBeginsWith(object: Object): boolean Returns true if, in a scripting comparison, the compared object matches the beginning of object. |
|
public |
scriptingContains(object: Object): boolean Returns true if, in a scripting comparison, the compared object contains object. |
|
public |
scriptingEndsWith(object: Object): boolean Returns true if, in a scripting comparison, the compared object matches the end of object. |
|
public |
scriptingIsEqualTo(object: Object): boolean Returns true if, in a scripting comparison, the compared object is equal to object. |
|
public |
scriptingIsGreaterThan(object: Object): boolean Returns true if, in a scripting comparison, the compared object is greater than object. |
|
public |
scriptingIsGreaterThanOrEqualTo(object: Object): boolean Returns true if, in a scripting comparison, the compared object is greater than or equal to object. |
|
public |
scriptingIsLessThan(object: Object): boolean Returns true if, in a scripting comparison, the compared object is less than object. |
|
public |
scriptingIsLessThanOrEqualTo(object: Object): boolean Returns true if, in a scripting comparison, the compared object is less than or equal to object. |
|
public |
scriptingValueFor(objectSpecifier: NSScriptObjectSpecifier): Object You can override this method to customize the evaluation of object specifiers without requiring that the scripting container make up indexes for contained objects that don't naturally have indexes (as can be the case if you implement indicesOfObjects(byEvaluatingObjectSpecifier:) instead).Your override of this method doesn't need to also invoke any of the NSScriptCommand error signaling methods, though it can, to record very specific information. |
|
public |
setNilValueForKey(key: string): void Subclasses can override this method to handle the request in some other way, such as by substituting 0 or a sentinel value for nil and invoking setValue(_:forKey:) again or setting the variable directly. |
|
public |
setValueForKey(value: Object, key: string): void If key identifies a to-one relationship, relate the object specified by value to the receiver, unrelating the previously related object if there was one. |
|
public |
setValueForKeyPath(value: Object, keyPath: string): void The default implementation of this method gets the destination object for each relationship using value(forKey:), and sends the final object a setValue(_:forKey:) message.Special ConsiderationsWhen using this method, and the destination object does not implement an accessor for the value, the default behavior is for that object to retain value rather than copy or assign value. |
|
public |
setValueForUndefinedKey(value: Object, key: string): void Subclasses can override this method to handle the request in some other way. |
|
public |
setValuesForKeys(keyedValues: Map<string, Object>): void The default implementation invokes setValue(_:forKey:) for each key-value pair, substituting nil for NSNull values in keyedValues. |
|
public |
shouldEnableActionFor(person: ABPerson, identifier: string): boolean If the property returned by actionProperty() is a multivalue property, identifier contains the unique identifier of the value selected. |
|
public |
textStorageDidProcessEditing(notification: Notification): void this method was deprecated.
|
|
public |
textStorageWillProcessEditing(notification: Notification): void this method was deprecated.
|
|
public |
If the property returned by actionProperty() is a multivalue property, identifier contains the unique identifier of the value selected. |
|
public |
Removes a given binding between the receiver and a controller. |
|
public |
validModesForFontPanel(fontPanel: NSFontPanel): number The mode masks are defined in Mode Masks. |
|
public |
validateMenuItem(menuItem: NSMenuItem): boolean The object implementing this method must be the target of menuItem. |
|
public |
validateToolbarItem(item: NSToolbarItem): boolean NSToolbar only calls this method for image items.Note validateToolbarItem(_:) is called very frequently, so it must be efficient.If the receiver is the target for the actions of multiple toolbar items, it’s necessary to determine which toolbar item theItem refers to by testing the itemIdentifier.-(BOOL)validateToolbarItem:(NSToolbarItem )toolbarItem { BOOL enable = NO; if ([[toolbarItem itemIdentifier] isEqual:SaveDocToolbarItemIdentifier]) { // We will return YES (enable the save item) // only when the document is dirty and needs saving enable = [self isDocumentEdited]; } else if ([[toolbarItem itemIdentifier] isEqual:NSToolbarPrintItemIdentifier]) { // always enable print for this window enable = YES; } return enable; } -(BOOL)validateToolbarItem:(NSToolbarItem )toolbarItem { BOOL enable = NO; if ([[toolbarItem itemIdentifier] isEqual:SaveDocToolbarItemIdentifier]) { // We will return YES (enable the save item) // only when the document is dirty and needs saving enable = [self isDocumentEdited]; } else if ([[toolbarItem itemIdentifier] isEqual:NSToolbarPrintItemIdentifier]) { // always enable print for this window enable = YES; } return enable; } |
|
public |
validateValueForKey(ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, inKey: string): void The default implementation of this method searches the class of the receiver for a validation method whose name matches the pattern validate<Key>:error:. |
|
public |
validateValueForKeyPath(ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, inKeyPath: string): void The default implementation gets the destination object for each relationship using value(forKey:) and returns the result of a validateValue(_:forKey:) message to the final object.Handling Errors in Swift: In Swift, this method returns Void and is marked with the throws keyword to indicate that it throws an error in cases of failure. |
|
public |
valueAtInPropertyWithKey(index: number, key: string): Object This actually works with a single-value key as well if index is 0. |
|
public |
valueClassForBinding(binding: string): Object This method is used by Interface Builder to determine the appropriate transformers for a binding. |
|
public |
valueForKey(key: string): Object The search pattern that valueForKey: uses to find the correct value to return is described in Accessor Search Patterns in Key-Value Coding Programming Guide. |
|
public |
valueForKeyPath(keyPath: string): Object The default implementation gets the destination object for each relationship using value(forKey:) and returns the result of a value(forKey:) message to the final object. |
|
public |
valueForUndefinedKey(key: string): Object Subclasses can override this method to return an alternate value for undefined keys. |
|
public |
valueWithNameInPropertyWithKey(name: string, key: string): Object The method valueIn<Key>WithName: is used if it exists. |
|
public |
valueWithUniqueIDInPropertyWithKey(uniqueID: Object, key: string): Object The method valueIn<Key>WithUniqueID: is invoked if it exists. |
|
public |
viewStringForToolTipUserData(view: NSView, tag: NSToolTipTag, point: CGPoint, data: Object): string userData is additional information provided by the creator of the tool tip rectangle. |
|
public |
webPlugInContainerLoadInFrame(request: URLRequest, target: string): void If the frame specified by target is not found, a new window is opened, loaded with the URL request, and given the specified frame name. |
|
public |
webPlugInContainerShowStatus(message: string): void Tells the container to show a status message. |
|
public |
webPlugInDestroy(): void Typically, this method frees the memory and other resources used by the plug-in. |
|
public |
webPlugInInitialize(): void Tells the plug-in to perform one-time initialization. |
|
public |
webPlugInMainResourceDidFailWithError(error: Error): void This message is invoked when the underlying NSURLConnection object for the main resource sends the connection:didFailWithError: message to its delegate. |
|
public |
This message is invoked when the WebPlugInShouldLoadMainResourceKey plug-in command-line argument is set to false and the underlying NSURLConnection object for the main resource sends the connectionDidFinishLoading: message to its delegate. |
|
public |
webPlugInMainResourceDidReceive(response: URLResponse): void This message is invoked when the WebPlugInShouldLoadMainResourceKey plug-in command-line argument is set to false and the underlying NSURLConnection object for the main resource sends the connection:didReceiveResponse: message to its delegate. |
|
public |
webPlugInSetIsSelected(isSelected: boolean): void This may be used, for example, to change the plug-in’s appearance when it is selected by the user. |
|
public |
webPlugInStart(): void The plug-in usually begins its primary task (such as drawing, playing sounds, or animating) in this method. |
|
public |
webPlugInStop(): void This method may be called more than once, provided that the application has already called webPlugInInitialize() and that each call to this method is preceded by a call to webPlugInStart(). |
|
public |
willChangeValueForKey(key: string): void Use this method when implementing key-value observer compliance manually to inform the observed object that the value at key is about to change.The change type of this method is NSKeyValueChangeSetting.ImportantAfter the values have been changed, a corresponding didChangeValue(forKey:) must be invoked with the same parameter. |
|
public |
willChangeValueForKeyWithSetMutationUsing(key: string, mutationKind: NSKeyValueSetMutationKind, objects: Set<AnyHashable>): void Use this method when implementing key-value observer compliance manually.ImportantAfter the values have been changed, a corresponding didChangeValue(forKey:withSetMutation:using:) must be invoked with the same parameters.Special ConsiderationsYou rarely need to override this method in subclasses, but if you do, be sure to call super. |
|
public |
willChangeValuesAtForKey(changeKind: NSKeyValueChange, indexes: Set, key: string): void Use this method when implementing key-value-observing compliance manually.ImportantAfter the values have been changed, a corresponding didChange(_:valuesAt:forKey:) must be invoked with the same parameters.Special ConsiderationsYou rarely need to override this method in subclasses, but if you do, be sure to call super. |
|
public |
workflowControllerDidError(controller: AMWorkflowController, error: Error): void Invoked when the receiver's workflow encounters an error. |
|
public |
workflowControllerDidRun(controller: AMWorkflowController, action: AMAction): void Invoked when an action in the receiver's workflow is finished running. |
|
public |
workflowControllerDidStop(controller: AMWorkflowController): void Tells the delegate that the workflow controller object has stopped. |
|
public |
workflowControllerWillRun(controller: AMWorkflowController, action: AMAction): void Invoked when an action in the receiver's workflow is about to run. |
|
public |
workflowControllerWillStop(controller: AMWorkflowController): void Tells the delegate that the workflow controller object is about to stop. |
Static Public Members
public static get Name: Object source
Properties:
Name | Type | Attribute | Description |
AVAudioEngineConfigurationChange | Symbol | Posted when the audio engine configuration changes. |
|
AVAudioSessionInterruption | Symbol | Posted when an audio interruption occurs. |
|
AVAudioSessionMediaServicesWereLost | Symbol | Posted when the media server is terminated. |
|
AVAudioSessionMediaServicesWereReset | Symbol | Posted when the media server restarts. |
|
AVAudioSessionRouteChange | Symbol | Posted when the system’s audio route changes. |
|
AVAudioSessionSilenceSecondaryAudioHint | Symbol | Posted when the primary audio from other applications starts and stops. |
|
AVAudioUnitComponentTagsDidChange | Symbol | The component tags changed. |
|
CKAccountChanged | Symbol | Notification posted when the status of the signed-in iCloud account may have changed. |
|
CLKComplicationServerActiveComplicationsDidChange | Symbol | Posted went the set of active complications changes. |
|
CNContactStoreDidChange | Symbol | Posted notifications when changes occur in another CNContactStore. |
|
EKEventStoreChanged | Symbol | Posted whenever changes are made to the Calendar database, including adding, removing, and changing events or reminders. Individual changes are not described. When you receive this notification, you should refetch all EKEvent and EKReminder objects you have accessed, as they are considered stale. If you are actively editing an event and do not wish to refetch it unless it is absolutely necessary to do so, you can call the refresh method on it. If the method returns true, you do not need to refetch the event. |
|
HKUserPreferencesDidChange | Symbol | Notifies observers whenever the user changes his or her preferred units. |
|
HMCharacteristicPropertySupportsEvent | Symbol | The characteristic supports notifications using the event connection established by the controller. The event connection provides unidirectional communication from the accessory to the controller. |
|
NSBundleResourceRequestLowDiskSpace | Symbol | Posted after the system detects that the amount of available disk space is getting low. The notification is posted to the default notification center. |
|
NSCalendarDayChanged | Symbol | A notification that is posted whenever the calendar day of the system changes, as determined by the system calendar, locale, and time zone. |
|
NSDidBecomeSingleThreaded | Symbol | Not implemented. |
|
NSExtensionHostDidBecomeActive | Symbol | Posted when the extension’s host app moves from the inactive to the active state. |
|
NSExtensionHostDidEnterBackground | Symbol | Posted when the extension’s host app begins running in the background. |
|
NSExtensionHostWillEnterForeground | Symbol | Posted when the extension’s host app begins running in the foreground. |
|
NSExtensionHostWillResignActive | Symbol | Posted when the extension’s host app moves from the active to the inactive state. |
|
NSFileHandleConnectionAccepted | Symbol | This notification is posted when an NSFileHandle object establishes a socket connection between two processes, creates an NSFileHandle object for one end of the connection, and makes this object available to observers by putting it in the userInfo dictionary. |
|
NSFileHandleDataAvailable | Symbol | This notification is posted when the file handle determines that data is currently available for reading in a file or at a communications channel. |
|
NSFileHandleReadToEndOfFileCompletion | Symbol | This notification is posted when the file handle reads all data in the file or, if a communications channel, until the other process signals the end of data. |
|
NSHTTPCookieManagerAcceptPolicyChanged | Symbol | This notification is posted when the acceptance policy of the NSHTTPCookieStorage instance has changed. |
|
NSHTTPCookieManagerCookiesChanged | Symbol | This notification is posted when the cookies stored in the NSHTTPCookieStorage instance have changed. |
|
NSManagedObjectContextDidSave | Symbol | A notification that the context completed a save. |
|
NSManagedObjectContextObjectsDidChange | Symbol | A notification of changes made to managed objects associated with this context. |
|
NSManagedObjectContextWillSave | Symbol | A notification that the context is about to save. |
|
NSMetadataQueryDidFinishGathering | Symbol | Posted when the receiver has finished with the initial result-gathering phase of the query. |
|
NSMetadataQueryDidStartGathering | Symbol | Posted when the receiver begins with the initial result-gathering phase of the query. |
|
NSMetadataQueryDidUpdate | Symbol | Posted when the receiver’s results have changed during the live-update phase of the query. |
|
NSMetadataQueryGatheringProgress | Symbol | Posted as the receiver is collecting results during the initial result-gathering phase of the query. |
|
NSPersistentStoreCoordinatorStoresDidChange | Symbol | Posted whenever persistent stores are added to or removed from a persistent store coordinator, or when store UUIDs change. |
|
NSPersistentStoreCoordinatorStoresWillChange | Symbol | Posted before the list of open persistent stores changes. |
|
NSPersistentStoreCoordinatorWillRemoveStore | Symbol | Posted whenever a persistent store is removed from a persistent store coordinator. |
|
NSProcessInfoPowerStateDidChange | Symbol | Posted when the power state (Low Power Mode is enabled or disabled) of an iOS device changes. |
|
NSSystemClockDidChange | Symbol | A notification posted whenever the system clock is changed. |
|
NSSystemTimeZoneDidChange | Symbol | A notification posted when the time zone changes. |
|
NSThreadWillExit | Symbol | An NSThread object posts this notification when it receives the exit() message, before the thread exits. Observer methods invoked to receive this notification execute in the exiting thread, before it exits. |
|
NSURLCredentialStorageChanged | Symbol | This notification is posted when the set of stored credentials changes. |
|
NSUbiquityIdentityDidChange | Symbol | Sent after the iCloud (“ubiquity”) identity has changed. |
|
NSUndoManagerCheckpoint | Symbol | Posted whenever an NSUndoManager object opens or closes an undo group (except when it opens a top-level group) and when checking the redo stack in canRedo. |
|
NSUndoManagerDidCloseUndoGroup | Symbol | Posted after an NSUndoManager object closes an undo group, which occurs in the implementation of the endUndoGrouping() method. |
|
NSUndoManagerDidOpenUndoGroup | Symbol | Posted whenever an NSUndoManager object opens an undo group, which occurs in the implementation of the beginUndoGrouping() method. |
|
NSUndoManagerDidRedoChange | Symbol | Posted just after an NSUndoManager object performs a redo operation (redo()). |
|
NSUndoManagerDidUndoChange | Symbol | Posted just after an NSUndoManager object performs an undo operation. |
|
NSUndoManagerWillCloseUndoGroup | Symbol | Posted before an NSUndoManager object closes an undo group, which occurs in the implementation of the endUndoGrouping() method. |
|
NSUndoManagerWillRedoChange | Symbol | Posted just before an NSUndoManager object performs a redo operation (redo()). |
|
NSUndoManagerWillUndoChange | Symbol | Posted just before an NSUndoManager object performs an undo operation. |
|
NSWillBecomeMultiThreaded | Symbol | Posted when the first thread is detached from the current thread. The NSThread class posts this notification at most once—the first time a thread is detached using detachNewThreadSelector(_:toTarget:with:) or the start() method. Subsequent invocations of those methods do not post this notification. Observers of this notification have their notification method invoked in the main thread, not the new thread. The observer notification methods always execute before the new thread begins executing. |
|
PKPassLibraryDidChange | Symbol | Posted after the pass library has been changed. |
|
PKPassLibraryRemotePaymentPassesDidChange | Symbol | Posted when an Apple Pay card is added to or removed from a device that is paired with the current iOS device (for example, Apple Watch). |
|
UIAccessibilityAnnouncementDidFinish | Symbol | Posted by UIKit when the system has finished reading an announcement. |
|
UIAccessibilityElementFocused | Symbol | ||
WKAudioFilePlayerItemDidPlayToEndTime | Symbol | Posted when the item has played successfully to its end time. |
|
WKAudioFilePlayerItemFailedToPlayToEndTime | Symbol | Posted when the item failed to play to its end time. |
|
WKAudioFilePlayerItemTimeJumped | Symbol | Posted when the item’s current time has changed discontinuously. |
|
ABPeoplePickerDisplayedPropertyDidChange | Symbol | Posted when the displayed property in the record list is changed. |
|
ABPeoplePickerGroupSelectionDidChange | Symbol | Posted when the selection in the group list is changed. |
|
ABPeoplePickerNameSelectionDidChange | Symbol | Posted when the selection in the name list is changed. |
|
ABPeoplePickerValueSelectionDidChange | Symbol | Posted when the selection in a multivalue property is changed. |
|
ACAccountStoreDidChange | Symbol | Posted when the accounts managed by this account store changed in the database. There is no userInfo dictionary associated with this notification. |
|
AVAssetChapterMetadataGroupsDidChange | Symbol | ||
AVAssetContainsFragmentsDidChange | Symbol | ||
AVAssetDurationDidChange | Symbol | ||
AVAssetMediaSelectionGroupsDidChange | Symbol | ||
AVAssetTrackSegmentsDidChange | Symbol | ||
AVAssetTrackTimeRangeDidChange | Symbol | ||
AVAssetTrackTrackAssociationsDidChange | Symbol | ||
AVAssetWasDefragmented | Symbol | ||
AVCaptureDeviceWasConnected | Symbol | Posted when a new device becomes available. |
|
AVCaptureDeviceWasDisconnected | Symbol | Posted when an existing device becomes unavailable. |
|
AVCaptureInputPortFormatDescriptionDidChange | Symbol | Posted if the value of the capture input port’sformatDescription property changes. |
|
AVCaptureSessionDidStartRunning | Symbol | Posted when a capture session starts. |
|
AVCaptureSessionDidStopRunning | Symbol | Posted when a capture session stops. |
|
AVCaptureSessionRuntimeError | Symbol | Posted if an error occurred during a capture session. |
|
AVFragmentedMovieContainsMovieFragmentsDidChange | Symbol | ||
AVFragmentedMovieDurationDidChange | Symbol | ||
AVFragmentedMovieTrackSegmentsDidChange | Symbol | ||
AVFragmentedMovieTrackTimeRangeDidChange | Symbol | ||
AVFragmentedMovieTrackTotalSampleDataLengthDidChange | Symbol | ||
AVFragmentedMovieWasDefragmented | Symbol | ||
AVPlayerItemDidPlayToEndTime | Symbol | Posted when the item has played to its end time. |
|
AVPlayerItemFailedToPlayToEndTime | Symbol | Posted when the item failed to play to its end time. |
|
AVPlayerItemNewAccessLogEntry | Symbol | Posted when a new access log entry has been added. |
|
AVPlayerItemNewErrorLogEntry | Symbol | Posted when a new error log entry has been added. |
|
AVPlayerItemPlaybackStalled | Symbol | Posted when some media did not arrive in time to continue playback. |
|
AVPlayerItemTimeJumped | Symbol | Posted when the item’s current time has changed discontinuously. |
|
AVSampleBufferDisplayLayerFailedToDecode | Symbol | Posted when a buffer display layer failed to decode. |
|
CWBSSIDDidChange | Symbol | ||
CWCountryCodeDidChange | Symbol | ||
CWLinkDidChange | Symbol | ||
CWLinkQualityDidChange | Symbol | ||
CWModeDidChange | Symbol | ||
CWPowerDidChange | Symbol | ||
CWSSIDDidChange | Symbol | ||
CWScanCacheDidUpdate | Symbol | ||
GCControllerDidConnect | Symbol | Posted immediately after a new controller is connected to the device. |
|
GCControllerDidDisconnect | Symbol | Posted immediately after a controller is disconnected from the device. |
|
IKFilterBrowserFilterDoubleClick | Symbol | Posted when the user double-clicks a filter in the filter browser. |
|
IKFilterBrowserFilterSelected | Symbol | Posted when the user clicks a filter name in the filter browser. |
|
IKFilterBrowserWillPreviewFilter | Symbol | Posted before showing a filter preview, allowing an application to set the parameters of a filter. |
|
IOBluetoothHostControllerPoweredOff | Symbol | ||
IOBluetoothHostControllerPoweredOn | Symbol | ||
IOBluetoothL2CAPChannelPublished | Symbol | ||
IOBluetoothL2CAPChannelTerminated | Symbol | ||
MKAnnotationCalloutInfoDidChange | Symbol | Notifies observers that the title or subtitle information of an annotation object changed. |
|
NEFilterConfigurationDidChange | Symbol | Posted after the filter configuration stored in the Network Extension preferences changes. |
|
NEVPNConfigurationChange | Symbol | Posted after the VPN configuration stored in the Network Extension preferences changes. |
|
NEVPNStatusDidChange | Symbol | Posted when the status of the VPN connection changes. |
|
announcementRequested | Symbol | This notification is posted whenever an accessibility element needs to make an announcement to the user. This notification requires a userInfo dictionary with the key announcement and a localized string containing the announcement. To help an assistive app determine the importance of the announcement, add the appropriate priority to the userInfo dictionary. |
|
applicationActivated | Symbol | This notification is posted after the app has been activated. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
applicationDeactivated | Symbol | This notification is posted after the app has been deactivated. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
applicationHidden | Symbol | This notification is posted after the app is hidden. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
applicationShown | Symbol | This notification is posted after the app is shown. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
created | Symbol | This notification is posted after an accessibility element is created. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
drawerCreated | Symbol | This notification is posted after a drawer appears. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
focusedUIElementChanged | Symbol | This notification is posted after an accessibility element gains focus. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
focusedWindowChanged | Symbol | This notification is posted after the key window changes. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
helpTagCreated | Symbol | This notification is posted after a help tag appears. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
layoutChanged | Symbol | This notification is posted after the UI changes in a way that requires the attention of an accessibility client. This notification should be accompanied by a userInfo dictionary with the key uiElements and an array containing the UI elements that have been added or changed. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
mainWindowChanged | Symbol | This notification is posted after the main window changes. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
moved | Symbol | This notification is posted after an accessibility element moves. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
resized | Symbol | This notification is posted after an accessibility element’s size changes. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
rowCollapsed | Symbol | This notification is posted after a row collapses. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
rowCountChanged | Symbol | This notification is posted after a row is added or deleted. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
rowExpanded | Symbol | This notification is posted after a row expands. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
selectedCellsChanged | Symbol | This notification is posted after one or more cells in a cell-based table are selected or deselected. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
selectedChildrenChanged | Symbol | This notification is posted after one or more child elements are selected or deselected. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
selectedChildrenMoved | Symbol | This notification is posted after the selected items in a layout area move. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
selectedColumnsChanged | Symbol | This notification is posted after one or more columns are selected or deselected. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
selectedRowsChanged | Symbol | This notification is posted after one or more rows are selected or deselected. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
selectedTextChanged | Symbol | This notification is posted after text is selected or deselected. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
sheetCreated | Symbol | This notification is posted after a sheet appears. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
titleChanged | Symbol | This notification is posted after an accessibility element’s title changes. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
uiElementDestroyed | Symbol | This notification is posted after an accessibility element is destroyed. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
unitsChanged | Symbol | This notification is posted after the units in a layout area change. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
valueChanged | Symbol | This notification is posted after an accessibility element’s value changes. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
windowCreated | Symbol | This notification is posted after a new window appears. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
windowDeminiaturized | Symbol | This notification is posted after a window is restored to full size from the Dock. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
windowMiniaturized | Symbol | This notification is posted after a window is put in the Dock. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
windowMoved | Symbol | This notification is posted after a window moves. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
windowResized | Symbol | This notification is posted after a window’s size changes. Post this notification using the NSAccessibilityPostNotification(::) function instead of an NSNotificationCenter instance. |
|
progressMarkNotification | Symbol | Posted when the current progress of a running animation reaches one of its progress marks. |
|
antialiasThresholdChangedNotification | Symbol | Posted after the threshold for anti-aliasing changes. |
|
NSAppleEventManagerWillProcessFirstEvent | Symbol | Posted by NSAppleEventManager before it first dispatches an Apple event. Your application can use this notification to avoid registering any Apple event handlers until the first time at which they may be needed. |
|
didBecomeActiveNotification | Symbol | Posted immediately after the app becomes active. |
|
didChangeOcclusionStateNotification | Symbol | Posted when the app’s occlusion state changes. |
|
didChangeScreenParametersNotification | Symbol | Posted when the configuration of the displays attached to the computer is changed. |
|
didFinishLaunchingNotification | Symbol | Posted at the end of the finishLaunching() method to indicate that the app has completed launching and is ready to run. |
|
didFinishRestoringWindowsNotification | Symbol | Posted when the app is finished restoring windows. |
|
didHideNotification | Symbol | Posted at the end of the hide(_:) method to indicate that the app is now hidden. |
|
didResignActiveNotification | Symbol | Posted immediately after the app gives up its active status to another app. |
|
didUnhideNotification | Symbol | Posted at the end of the unhideWithoutActivation() method to indicate that the app is now visible. |
|
didUpdateNotification | Symbol | Posted at the end of the updateWindows() method to indicate that the app has finished updating its windows. |
|
willBecomeActiveNotification | Symbol | Posted immediately before the app becomes active. |
|
willFinishLaunchingNotification | Symbol | Posted at the start of the finishLaunching() method to indicate that the app has completed its initialization process and is about to finish launching. |
|
willHideNotification | Symbol | Posted at the start of the hide(_:) method to indicate that the app is about to be hidden. |
|
willResignActiveNotification | Symbol | Posted immediately before the app gives up its active status to another app. |
|
willTerminateNotification | Symbol | Posted by the terminate(_:) method to indicate that the app will terminate. |
|
willUnhideNotification | Symbol | Posted at the start of the unhideWithoutActivation() method to indicate that the app is about to become visible. |
|
willUpdateNotification | Symbol | Posted at the start of the updateWindows() method to indicate that the app is about to update its windows. |
|
columnConfigurationDidChangeNotification | Symbol | Notifies the delegate when the width of a browser column has changed. |
|
NSClassDescriptionNeededForClass | Symbol | Posted by init(for:) when a class description cannot be found for a class. |
|
didChangeNotification | Symbol | ||
colorDidChangeNotification | Symbol | Posted when the color of the NSColorPanel is set, as when NSColorPanel is invoked. |
|
selectionDidChangeNotification | Symbol | Posted after the pop-up list selection of the NSComboBox changes. |
|
selectionIsChangingNotification | Symbol | Posted whenever the pop-up list selection of the NSComboBox is changing. |
|
willDismissNotification | Symbol | Posted whenever the pop-up list of the NSComboBox is about to be dismissed. |
|
willPopUpNotification | Symbol | Posted whenever the pop-up list of the NSComboBox is going to be displayed. |
|
contextHelpModeDidActivateNotification | Symbol | Posted when the application enters context-sensitive help mode. This typically happens when the user holds down the Help key. |
|
contextHelpModeDidDeactivateNotification | Symbol | Posted when the application exits context-sensitive help mode. This happens when the user clicks the mouse button while the cursor is anywhere on the screen after displaying a context-sensitive help topic. |
|
textDidBeginEditingNotification | Symbol | Sent when a control with editable cells begins an edit session. |
|
textDidChangeNotification | Symbol | Sent when the text in the receiving control changes. |
|
textDidEndEditingNotification | Symbol | Sent when a control with editable cells ends an editing session. |
|
currentControlTintDidChangeNotification | Symbol | Sent after the user changes control tint preference. |
|
didCloseNotification | Symbol | Posted whenever the drawer is closed. |
|
didOpenNotification | Symbol | Posted whenever the drawer is opened. |
|
willCloseNotification | Symbol | Posted whenever the drawer is about to close. |
|
willOpenNotification | Symbol | Posted whenever the drawer is about to open. |
|
didChangeNotification | Symbol | Posted whenever a font collection is changed. |
|
fontSetChangedNotification | Symbol | Posted after the the currently-set font changes. |
|
registryDidChangeNotification | Symbol | Posted whenever the NSImageRep class registry changes. |
|
didAddItemNotification | Symbol | Posted after a menu item is added to the menu. |
|
didBeginTrackingNotification | Symbol | Posted when menu tracking begins. |
|
didChangeItemNotification | Symbol | Posted after a menu item in the menu changes appearance. |
|
didEndTrackingNotification | Symbol | Posted when menu tracking ends, even if no action is sent. |
|
didRemoveItemNotification | Symbol | Posted after a menu item is removed from the menu. |
|
didSendActionNotification | Symbol | Posted just after the application dispatches a menu item’s action method to the menu item’s target. |
|
willSendActionNotification | Symbol | Posted just before the application dispatches a menu item’s action method to the menu item’s target. |
|
columnDidMoveNotification | Symbol | Posted whenever a column is moved by user action in an NSOutlineView object. |
|
columnDidResizeNotification | Symbol | Posted whenever a column is resized in an NSOutlineView object. |
|
itemDidCollapseNotification | Symbol | Posted whenever an item is collapsed in an NSOutlineView object. |
|
itemDidExpandNotification | Symbol | Posted whenever an item is expanded in an NSOutlineView object. |
|
itemWillCollapseNotification | Symbol | Posted before an item is collapsed (after the user clicks the arrow but before the item is collapsed). |
|
itemWillExpandNotification | Symbol | Posted before an item is expanded (after the user clicks the arrow but before the item is collapsed). |
|
selectionDidChangeNotification | Symbol | Posted after the outline view's selection changes. |
|
selectionIsChangingNotification | Symbol | Posted as the outline view’s selection changes (while the mouse button is still down). |
|
NSPersistentStoreDidImportUbiquitousContentChanges | Symbol | Posted after records are imported from the ubiquitous content store. |
|
willPopUpNotification | Symbol | This notification is posted just before an pop-up menu is attached to its window frame. |
|
willPopUpNotification | Symbol | Posted when an NSPopUpButton object receives a mouse-down event—that is, when the user is about to select an item from the menu. |
|
didCloseNotification | Symbol | Sent after the popover has finished animating offscreen. |
|
didShowNotification | Symbol | Sent after the popover has finished animating onscreen. |
|
willCloseNotification | Symbol | Sent before the popover is closed. |
|
willShowNotification | Symbol | Sent before the popover is shown. |
|
preferredScrollerStyleDidChangeNotification | Symbol | Posted if the preferred scroller style changes. |
|
rowsDidChangeNotification | Symbol | This notification is posted to the default notification center whenever the view's rows change. |
|
colorSpaceDidChangeNotification | Symbol | Posted when the color space of the screen has changed. |
|
didEndLiveMagnifyNotification | Symbol | Posted at the end of a magnify gesture. |
|
didEndLiveScrollNotification | Symbol | Posted on the main thread at the end of live scroll tracking. |
|
didLiveScrollNotification | Symbol | Posted on the main thread after changing the clipview bounds origin due to a user-initiated event. |
|
willStartLiveMagnifyNotification | Symbol | Posted at the beginning of a magnify gesture. |
|
willStartLiveScrollNotification | Symbol | Posted on the main thread at the beginning of user-initiated live scroll tracking (gesture scroll or scroller tracking, for example, thumb dragging). |
|
didChangeAutomaticCapitalizationNotification | Symbol | ||
didChangeAutomaticDashSubstitutionNotification | Symbol | ||
didChangeAutomaticPeriodSubstitutionNotification | Symbol | ||
didChangeAutomaticQuoteSubstitutionNotification | Symbol | ||
didChangeAutomaticSpellingCorrectionNotification | Symbol | This notification is posted when the spell checker did change text using automatic spell checking correction. The are posted to the application’s default notification center. |
|
didChangeAutomaticTextReplacementNotification | Symbol | Posted when the spell checker changed text using automatic text replacement. This notification is posted to the app’s default notification center. |
|
didResizeSubviewsNotification | Symbol | Posted after an NSSplitView changes the sizes of some or all of its subviews. |
|
willResizeSubviewsNotification | Symbol | Posted before an NSSplitView changes the sizes of some or all of its subviews. |
|
systemColorsDidChangeNotification | Symbol | Sent when the system colors have been changed (such as through a system control panel interface). |
|
columnDidMoveNotification | Symbol | Posted whenever a column is moved by user action in an NSTableView object. |
|
columnDidResizeNotification | Symbol | Posted whenever a column is resized in an NSTableView object. |
|
selectionDidChangeNotification | Symbol | Posted after an NSTableView object's selection changes. |
|
selectionIsChangingNotification | Symbol | Posted as an NSTableView object's selection changes (while the mouse button is still down). |
|
selectedAlternativeStringNotification | Symbol | Posted when the user selects an alternate string. |
|
didBeginEditingNotification | Symbol | Posted when an NSText object begins any operation that changes characters or formatting attributes. |
|
didChangeNotification | Symbol | Posted after an NSText object performs any operation that changes characters or formatting attributes. |
|
didEndEditingNotification | Symbol | Posted when focus leaves an NSText object, whether or not any operation has changed characters or formatting attributes. |
|
keyboardSelectionDidChangeNotification | Symbol | Posted after the selected text input source changes. |
|
NSTextStorageDidProcessEditing | Symbol | Posted after a text storage finishes processing edits in processEditing(). |
|
NSTextStorageWillProcessEditing | Symbol | Posted before a text storage finishes processing edits in processEditing(). |
|
didChangeSelectionNotification | Symbol | Posted when the selected range of characters changes. |
|
didChangeTypingAttributesNotification | Symbol | Posted when there is a change in the typing attributes within a text view. |
|
willChangeNotifyingTextViewNotification | Symbol | Posted when a new text view is established as the text view that sends notifications. |
|
didRemoveItemNotification | Symbol | Posted after an item is removed from a toolbar. |
|
willAddItemNotification | Symbol | Posted before a new item is added to the toolbar. |
|
boundsDidChangeNotification | Symbol | Posted whenever the NSView’s bounds rectangle changes to a new value independently of the frame rectangle, but only when the view’s postsBoundsChangedNotifications property is true. |
|
didUpdateTrackingAreasNotification | Symbol | Posted whenever an NSView object recalculates its tracking areas. |
|
frameDidChangeNotification | Symbol | Posted whenever the view’s frame rectangle changes to a new value, but only when the view’s postsFrameChangedNotifications property is true. |
|
globalFrameDidChangeNotification | Symbol | Posted whenever an NSView object that has attached surfaces (that is, NSOpenGLContext objects) moves to a different screen, or other cases where the NSOpenGLContext object needs to be updated. |
|
didBecomeKeyNotification | Symbol | Posted whenever an NSWindow object becomes the key window. |
|
didBecomeMainNotification | Symbol | Posted whenever an NSWindow object becomes the main window. |
|
didChangeBackingPropertiesNotification | Symbol | Posted when the window backing properties change. |
|
didChangeOcclusionStateNotification | Symbol | Posted when the window’s occlusion state changes. |
|
didChangeScreenNotification | Symbol | Posted whenever a portion of an NSWindow object’s frame moves onto or off of a screen. |
|
didChangeScreenProfileNotification | Symbol | Posted whenever the display profile for the screen containing the window changes. |
|
didDeminiaturizeNotification | Symbol | Posted whenever an NSWindow object is deminimized. |
|
didEndLiveResizeNotification | Symbol | Posted after the user resizes a window. |
|
didEndSheetNotification | Symbol | Posted whenever an NSWindow object closes an attached sheet. |
|
didEnterFullScreenNotification | Symbol | Posted when the window entered full screen mode. |
|
didEnterVersionBrowserNotification | Symbol | Posted when the window will enter version browser mode. |
|
didExitFullScreenNotification | Symbol | Posted when the window did exit full screen mode. |
|
didExitVersionBrowserNotification | Symbol | Posted when the window did exit version browser mode. |
|
didExposeNotification | Symbol | Posted whenever a portion of a nonretained NSWindow object is exposed, whether by being ordered in front of other windows or by other windows being removed from in front of it. |
|
didMiniaturizeNotification | Symbol | Posted whenever an NSWindow object is minimized. |
|
didMoveNotification | Symbol | Posted whenever an NSWindow object is moved. |
|
didResignKeyNotification | Symbol | Posted whenever an NSWindow object resigns its status as key window. |
|
didResignMainNotification | Symbol | Posted whenever an NSWindow object resigns its status as main window. |
|
didResizeNotification | Symbol | Posted whenever an NSWindow object’s size changes. |
|
didUpdateNotification | Symbol | Posted whenever an NSWindow object receives an update() message. |
|
willBeginSheetNotification | Symbol | Posted whenever an NSWindow object is about to open a sheet. |
|
willCloseNotification | Symbol | Posted whenever an NSWindow object is about to close. |
|
willEnterFullScreenNotification | Symbol | Posted when the window will enter full screen mode. |
|
willEnterVersionBrowserNotification | Symbol | Posted when the window will enter version browser mode. |
|
willExitFullScreenNotification | Symbol | Posted when the window will exit full screen mode. |
|
willExitVersionBrowserNotification | Symbol | Posted when the window will exit version browser mode. |
|
willMiniaturizeNotification | Symbol | Posted whenever an NSWindow object is about to be minimized. |
|
willMoveNotification | Symbol | Posted whenever an NSWindow object is about to move. |
|
willStartLiveResizeNotification | Symbol | Posted before the user resizes a window. |
|
accessibilityDisplayOptionsDidChangeNotification | Symbol | Posted when any of the accessibility display options change. |
|
activeSpaceDidChangeNotification | Symbol | Posted when a Spaces change has occurred. |
|
didActivateApplicationNotification | Symbol | Posted when the Finder is about to activate an app. |
|
didChangeFileLabelsNotification | Symbol | Posted when the Finder file labels or colors change. |
|
didDeactivateApplicationNotification | Symbol | Posted when the Finder deactivated an app. |
|
didHideApplicationNotification | Symbol | Posted when the Finder hid an app. |
|
didLaunchApplicationNotification | Symbol | Posted when a new app has started up. |
|
didMountNotification | Symbol | Posted when a new device has been mounted. |
|
didPerformFileOperationNotification | Symbol | Posted when a file operation has been performed in the receiving app. |
|
didRenameVolumeNotification | Symbol | Posted when a volume changes its name and/or mount path. These typically change simultaneously, in which case only one notification is posted. |
|
didTerminateApplicationNotification | Symbol | Posted when an app finishes executing. |
|
didUnhideApplicationNotification | Symbol | Posted when the Finder unhid an app. |
|
didUnmountNotification | Symbol | Posted when the Finder did unmount a device. |
|
didWakeNotification | Symbol | Posted when the machine wakes from sleep. |
|
screensDidSleepNotification | Symbol | Posted when the machine’s screen goes to sleep. |
|
screensDidWakeNotification | Symbol | Posted when the machine’s screens wake. |
|
sessionDidBecomeActiveNotification | Symbol | Posted after a user session is switched in. |
|
sessionDidResignActiveNotification | Symbol | Posted before a user session is switched out. |
|
willLaunchApplicationNotification | Symbol | Posted when the Finder is about to launch an app. |
|
willPowerOffNotification | Symbol | Posted when the user has requested a logout or that the machine be powered off. |
|
willSleepNotification | Symbol | Posted before the machine goes to sleep. |
|
willUnmountNotification | Symbol | Posted when the Finder is about to unmount a device. |
|
PDFDocumentDidBeginFind | Symbol | Posted when the beginFindString(:withOptions:) or findString(:withOptions:) method begins finding. |
|
PDFDocumentDidBeginPageFind | Symbol | Posted each time a find operation begins working on a new page of a document. |
|
PDFDocumentDidBeginPageWrite | Symbol | Posted each time a write operation begins working on a page in a document. |
|
PDFDocumentDidBeginWrite | Symbol | Posted each time a write operation begins working on a document. |
|
PDFDocumentDidEndFind | Symbol | Posted when the beginFindString(:withOptions:) or findString(:withOptions:) method returns. |
|
PDFDocumentDidEndPageFind | Symbol | Posted each time a find operation finishes working on a page in a document. |
|
PDFDocumentDidEndPageWrite | Symbol | Posted each time a write operation finishes working on a page in a document. |
|
PDFDocumentDidEndWrite | Symbol | Posted each time a write operation finishes working on a document. |
|
PDFDocumentDidFindMatch | Symbol | Posted each time a string match is found in a document. |
|
PDFDocumentDidUnlock | Symbol | Posted when a document unlocks after a unlock(withPassword:) message. |
|
PDFThumbnailViewDocumentEdited | Symbol | ||
PDFViewAnnotationHit | Symbol | Posted when the user clicks on an annotation. |
|
PDFViewAnnotationWillHit | Symbol | Posted before the user clicks an annotation. |
|
PDFViewChangedHistory | Symbol | Posted when the page history changes. |
|
PDFViewCopyPermission | Symbol | Posted when the user attempts to copy to the pasteboard without the appropriate permissions. |
|
PDFViewDisplayBoxChanged | Symbol | Posted when the display box has changed. |
|
PDFViewDisplayModeChanged | Symbol | Posted when the display mode has changed. |
|
PDFViewDocumentChanged | Symbol | Posted when a new document is associated with the view. |
|
PDFViewPageChanged | Symbol | Posted when a new page becomes the current page. |
|
PDFViewPrintPermission | Symbol | Posted when the user attempts to print without the appropriate permissions. |
|
PDFViewScaleChanged | Symbol | Posted when the scale factor changes. |
|
PDFViewSelectionChanged | Symbol | Posted when the current selection has changed. |
|
PDFViewVisiblePagesChanged | Symbol | ||
QCCompositionPickerPanelDidSelectComposition | Symbol | Posted when the user chooses a composition. |
|
QCCompositionPickerViewDidSelectComposition | Symbol | Posted when the user selects a composition in the picker view. |
|
QCCompositionRepositoryDidUpdate | Symbol | Posted whenever the list of compositions in the composition repository is updated. |
|
QCViewDidStartRendering | Symbol | Posted when the view starts rendering. |
|
QCViewDidStopRendering | Symbol | Posted when the view stops rendering. |
|
WebHistoryAllItemsRemoved | Symbol | Posted when all history items have been removed from the web history. |
|
WebHistoryItemChanged | Symbol | Posted by a WebHistoryItem object when the value of the history item’s title, alternate title, URL strings, or last visited interval changes. |
|
WebHistoryItemsAdded | Symbol | Posted when history items have been added to a web history. |
|
WebHistoryItemsRemoved | Symbol | Posted when items have been removed from the web history. |
|
WebHistoryLoaded | Symbol | Posted when web history items have been loaded from a URL. |
|
WebHistorySaved | Symbol | Posted when web history items have been saved to a URL. |
|
WebPreferencesChanged | Symbol | Posted when the web preference settings are changed. |
|
WebViewDidBeginEditing | Symbol | Posted when a web view begins any operation that changes its contents in response to user editing. |
|
WebViewDidChange | Symbol | Posted when a web view performs any operation that changes its contents in response to user editing. |
|
WebViewDidChangeSelection | Symbol | Posted when a web view changes its typing selection. |
|
WebViewDidChangeTypingStyle | Symbol | Posted when a web view changes its typing style. |
|
WebViewDidEndEditing | Symbol | Posted when a web view ends any operation that changes its contents in response to user editing. |
|
WebViewProgressEstimateChanged | Symbol | Posted by a WebView object when the estimated progress value of a load changes. |
|
WebViewProgressFinished | Symbol | Posted by a WebView object when the load has finished. |
|
WebViewProgressStarted | Symbol | Posted by a WebView object when a load begins, including a load that is initiated in a subframe. |
|
abDatabaseChanged | Symbol | Posted when this process has changed the Address Book database. |
|
abDatabaseChangedExternally | Symbol | Posted when a process other than the current one has changed the Address Book database. |
|
quartzFilterManagerDidAddFilter | Symbol | ||
quartzFilterManagerDidModifyFilter | Symbol | ||
quartzFilterManagerDidRemoveFilter | Symbol | ||
quartzFilterManagerDidSelectFilter | Symbol | ||
EAAccessoryDidConnect | Symbol | Posted when an accessory becomes connected and available for your application to use. |
|
EAAccessoryDidDisconnect | Symbol | Posted when an accessory is disconnected and no longer available for your application to use. |
|
MPMovieDurationAvailable | Symbol | Posted when the duration of a movie has been determined. There is no userInfo dictionary. |
|
MPMovieMediaTypesAvailable | Symbol | Posted when the available media types in a movie are determined. There is no userInfo dictionary. |
|
MPMovieNaturalSizeAvailable | Symbol | Posted when the natural frame size of a movie is first determined or subsequently changes. There is no userInfo dictionary. |
|
MPMoviePlayerDidEnterFullscreen | Symbol | Posted when a movie player has entered full-screen mode. There is no userInfo dictionary. |
|
MPMoviePlayerDidExitFullscreen | Symbol | Posted when a movie player has exited full-screen mode. There is no userInfo dictionary. |
|
MPMoviePlayerIsAirPlayVideoActiveDidChange | Symbol | Posted when a movie player has started or ended playing a movie via AirPlay. There is no userInfo dictionary. |
|
MPMoviePlayerLoadStateDidChange | Symbol | Posted when a movie player’s network buffering state has changed. There is no userInfo dictionary. |
|
MPMoviePlayerNowPlayingMovieDidChange | Symbol | Posted when the currently playing movie has changed. There is no userInfo dictionary. |
|
MPMoviePlayerPlaybackDidFinish | Symbol | Posted when a movie has finished playing. The userInfo dictionary of this notification contains the MPMoviePlayerPlaybackDidFinishReasonUserInfoKey key, which indicates the reason that playback finished. This notification is also sent when playback fails because of an error. |
|
MPMoviePlayerPlaybackStateDidChange | Symbol | Posted when a movie player’s playback state has changed. There is no userInfo dictionary. |
|
MPMoviePlayerReadyForDisplayDidChange | Symbol | Posted when the ready for display state changes. |
|
MPMoviePlayerScalingModeDidChange | Symbol | Posted when the scaling mode of a movie player has changed. There is no userInfo dictionary. |
|
MPMoviePlayerThumbnailImageRequestDidFinish | Symbol | Posted when a request to capture a thumbnail from a movie has finished whether the request succeeded or failed. Upon successful capture of a thumbnail, the userInfo dictionary contains values for the following keys: |
|
MPMoviePlayerTimedMetadataUpdated | Symbol | Posted when new timed metadata arrives. |
|
MPMoviePlayerWillEnterFullscreen | Symbol | Posted when a movie player is about to enter full-screen mode. The userInfo dictionary contains keys whose values describe the transition animation used to enter full-screen mode. See Fullscreen Notification Keys. |
|
MPMoviePlayerWillExitFullscreen | Symbol | Posted when a movie player is about to exit full-screen mode. The userInfo dictionary contains keys whose values describe the transition animation used to exit full-screen mode. See Fullscreen Notification Keys. |
|
MPMovieSourceTypeAvailable | Symbol | Posted when the source type of a movie was previously unknown and is newly available. There is no userInfo dictionary. |
|
SKCloudServiceCapabilitiesDidChange | Symbol | Called when the capabilities associated with the music library on the device change. |
|
SKStorefrontIdentifierDidChange | Symbol | Called when the storefront identifier associated with the device changes. |
|
TVTopShelfItemsDidChange | Symbol | A notification to post when your app’s Top Shelf content has changed. |
|
UIAccessibilityAssistiveTouchStatusDidChange | Symbol | ||
UIAccessibilityBoldTextStatusDidChange | Symbol | Posted by UIKit when the system’s Bold Text setting has changed. |
|
UIAccessibilityClosedCaptioningStatusDidChange | Symbol | Posted by UIKit when the setting for closed captioning has changed. |
|
UIAccessibilityDarkerSystemColorsStatusDidChange | Symbol | Posted by UIKit when the system’s Darken Colors setting has changed. |
|
UIAccessibilityGrayscaleStatusDidChange | Symbol | Posted by UIKit when the system’s Grayscale setting has changed. |
|
UIAccessibilityGuidedAccessStatusDidChange | Symbol | Posted by UIKit when a Guided Access session starts or ends. |
|
UIAccessibilityHearingDevicePairedEarDidChange | Symbol | ||
UIAccessibilityInvertColorsStatusDidChange | Symbol | Posted by UIKit when the setting for inverted colors has changed. |
|
UIAccessibilityMonoAudioStatusDidChange | Symbol | Posted by UIKit when system audio changes from stereo to mono. |
|
UIAccessibilityReduceMotionStatusDidChange | Symbol | Posted by UIKit when the system’s Reduce Motion setting has changed. |
|
UIAccessibilityReduceTransparencyStatusDidChange | Symbol | Posted by UIKit when the system’s Reduce Transparency system setting has changed. |
|
UIAccessibilityShakeToUndoDidChange | Symbol | ||
UIAccessibilitySpeakScreenStatusDidChange | Symbol | Posted by UIKit when the system’s Speak Screen setting has changed. |
|
UIAccessibilitySpeakSelectionStatusDidChange | Symbol | Posted by UIKit when the system’s Speak Selection setting has changed. |
|
UIAccessibilitySwitchControlStatusDidChange | Symbol | Posted by UIKit when the system’s Switch Control setting has changed. |
|
UIApplicationDidBecomeActive | Symbol | Posted when the app becomes active. |
|
UIApplicationDidEnterBackground | Symbol | Posted when the app enters the background. |
|
UIApplicationDidFinishLaunching | Symbol | Posted immediately after the app finishes launching. |
|
UIApplicationDidReceiveMemoryWarning | Symbol | Posted when the app receives a warning from the operating system about low memory availability. |
|
UIApplicationSignificantTimeChange | Symbol | Posted when there is a significant change in time, for example, change to a new day (midnight), carrier time update, and change to or from daylight savings time. |
|
UIApplicationUserDidTakeScreenshot | Symbol | Posted when the user presses the Home and Lock buttons to take a screenshot. |
|
UIApplicationWillEnterForeground | Symbol | Posted shortly before an app leaves the background state on its way to becoming the active app. |
|
UIApplicationWillResignActive | Symbol | Posted when the app is no longer active and loses focus. |
|
UIApplicationWillTerminate | Symbol | Posted when the app is about to terminate. |
|
UIContentSizeCategoryDidChange | Symbol | Posted when the user changes the preferred content size setting. |
|
UIDeviceProximityStateDidChange | Symbol | Posted when the state of the proximity sensor changes. |
|
UIScreenBrightnessDidChange | Symbol | This notification is posted when the brightness of a screen changes. The object of the notification is the UIScreen object whose brightness property changed. There is no userInfo dictionary. |
|
UIScreenDidConnect | Symbol | This notification is posted when a new screen is connected to the device. The object of the notification is the UIScreen object representing the new screen. There is no userInfo dictionary. |
|
UIScreenDidDisconnect | Symbol | This notification is posted when a screen is disconnected from the device. The object of the notification is the UIScreen object that represented the now disconnected screen. There is no userInfo dictionary. |
|
UIScreenModeDidChange | Symbol | This notification is posted when the current mode of a screen changes. The object of the notification is the UIScreen object whose currentMode property changed. There is no userInfo dictionary. |
|
UITableViewSelectionDidChange | Symbol | Posted when the selected row in the posting table view changes. |
|
UITextFieldTextDidBeginEditing | Symbol | Notifies observers that an editing session began in a text field. The affected text field is stored in the object parameter of the notification. The userInfo dictionary is not used. |
|
UITextFieldTextDidChange | Symbol | Notifies observers that the text in a text field changed. The affected text field is stored in the object parameter of the notification. |
|
UITextFieldTextDidEndEditing | Symbol | Notifies observers that the editing session ended for a text field. The affected text field is stored in the object parameter of the notification. The userInfo dictionary is not used. |
|
UITextInputCurrentInputModeDidChange | Symbol | Posted when the current input mode changes. |
|
UITextViewTextDidBeginEditing | Symbol | Notifies observers that an editing session began in a text view. The affected view is stored in the object parameter of the notification. The userInfo dictionary is not used. |
|
UITextViewTextDidChange | Symbol | Notifies observers that the text in a text view changed. The affected view is stored in the object parameter of the notification. The userInfo dictionary is not used. |
|
UITextViewTextDidEndEditing | Symbol | Notifies observers that the editing session ended for a text view. The affected view is stored in the object parameter of the notification. The userInfo dictionary is not used. |
|
UIViewControllerShowDetailTargetDidChange | Symbol | Posted when a split view controller is expanded or collapsed. |
|
UIWindowDidBecomeHidden | Symbol | Posted when an UIWindow object becomes hidden. |
|
UIWindowDidBecomeKey | Symbol | Posted whenever a UIWindow object becomes the key window. |
|
UIWindowDidBecomeVisible | Symbol | Posted when an UIWindow object becomes visible. |
|
UIWindowDidResignKey | Symbol | Posted whenever a UIWindow object resigns its status as main window. |
|
ALAssetsLibraryChanged | Symbol | Sent when the contents of the assets library have changed from under the app that is using the data. |
|
AVCaptureDeviceSubjectAreaDidChange | Symbol | Posted when the instance of AVCaptureDevice has detected a substantial change to the video subject area. |
|
AVCaptureSessionInterruptionEnded | Symbol | Posted if an interruption to a capture session finishes. |
|
AVCaptureSessionWasInterrupted | Symbol | Posted if a capture session is interrupted. |
|
CTRadioAccessTechnologyDidChange | Symbol | ||
MFMessageComposeViewControllerTextMessageAvailabilityDidChange | Symbol | Posted when the value returned by the canSendText() class method has changed. |
|
MPMediaLibraryDidChange | Symbol | Indicates the media library has changed. |
|
MPMediaPlaybackIsPreparedToPlayDidChange | Symbol | Indicates that the prepared to play status of the media player has changed. |
|
MPMusicPlayerControllerNowPlayingItemDidChange | Symbol | Posted when the currently playing media item has changed. |
|
MPMusicPlayerControllerPlaybackStateDidChange | Symbol | Posted when the playback state has been changed programmatically or by user action. |
|
MPMusicPlayerControllerVolumeDidChange | Symbol | Posted when the audio playback volume for the music player has changed. |
|
MPVolumeViewWirelessRouteActiveDidChange | Symbol | Indicates the active wireless route changed. |
|
MPVolumeViewWirelessRoutesAvailableDidChange | Symbol | Indicates the available wireless routes changed. |
|
NKIssueDownloadCompleted | Symbol | Posted when all assets of the issue have been downloaded. |
|
UIApplicationBackgroundRefreshStatusDidChange | Symbol | Posted when the app’s status for downloading content in the background changes. |
|
UIApplicationDidChangeStatusBarFrame | Symbol | Posted when the frame of the status bar changes. |
|
UIApplicationDidChangeStatusBarOrientation | Symbol | Posted when the orientation of the app’s user interface changes. |
|
UIApplicationWillChangeStatusBarFrame | Symbol | Posted when the app is about to change the frame of the status bar. |
|
UIApplicationWillChangeStatusBarOrientation | Symbol | Posted when the app is about to change the orientation of its interface. |
|
UIDeviceBatteryLevelDidChange | Symbol | Posted when the battery level changes. |
|
UIDeviceBatteryStateDidChange | Symbol | Posted when battery state changes. |
|
UIDeviceOrientationDidChange | Symbol | Posted when the orientation of the device changes. |
|
UIDocumentStateChanged | Symbol | Posted by the document object when there is a change in the state of the document. |
|
UIKeyboardDidChangeFrame | Symbol | Posted immediately after a change in the keyboard’s frame. |
|
UIKeyboardDidHide | Symbol | Posted immediately after the dismissal of the keyboard. |
|
UIKeyboardDidShow | Symbol | Posted immediately after the display of the keyboard. |
|
UIKeyboardWillChangeFrame | Symbol | Posted immediately prior to a change in the keyboard’s frame. |
|
UIKeyboardWillHide | Symbol | Posted immediately prior to the dismissal of the keyboard. |
|
UIKeyboardWillShow | Symbol | Posted immediately prior to the display of the keyboard. |
|
UIMenuControllerDidHideMenu | Symbol | Posted by the menu controller just after it hides the menu. |
|
UIMenuControllerDidShowMenu | Symbol | Posted by the menu controller just after it shows the menu. |
|
UIMenuControllerMenuFrameDidChange | Symbol | Posted when the frame of a visible menu changes. |
|
UIMenuControllerWillHideMenu | Symbol | Posted by the menu controller just before it hides the menu. |
|
UIMenuControllerWillShowMenu | Symbol | Posted by the menu controller just before it shows the menu. |
|
UIPasteboardChanged | Symbol | Posted by a pasteboard object when its contents change. |
|
UIPasteboardRemoved | Symbol | Posted by a pasteboard object just before an app removes it. |
|
UIApplicationProtectedDataDidBecomeAvailable | Symbol | Posted when the protected files become available for your code to access. |
|
UIApplicationProtectedDataWillBecomeUnavailable | Symbol | Posted shortly before protected files are locked down and become inaccessible. |
|
didChangeAutomaticTextCompletionNotification | Symbol | ||
MPMusicPlayerControllerQueueDidChange | Symbol | Indicates the music player's queue changed. |
|
GKPlayerAuthenticationDidChangeNotificationName | Symbol | Posted after the isAuthenticated property of the shared local player object changes. The object property for this notification is a GKLocalPlayer object. Passing nil provides standard Notification Center behavior which is to receive the notification for any object. |
|
GKPlayerDidChangeNotificationName | Symbol | Posted when a player object’s data changes. |
|
NEDNSProxyConfigurationDidChange | Symbol | ||
SKStorefrontCountryCodeDidChange | Symbol | ||
UIAccessibilityVoiceOverStatusDidChange | Symbol | ||
UIFocusDidUpdate | Symbol | ||
UIFocusMovementDidFail | Symbol | ||
init | Symbol | ||
initrawValue | Symbol | ||
initnameobjectuserInfo | Symbol | Initializes a new notification. |
|
Notification.Name | Symbol | An alias for a type used to represent the name of a notification. |
Public Constructors
Public Members
public get name: Name source
Typically you use this property to find out what kind of notification you are dealing with when you receive a notification.Special ConsiderationsNotification names can be any string. To avoid name collisions, you might want to use a prefix that’s specific to your application.
public get object: Object source
This is often the object that posted this notification. It may be nil.Typically you use this method to find out what object a notification applies to when you receive a notification.
public get userInfo: Map<AnyHashable, Object> source
May be nil.The user information dictionary stores any additional objects that objects receiving the notification might use.For example, in the Application Kit, NSControl objects post the NSControlTextDidChangeNotification whenever the field editor (an NSText object) changes text inside the NSControl. This notification provides the NSControl object as the notification's associated object. In order to provide access to the field editor, the NSControl object posting the notification adds the field editor to the notification's user information dictionary. Objects receiving the notification can access the field editor and the NSControl object posting the notification as follows:- (void)controlTextDidBeginEditing:(NSNotification )notification { NSText fieldEditor = [notification.userInfo objectForKey:@"NSFieldEditor"]; // the field editor NSControl *postingObject = notification.object; // the object that posted the notification ... }
- (void)controlTextDidBeginEditing:(NSNotification )notification { NSText fieldEditor = [notification.userInfo objectForKey:@"NSFieldEditor"]; // the field editor NSControl *postingObject = notification.object; // the object that posted the notification ... }
Public Methods
public initCoder(aDecoder: NSCoder): void source
Initializes a notification with the data from an unarchiver.
Params:
Name | Type | Attribute | Description |
aDecoder | NSCoder |
Return:
void |