AppKit Changes for Swift
AppKit
Added NSButton.bezelColor
Added NSColorPickerTouchBarItem.colorPicker(withIdentifier: NSTouchBarItemIdentifier) -> Self [class]
Added NSColorPickerTouchBarItem.textColorPicker(withIdentifier: NSTouchBarItemIdentifier) -> Self [class]
Added NSCustomTouchBarItem
Added NSEventMask.directTouch
Added NSEventType.directTouch
Added NSGroupTouchBarItem
Added NSPopoverTouchBarItem
Added NSResponder.touchBar
Added NSScrubber
Added NSScrubber.dataSource
Added NSScrubber.delegate
Added NSScrubber.isContinuous
Added NSScrubber.itemAlignment
Added NSScrubber.mode
Added NSScrubber.numberOfItems
Added NSScrubber.reloadData()
Added NSScrubber.selectedIndex
Added NSScrubberAlignment.none
Added NSScrubberArrangedView
Added NSScrubberDataSource
Added NSScrubberDelegate
Added NSScrubberFlowLayout
Added NSScrubberImageItemView
Added NSScrubberItemView
Added NSScrubberLayout
Added NSScrubberLayout.init()
Added NSScrubberMode [enum]
Added NSScrubberMode.fixed
Added NSScrubberMode.free
Added NSScrubberSelectionStyle
Added NSScrubberSelectionView
Added NSScrubberTextItemView
Added NSSharingServicePickerTouchBarItemDelegate.items(for: NSSharingServicePickerTouchBarItem) -> [Any]
Added NSSlider.trackFillColor
Added NSSliderAccessory
Added NSSliderTouchBarItem
Added NSSpellChecker.isAutomaticTextCompletionEnabled() -> Bool [class]
Added NSTouch.type
Added NSTouchBar
Added NSTouchBar.delegate
Added NSTouchBar.init()
Added NSTouchBar.isVisible
Added NSTouchBar.templateItems
Added NSTouchBarCustomizationIdentifier.init(_: String)
Added NSTouchBarCustomizationIdentifier.init(rawValue: String)
Added NSTouchBarDelegate
Added NSTouchBarItem
Added NSTouchBarItem.isVisible
Added NSTouchBarItem.view
Added NSTouchBarProvider
Added NSTouchType [enum]
Added NSTouchType.direct
Added NSTouchType.indirect
Added NSTouchTypeMask [struct]
Added NSTouchTypeMask.direct
Added NSTouchTypeMask.indirect
Added NSView.allowedTouchTypes
Modified NSAlert
Declaration | |
---|---|
From | class NSAlert : NSObject { init(error error: Error) class func withError(_ error: Error) -> NSAlert var messageText: String var informativeText: String var icon: NSImage! func addButton(withTitle title: String) -> NSButton var buttons: [NSButton] { get } var showsHelp: Bool var helpAnchor: String? var alertStyle: NSAlertStyle weak var delegate: NSAlertDelegate? var showsSuppressionButton: Bool var suppressionButton: NSButton? { get } var accessoryView: NSView? func layout() func runModal() -> NSModalResponse func beginSheetModal(for sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) var window: NSWindow { get } func beginSheetModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSAlert : CVarArg { } extension NSAlert : Equatable, Hashable { var hashValue: Int { get } } extension NSAlert { func beginSheetModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) } |
To | class NSAlert : NSObject { init(error error: Error) class func withError(_ error: Error) -> NSAlert var messageText: String var informativeText: String var icon: NSImage! func addButton(withTitle title: String) -> NSButton var buttons: [NSButton] { get } var showsHelp: Bool var helpAnchor: String? var alertStyle: NSAlertStyle weak var delegate: NSAlertDelegate? var showsSuppressionButton: Bool var suppressionButton: NSButton? { get } var accessoryView: NSView? func layout() func runModal() -> NSModalResponse func beginSheetModal(for sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Swift.Void)? = nil) var window: NSWindow { get } func beginSheetModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSAlert : CVarArg { } extension NSAlert : Equatable, Hashable { var hashValue: Int { get } } extension NSAlert { func beginSheetModal(for window: NSWindow, modalDelegate delegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) } |
Modified NSAlert.beginSheetModal(for: NSWindow, completionHandler: ((NSModalResponse) -> Swift.Void)?)
Declaration | |
---|---|
From | func beginSheetModal(for sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) |
To | func beginSheetModal(for sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Swift.Void)? = nil) |
Modified NSAnimationContext
Declaration | |
---|---|
From | class NSAnimationContext : NSObject { class func runAnimationGroup(_ changes: (NSAnimationContext) -> Swift.Void, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) class func beginGrouping() class func endGrouping() class func current() -> NSAnimationContext var duration: TimeInterval var timingFunction: CAMediaTimingFunction? var completionHandler: (() -> Swift.Void)? var allowsImplicitAnimation: Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSAnimationContext : CVarArg { } extension NSAnimationContext : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSAnimationContext : NSObject { class func runAnimationGroup(_ changes: (NSAnimationContext) -> Swift.Void, completionHandler completionHandler: (() -> Swift.Void)? = nil) class func beginGrouping() class func endGrouping() class func current() -> NSAnimationContext var duration: TimeInterval var timingFunction: CAMediaTimingFunction? var completionHandler: (() -> Swift.Void)? var allowsImplicitAnimation: Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSAnimationContext : CVarArg { } extension NSAnimationContext : Equatable, Hashable { var hashValue: Int { get } } |
Declaration | |
---|---|
From | class func runAnimationGroup(_ changes: (NSAnimationContext) -> Swift.Void, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) |
To | class func runAnimationGroup(_ changes: (NSAnimationContext) -> Swift.Void, completionHandler completionHandler: (() -> Swift.Void)? = nil) |
Modified NSApplication
Declaration | Protocols | |
---|---|---|
From | class NSApplication : NSResponder, NSUserInterfaceValidations, NSAccessibilityElementProtocol, NSAccessibility { class func shared() -> NSApplication unowned(unsafe) var delegate: NSApplicationDelegate? func hide(_ sender: Any?) func unhide(_ sender: Any?) func unhideWithoutActivation() func window(withWindowNumber windowNum: Int) -> NSWindow? unowned(unsafe) var mainWindow: NSWindow? { get } unowned(unsafe) var keyWindow: NSWindow? { get } var isActive: Bool { get } var isHidden: Bool { get } var isRunning: Bool { get } func deactivate() func activate(ignoringOtherApps flag: Bool) func hideOtherApplications(_ sender: Any?) func unhideAllApplications(_ sender: Any?) func finishLaunching() func run() func runModal(for window: NSWindow) -> Int func stop(_ sender: Any?) func stopModal() func stopModal(withCode returnCode: Int) func abortModal() var modalWindow: NSWindow? { get } func beginModalSession(for window: NSWindow) -> NSModalSession func runModalSession(_ session: NSModalSession) -> Int func endModalSession(_ session: NSModalSession) func terminate(_ sender: Any?) func requestUserAttention(_ requestType: NSRequestUserAttentionType) -> Int func cancelUserAttentionRequest(_ request: Int) func enumerateWindows(options options: NSWindowListOptions = [], using block: (NSWindow, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func preventWindowOrdering() var windows: [NSWindow] { get } func setWindowsNeedUpdate(_ needUpdate: Bool) func updateWindows() var mainMenu: NSMenu? var helpMenu: NSMenu? var applicationIconImage: NSImage! func activationPolicy() -> NSApplicationActivationPolicy func setActivationPolicy(_ activationPolicy: NSApplicationActivationPolicy) -> Bool var dockTile: NSDockTile { get } func reportException(_ exception: NSException) class func detachDrawingThread(_ selector: Selector, toTarget target: Any, with argument: Any?) func reply(toApplicationShouldTerminate shouldTerminate: Bool) func reply(toOpenOrPrint reply: NSApplicationDelegateReply) func orderFrontCharacterPalette(_ sender: Any?) var presentationOptions: NSApplicationPresentationOptions var currentSystemPresentationOptions: NSApplicationPresentationOptions { get } var occlusionState: NSApplicationOcclusionState { get } func sendEvent(_ event: NSEvent) func postEvent(_ event: NSEvent, atStart flag: Bool) var currentEvent: NSEvent? { get } func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool func target(forAction action: Selector) -> Any? func target(forAction action: Selector, to target: Any?, from sender: Any?) -> Any? func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? var windowsMenu: NSMenu? func arrangeInFront(_ sender: Any?) func removeWindowsItem(_ win: NSWindow) func addWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func changeWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func updateWindowsItem(_ win: NSWindow) func miniaturizeAll(_ sender: Any?) var isFullKeyboardAccessEnabled: Bool { get } var servicesMenu: NSMenu? func registerServicesMenuSendTypes(_ sendTypes: [String], returnTypes returnTypes: [String]) var servicesProvider: Any? func orderFrontStandardAboutPanel(_ sender: Any?) func orderFrontStandardAboutPanel(options optionsDictionary: [String : Any] = [:]) var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get } func disableRelaunchOnLogin() func enableRelaunchOnLogin() func registerForRemoteNotifications(matching types: NSRemoteNotificationType) func unregisterForRemoteNotifications() var enabledRemoteNotificationTypes: NSRemoteNotificationType { get } func runModal(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> Int func beginModalSession(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> NSModalSession func application(_ sender: NSApplication!, printFiles filenames: [String]!) func beginSheet(_ sheet: NSWindow, modalFor docWindow: NSWindow, modalDelegate modalDelegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer!) func endSheet(_ sheet: NSWindow) func endSheet(_ sheet: NSWindow, returnCode returnCode: Int) func makeWindowsPerform(_ selector: Selector, inOrder flag: Bool) -> NSWindow? var context: NSGraphicsContext? { get } func orderFrontColorPanel(_ sender: Any?) func activateContextHelpMode(_ sender: Any?) func showHelp(_ sender: Any?) func runPageLayout(_ sender: Any?) var orderedDocuments: [NSDocument] { get } var orderedWindows: [NSWindow] { get } func registerUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func unregisterUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, range searchRange: NSRange, found foundRange: UnsafeMutablePointer<NSRange>?) -> Bool func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) -> Bool func extendStateRestoration() func completeStateRestoration() func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? } extension NSApplication : CVarArg { } extension NSApplication : Equatable, Hashable { var hashValue: Int { get } } extension NSApplication { func sendEvent(_ event: NSEvent) func postEvent(_ event: NSEvent, atStart flag: Bool) var currentEvent: NSEvent? { get } func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) } extension NSApplication { func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool func target(forAction action: Selector) -> Any? func target(forAction action: Selector, to target: Any?, from sender: Any?) -> Any? func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? } extension NSApplication { var windowsMenu: NSMenu? func arrangeInFront(_ sender: Any?) func removeWindowsItem(_ win: NSWindow) func addWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func changeWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func updateWindowsItem(_ win: NSWindow) func miniaturizeAll(_ sender: Any?) } extension NSApplication { var isFullKeyboardAccessEnabled: Bool { get } } extension NSApplication { var servicesMenu: NSMenu? func registerServicesMenuSendTypes(_ sendTypes: [String], returnTypes returnTypes: [String]) } extension NSApplication { var servicesProvider: Any? } extension NSApplication { func orderFrontStandardAboutPanel(_ sender: Any?) func orderFrontStandardAboutPanel(options optionsDictionary: [String : Any] = [:]) } extension NSApplication { var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get } } extension NSApplication { func disableRelaunchOnLogin() func enableRelaunchOnLogin() } extension NSApplication { func registerForRemoteNotifications(matching types: NSRemoteNotificationType) func unregisterForRemoteNotifications() var enabledRemoteNotificationTypes: NSRemoteNotificationType { get } } extension NSApplication { func runModal(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> Int func beginModalSession(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> NSModalSession func application(_ sender: NSApplication!, printFiles filenames: [String]!) func beginSheet(_ sheet: NSWindow, modalFor docWindow: NSWindow, modalDelegate modalDelegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer!) func endSheet(_ sheet: NSWindow) func endSheet(_ sheet: NSWindow, returnCode returnCode: Int) func makeWindowsPerform(_ selector: Selector, inOrder flag: Bool) -> NSWindow? var context: NSGraphicsContext? { get } } extension NSApplication { var orderedDocuments: [NSDocument] { get } var orderedWindows: [NSWindow] { get } } extension NSApplication { func orderFrontColorPanel(_ sender: Any?) } extension NSApplication { func activateContextHelpMode(_ sender: Any?) func showHelp(_ sender: Any?) } extension NSApplication { func runPageLayout(_ sender: Any?) } extension NSApplication { func registerUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func unregisterUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, range searchRange: NSRange, found foundRange: UnsafeMutablePointer<NSRange>?) -> Bool } extension NSApplication { func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) -> Bool } extension NSApplication { func extendStateRestoration() func completeStateRestoration() } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSUserInterfaceValidations |
To | class NSApplication : NSResponder, NSUserInterfaceValidations, NSAccessibilityElementProtocol, NSAccessibility { class func shared() -> NSApplication unowned(unsafe) var delegate: NSApplicationDelegate? func hide(_ sender: Any?) func unhide(_ sender: Any?) func unhideWithoutActivation() func window(withWindowNumber windowNum: Int) -> NSWindow? unowned(unsafe) var mainWindow: NSWindow? { get } unowned(unsafe) var keyWindow: NSWindow? { get } var isActive: Bool { get } var isHidden: Bool { get } var isRunning: Bool { get } func deactivate() func activate(ignoringOtherApps flag: Bool) func hideOtherApplications(_ sender: Any?) func unhideAllApplications(_ sender: Any?) func finishLaunching() func run() func runModal(for window: NSWindow) -> Int func stop(_ sender: Any?) func stopModal() func stopModal(withCode returnCode: Int) func abortModal() var modalWindow: NSWindow? { get } func beginModalSession(for window: NSWindow) -> NSModalSession func runModalSession(_ session: NSModalSession) -> Int func endModalSession(_ session: NSModalSession) func terminate(_ sender: Any?) func requestUserAttention(_ requestType: NSRequestUserAttentionType) -> Int func cancelUserAttentionRequest(_ request: Int) func enumerateWindows(options options: NSWindowListOptions = [], using block: (NSWindow, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func preventWindowOrdering() var windows: [NSWindow] { get } func setWindowsNeedUpdate(_ needUpdate: Bool) func updateWindows() var mainMenu: NSMenu? var helpMenu: NSMenu? var applicationIconImage: NSImage! func activationPolicy() -> NSApplicationActivationPolicy func setActivationPolicy(_ activationPolicy: NSApplicationActivationPolicy) -> Bool var dockTile: NSDockTile { get } func reportException(_ exception: NSException) class func detachDrawingThread(_ selector: Selector, toTarget target: Any, with argument: Any?) func reply(toApplicationShouldTerminate shouldTerminate: Bool) func reply(toOpenOrPrint reply: NSApplicationDelegateReply) func orderFrontCharacterPalette(_ sender: Any?) var presentationOptions: NSApplicationPresentationOptions var currentSystemPresentationOptions: NSApplicationPresentationOptions { get } var occlusionState: NSApplicationOcclusionState { get } func sendEvent(_ event: NSEvent) func postEvent(_ event: NSEvent, atStart flag: Bool) var currentEvent: NSEvent? { get } func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool func target(forAction action: Selector) -> Any? func target(forAction action: Selector, to target: Any?, from sender: Any?) -> Any? func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? var windowsMenu: NSMenu? func arrangeInFront(_ sender: Any?) func removeWindowsItem(_ win: NSWindow) func addWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func changeWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func updateWindowsItem(_ win: NSWindow) func miniaturizeAll(_ sender: Any?) var isFullKeyboardAccessEnabled: Bool { get } var servicesMenu: NSMenu? func registerServicesMenuSendTypes(_ sendTypes: [String], returnTypes returnTypes: [String]) var servicesProvider: Any? func orderFrontStandardAboutPanel(_ sender: Any?) func orderFrontStandardAboutPanel(options optionsDictionary: [String : Any] = [:]) var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get } func disableRelaunchOnLogin() func enableRelaunchOnLogin() func registerForRemoteNotifications(matching types: NSRemoteNotificationType) func unregisterForRemoteNotifications() var enabledRemoteNotificationTypes: NSRemoteNotificationType { get } func runModal(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> Int func beginModalSession(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> NSModalSession func application(_ sender: NSApplication!, printFiles filenames: [String]!) func beginSheet(_ sheet: NSWindow, modalFor docWindow: NSWindow, modalDelegate modalDelegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer!) func endSheet(_ sheet: NSWindow) func endSheet(_ sheet: NSWindow, returnCode returnCode: Int) func makeWindowsPerform(_ selector: Selector, inOrder flag: Bool) -> NSWindow? var context: NSGraphicsContext? { get } var isAutomaticCustomizeTouchBarMenuItemEnabled: Bool @IBAction func toggleTouchBarCustomizationPalette(_ sender: Any?) func orderFrontColorPanel(_ sender: Any?) func activateContextHelpMode(_ sender: Any?) func showHelp(_ sender: Any?) func runPageLayout(_ sender: Any?) var orderedDocuments: [NSDocument] { get } var orderedWindows: [NSWindow] { get } func registerUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func unregisterUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, range searchRange: NSRange, found foundRange: UnsafeMutablePointer<NSRange>?) -> Bool func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) -> Bool func extendStateRestoration() func completeStateRestoration() func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? } extension NSApplication : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSApplication : CVarArg { } extension NSApplication : Equatable, Hashable { var hashValue: Int { get } } extension NSApplication { func sendEvent(_ event: NSEvent) func postEvent(_ event: NSEvent, atStart flag: Bool) var currentEvent: NSEvent? { get } func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) } extension NSApplication { func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool func target(forAction action: Selector) -> Any? func target(forAction action: Selector, to target: Any?, from sender: Any?) -> Any? func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? } extension NSApplication { var windowsMenu: NSMenu? func arrangeInFront(_ sender: Any?) func removeWindowsItem(_ win: NSWindow) func addWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func changeWindowsItem(_ win: NSWindow, title string: String, filename isFilename: Bool) func updateWindowsItem(_ win: NSWindow) func miniaturizeAll(_ sender: Any?) } extension NSApplication { var isFullKeyboardAccessEnabled: Bool { get } } extension NSApplication { var servicesMenu: NSMenu? func registerServicesMenuSendTypes(_ sendTypes: [String], returnTypes returnTypes: [String]) } extension NSApplication { var servicesProvider: Any? } extension NSApplication { func orderFrontStandardAboutPanel(_ sender: Any?) func orderFrontStandardAboutPanel(options optionsDictionary: [String : Any] = [:]) } extension NSApplication { var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get } } extension NSApplication { func disableRelaunchOnLogin() func enableRelaunchOnLogin() } extension NSApplication { func registerForRemoteNotifications(matching types: NSRemoteNotificationType) func unregisterForRemoteNotifications() var enabledRemoteNotificationTypes: NSRemoteNotificationType { get } } extension NSApplication { func runModal(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> Int func beginModalSession(for window: NSWindow!, relativeTo docWindow: NSWindow!) -> NSModalSession func application(_ sender: NSApplication!, printFiles filenames: [String]!) func beginSheet(_ sheet: NSWindow, modalFor docWindow: NSWindow, modalDelegate modalDelegate: Any?, didEnd didEndSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer!) func endSheet(_ sheet: NSWindow) func endSheet(_ sheet: NSWindow, returnCode returnCode: Int) func makeWindowsPerform(_ selector: Selector, inOrder flag: Bool) -> NSWindow? var context: NSGraphicsContext? { get } } extension NSApplication { var orderedDocuments: [NSDocument] { get } var orderedWindows: [NSWindow] { get } } extension NSApplication { func orderFrontColorPanel(_ sender: Any?) } extension NSApplication { func activateContextHelpMode(_ sender: Any?) func showHelp(_ sender: Any?) } extension NSApplication { func runPageLayout(_ sender: Any?) } extension NSApplication { var isAutomaticCustomizeTouchBarMenuItemEnabled: Bool @IBAction func toggleTouchBarCustomizationPalette(_ sender: Any?) } extension NSApplication { func registerUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func unregisterUserInterfaceItemSearchHandler(_ handler: NSUserInterfaceItemSearching) func searchString(_ searchString: String, inUserInterfaceItemString stringToSearch: String, range searchRange: NSRange, found foundRange: UnsafeMutablePointer<NSRange>?) -> Bool } extension NSApplication { func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) -> Bool } extension NSApplication { func extendStateRestoration() func completeStateRestoration() } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSTouchBarProvider, NSUserInterfaceValidations |
Modified NSBox
Declaration | Protocols | |
---|---|---|
From | class NSBox : NSView { var borderType: NSBorderType var titlePosition: NSTitlePosition var boxType: NSBoxType var title: String var titleFont: NSFont var borderRect: NSRect { get } var titleRect: NSRect { get } var titleCell: Any { get } func sizeToFit() var contentViewMargins: NSSize func setFrameFromContentFrame(_ contentFrame: NSRect) unowned(unsafe) var contentView: NSView? var isTransparent: Bool var borderWidth: CGFloat var cornerRadius: CGFloat @NSCopying var borderColor: NSColor @NSCopying var fillColor: NSColor func setTitleWithMnemonic(_ stringWithAmpersand: String!) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() } extension NSBox : CVarArg { } extension NSBox : Equatable, Hashable { var hashValue: Int { get } } extension NSBox { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable |
To | class NSBox : NSView { var borderType: NSBorderType var titlePosition: NSTitlePosition var boxType: NSBoxType var title: String var titleFont: NSFont var borderRect: NSRect { get } var titleRect: NSRect { get } var titleCell: Any { get } func sizeToFit() var contentViewMargins: NSSize func setFrameFromContentFrame(_ contentFrame: NSRect) unowned(unsafe) var contentView: NSView? var isTransparent: Bool var borderWidth: CGFloat var cornerRadius: CGFloat @NSCopying var borderColor: NSColor @NSCopying var fillColor: NSColor func setTitleWithMnemonic(_ stringWithAmpersand: String!) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool } extension NSBox : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSBox : CVarArg { } extension NSBox : Equatable, Hashable { var hashValue: Int { get } } extension NSBox { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSBrowser
Declaration | Protocols | |
---|---|---|
From | class NSBrowser : NSControl { class func cellClass() -> Swift.AnyClass func loadColumnZero() var isLoaded: Bool { get } var doubleAction: Selector? func setCellClass(_ factoryId: Swift.AnyClass) var cellPrototype: Any! unowned(unsafe) var delegate: NSBrowserDelegate? var reusesColumns: Bool var hasHorizontalScroller: Bool var autohidesScroller: Bool var separatesColumns: Bool var isTitled: Bool var minColumnWidth: CGFloat var maxVisibleColumns: Int var allowsMultipleSelection: Bool var allowsBranchSelection: Bool var allowsEmptySelection: Bool var takesTitleFromPreviousColumn: Bool var sendsActionOnArrowKeys: Bool func item(at indexPath: IndexPath) -> Any? func item(atRow row: Int, inColumn column: Int) -> Any? func indexPath(forColumn column: Int) -> IndexPath func isLeafItem(_ item: Any?) -> Bool func reloadData(forRowIndexes rowIndexes: IndexSet, inColumn column: Int) func parentForItems(inColumn column: Int) -> Any? func scrollRowToVisible(_ row: Int, inColumn column: Int) func setTitle(_ string: String, ofColumn column: Int) func title(ofColumn column: Int) -> String? var pathSeparator: String func setPath(_ path: String) -> Bool func path() -> String func path(toColumn column: Int) -> String var clickedColumn: Int { get } var clickedRow: Int { get } var selectedColumn: Int { get } func selectedCell(inColumn column: Int) -> Any? var selectedCells: [NSCell]? { get } func selectRow(_ row: Int, inColumn column: Int) func selectedRow(inColumn column: Int) -> Int var selectionIndexPath: IndexPath var selectionIndexPaths: [IndexPath] func selectRowIndexes(_ indexes: IndexSet, inColumn column: Int) func selectedRowIndexes(inColumn column: Int) -> IndexSet? func reloadColumn(_ column: Int) func validateVisibleColumns() func scrollColumnsRight(by shiftAmount: Int) func scrollColumnsLeft(by shiftAmount: Int) func scrollColumnToVisible(_ column: Int) var lastColumn: Int func addColumn() var numberOfVisibleColumns: Int { get } var firstVisibleColumn: Int { get } var lastVisibleColumn: Int { get } func loadedCell(atRow row: Int, column col: Int) -> Any? func selectAll(_ sender: Any?) func tile() func doClick(_ sender: Any?) func doDoubleClick(_ sender: Any?) func sendAction() -> Bool func titleFrame(ofColumn column: Int) -> NSRect func drawTitle(ofColumn column: Int, in rect: NSRect) var titleHeight: CGFloat { get } func frame(ofColumn column: Int) -> NSRect func frame(ofInsideOfColumn column: Int) -> NSRect func frame(ofRow row: Int, inColumn column: Int) -> NSRect func getRow(_ row: UnsafeMutablePointer<Int>?, column column: UnsafeMutablePointer<Int>?, for point: NSPoint) -> Bool func columnWidth(forColumnContentWidth columnContentWidth: CGFloat) -> CGFloat func columnContentWidth(forColumnWidth columnWidth: CGFloat) -> CGFloat var columnResizingType: NSBrowserColumnResizingType var prefersAllColumnUserResizing: Bool func setWidth(_ columnWidth: CGFloat, ofColumn columnIndex: Int) func width(ofColumn column: Int) -> CGFloat var rowHeight: CGFloat func noteHeightOfRowsWithIndexesChanged(_ indexSet: IndexSet, inColumn columnIndex: Int) func setDefaultColumnWidth(_ columnWidth: CGFloat) func defaultColumnWidth() -> CGFloat var columnsAutosaveName: String class func removeSavedColumns(withAutosaveName name: String) func canDragRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent) -> Bool func draggingImageForRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent, offset dragImageOffset: NSPointPointer?) -> NSImage? func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) var allowsTypeSelect: Bool var backgroundColor: NSColor func editItem(at indexPath: IndexPath, with event: NSEvent?, select select: Bool) func selectedCell() -> Any? func setAcceptsArrowKeys(_ flag: Bool) func acceptsArrowKeys() -> Bool func displayColumn(_ column: Int) func displayAllColumns() func scroll(via sender: NSScroller!) func updateScroller() func setMatrixClass(_ factoryId: Swift.AnyClass) func matrixClass() -> Swift.AnyClass func column(of matrix: NSMatrix) -> Int func matrix(inColumn column: Int) -> NSMatrix? func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSBrowser : CVarArg { } extension NSBrowser : Equatable, Hashable { var hashValue: Int { get } } extension NSBrowser { func setAcceptsArrowKeys(_ flag: Bool) func acceptsArrowKeys() -> Bool func displayColumn(_ column: Int) func displayAllColumns() func scroll(via sender: NSScroller!) func updateScroller() func setMatrixClass(_ factoryId: Swift.AnyClass) func matrixClass() -> Swift.AnyClass func column(of matrix: NSMatrix) -> Int func matrix(inColumn column: Int) -> NSMatrix? } | CVarArg, Equatable, Hashable |
To | class NSBrowser : NSControl { class func cellClass() -> Swift.AnyClass func loadColumnZero() var isLoaded: Bool { get } var doubleAction: Selector? func setCellClass(_ factoryId: Swift.AnyClass) var cellPrototype: Any! unowned(unsafe) var delegate: NSBrowserDelegate? var reusesColumns: Bool var hasHorizontalScroller: Bool var autohidesScroller: Bool var separatesColumns: Bool var isTitled: Bool var minColumnWidth: CGFloat var maxVisibleColumns: Int var allowsMultipleSelection: Bool var allowsBranchSelection: Bool var allowsEmptySelection: Bool var takesTitleFromPreviousColumn: Bool var sendsActionOnArrowKeys: Bool func item(at indexPath: IndexPath) -> Any? func item(atRow row: Int, inColumn column: Int) -> Any? func indexPath(forColumn column: Int) -> IndexPath func isLeafItem(_ item: Any?) -> Bool func reloadData(forRowIndexes rowIndexes: IndexSet, inColumn column: Int) func parentForItems(inColumn column: Int) -> Any? func scrollRowToVisible(_ row: Int, inColumn column: Int) func setTitle(_ string: String, ofColumn column: Int) func title(ofColumn column: Int) -> String? var pathSeparator: String func setPath(_ path: String) -> Bool func path() -> String func path(toColumn column: Int) -> String var clickedColumn: Int { get } var clickedRow: Int { get } var selectedColumn: Int { get } func selectedCell(inColumn column: Int) -> Any? var selectedCells: [NSCell]? { get } func selectRow(_ row: Int, inColumn column: Int) func selectedRow(inColumn column: Int) -> Int var selectionIndexPath: IndexPath var selectionIndexPaths: [IndexPath] func selectRowIndexes(_ indexes: IndexSet, inColumn column: Int) func selectedRowIndexes(inColumn column: Int) -> IndexSet? func reloadColumn(_ column: Int) func validateVisibleColumns() func scrollColumnsRight(by shiftAmount: Int) func scrollColumnsLeft(by shiftAmount: Int) func scrollColumnToVisible(_ column: Int) var lastColumn: Int func addColumn() var numberOfVisibleColumns: Int { get } var firstVisibleColumn: Int { get } var lastVisibleColumn: Int { get } func loadedCell(atRow row: Int, column col: Int) -> Any? func selectAll(_ sender: Any?) func tile() func doClick(_ sender: Any?) func doDoubleClick(_ sender: Any?) func sendAction() -> Bool func titleFrame(ofColumn column: Int) -> NSRect func drawTitle(ofColumn column: Int, in rect: NSRect) var titleHeight: CGFloat { get } func frame(ofColumn column: Int) -> NSRect func frame(ofInsideOfColumn column: Int) -> NSRect func frame(ofRow row: Int, inColumn column: Int) -> NSRect func getRow(_ row: UnsafeMutablePointer<Int>?, column column: UnsafeMutablePointer<Int>?, for point: NSPoint) -> Bool func columnWidth(forColumnContentWidth columnContentWidth: CGFloat) -> CGFloat func columnContentWidth(forColumnWidth columnWidth: CGFloat) -> CGFloat var columnResizingType: NSBrowserColumnResizingType var prefersAllColumnUserResizing: Bool func setWidth(_ columnWidth: CGFloat, ofColumn columnIndex: Int) func width(ofColumn column: Int) -> CGFloat var rowHeight: CGFloat func noteHeightOfRowsWithIndexesChanged(_ indexSet: IndexSet, inColumn columnIndex: Int) func setDefaultColumnWidth(_ columnWidth: CGFloat) func defaultColumnWidth() -> CGFloat var columnsAutosaveName: String class func removeSavedColumns(withAutosaveName name: String) func canDragRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent) -> Bool func draggingImageForRows(with rowIndexes: IndexSet, inColumn column: Int, with event: NSEvent, offset dragImageOffset: NSPointPointer?) -> NSImage? func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) var allowsTypeSelect: Bool var backgroundColor: NSColor func editItem(at indexPath: IndexPath, with event: NSEvent?, select select: Bool) func selectedCell() -> Any? func setAcceptsArrowKeys(_ flag: Bool) func acceptsArrowKeys() -> Bool func displayColumn(_ column: Int) func displayAllColumns() func scroll(via sender: NSScroller!) func updateScroller() func setMatrixClass(_ factoryId: Swift.AnyClass) func matrixClass() -> Swift.AnyClass func column(of matrix: NSMatrix) -> Int func matrix(inColumn column: Int) -> NSMatrix? func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool } extension NSBrowser : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSBrowser : CVarArg { } extension NSBrowser : Equatable, Hashable { var hashValue: Int { get } } extension NSBrowser { func setAcceptsArrowKeys(_ flag: Bool) func acceptsArrowKeys() -> Bool func displayColumn(_ column: Int) func displayAllColumns() func scroll(via sender: NSScroller!) func updateScroller() func setMatrixClass(_ factoryId: Swift.AnyClass) func matrixClass() -> Swift.AnyClass func column(of matrix: NSMatrix) -> Int func matrix(inColumn column: Int) -> NSMatrix? } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSButton
Declaration | Protocols | |
---|---|---|
From | class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton { var title: String var alternateTitle: String var image: NSImage? var alternateImage: NSImage? var imagePosition: NSCellImagePosition var imageScaling: NSImageScaling var imageHugsTitle: Bool func setButtonType(_ type: NSButtonType) var state: Int var isBordered: Bool var isTransparent: Bool func setPeriodicDelay(_ delay: Float, interval interval: Float) func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval interval: UnsafeMutablePointer<Float>) var keyEquivalent: String var keyEquivalentModifierMask: NSEventModifierFlags func highlight(_ flag: Bool) func performKeyEquivalent(with key: NSEvent) -> Bool var isSpringLoaded: Bool var maxAcceleratorLevel: Int convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString var bezelStyle: NSBezelStyle var allowsMixedState: Bool func setNextState() var showsBorderOnlyWhileMouseInside: Bool var sound: NSSound? func setTitleWithMnemonic(_ stringWithAmpersand: String!) var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func performClick(_ sender: Any?) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func awakeFromNib() func prepareForInterfaceBuilder() } extension NSButton : CVarArg { } extension NSButton : Equatable, Hashable { var hashValue: Int { get } } extension NSButton { convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self } extension NSButton { @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString } extension NSButton { var bezelStyle: NSBezelStyle } extension NSButton { var allowsMixedState: Bool func setNextState() } extension NSButton { var showsBorderOnlyWhileMouseInside: Bool } extension NSButton { var sound: NSSound? } extension NSButton { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable, NSAccessibilityButton, NSUserInterfaceValidations |
To | class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton { var title: String var alternateTitle: String var image: NSImage? var alternateImage: NSImage? var imagePosition: NSCellImagePosition var imageScaling: NSImageScaling var imageHugsTitle: Bool func setButtonType(_ type: NSButtonType) var state: Int var isBordered: Bool var isTransparent: Bool func setPeriodicDelay(_ delay: Float, interval interval: Float) func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval interval: UnsafeMutablePointer<Float>) var keyEquivalent: String var keyEquivalentModifierMask: NSEventModifierFlags func highlight(_ flag: Bool) func performKeyEquivalent(with key: NSEvent) -> Bool var isSpringLoaded: Bool var maxAcceleratorLevel: Int @NSCopying var bezelColor: NSColor? convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString var bezelStyle: NSBezelStyle var allowsMixedState: Bool func setNextState() var showsBorderOnlyWhileMouseInside: Bool var sound: NSSound? func setTitleWithMnemonic(_ stringWithAmpersand: String!) var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func invalidateIntrinsicContentSize(for cell: NSCell) func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func performClick(_ sender: Any?) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool } extension NSButton : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSButton : CVarArg { } extension NSButton : Equatable, Hashable { var hashValue: Int { get } } extension NSButton { convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self } extension NSButton { @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString } extension NSButton { var bezelStyle: NSBezelStyle } extension NSButton { var allowsMixedState: Bool func setNextState() } extension NSButton { var showsBorderOnlyWhileMouseInside: Bool } extension NSButton { var sound: NSSound? } extension NSButton { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable, NSAccessibilityButton, NSTouchBarProvider, NSUserInterfaceValidations |
Modified NSClickGestureRecognizer
Declaration | |
---|---|
From | class NSClickGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int var numberOfClicksRequired: Int func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSClickGestureRecognizer : CVarArg { } extension NSClickGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSClickGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int var numberOfClicksRequired: Int var numberOfTouchesRequired: Int func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) var allowedTouchTypes: NSTouchTypeMask func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSClickGestureRecognizer : CVarArg { } extension NSClickGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
Modified NSClipView
Declaration | Protocols | |
---|---|---|
From | class NSClipView : NSView { @NSCopying var backgroundColor: NSColor var drawsBackground: Bool unowned(unsafe) var documentView: NSView? var documentRect: NSRect { get } var documentCursor: NSCursor? var documentVisibleRect: NSRect { get } func viewFrameChanged(_ notification: Notification) func viewBoundsChanged(_ notification: Notification) var copiesOnScroll: Bool func autoscroll(with event: NSEvent) -> Bool func scroll(to newOrigin: NSPoint) func constrainBoundsRect(_ proposedBounds: NSRect) -> NSRect var contentInsets: EdgeInsets var automaticallyAdjustsContentInsets: Bool func constrainScroll(_ newOrigin: NSPoint) -> NSPoint var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() } extension NSClipView : CVarArg { } extension NSClipView : Equatable, Hashable { var hashValue: Int { get } } extension NSClipView { func constrainScroll(_ newOrigin: NSPoint) -> NSPoint } | CVarArg, Equatable, Hashable |
To | class NSClipView : NSView { @NSCopying var backgroundColor: NSColor var drawsBackground: Bool unowned(unsafe) var documentView: NSView? var documentRect: NSRect { get } var documentCursor: NSCursor? var documentVisibleRect: NSRect { get } func viewFrameChanged(_ notification: Notification) func viewBoundsChanged(_ notification: Notification) var copiesOnScroll: Bool func autoscroll(with event: NSEvent) -> Bool func scroll(to newOrigin: NSPoint) func constrainBoundsRect(_ proposedBounds: NSRect) -> NSRect var contentInsets: EdgeInsets var automaticallyAdjustsContentInsets: Bool func constrainScroll(_ newOrigin: NSPoint) -> NSPoint var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool } extension NSClipView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSClipView : CVarArg { } extension NSClipView : Equatable, Hashable { var hashValue: Int { get } } extension NSClipView { func constrainScroll(_ newOrigin: NSPoint) -> NSPoint } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSCollectionView
Declaration | Protocols | |
---|---|---|
From | class NSCollectionView : NSView, NSDraggingSource, NSDraggingDestination { weak var dataSource: NSCollectionViewDataSource? var content: [Any] func reloadData() weak var delegate: NSCollectionViewDelegate? var backgroundView: NSView? var backgroundViewScrollsWithContent: Bool var collectionViewLayout: NSCollectionViewLayout? func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryElement(ofKind kind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func frameForItem(at index: Int) -> NSRect func frameForItem(at index: Int, withNumberOfItems numberOfItems: Int) -> NSRect var maxNumberOfRows: Int var maxNumberOfColumns: Int var minItemSize: NSSize var maxItemSize: NSSize var backgroundColors: [NSColor]! var numberOfSections: Int { get } func numberOfItems(inSection section: Int) -> Int var isFirstResponder: Bool { get } var isSelectable: Bool var allowsEmptySelection: Bool var allowsMultipleSelection: Bool var selectionIndexes: IndexSet var selectionIndexPaths: Set<IndexPath> func selectItems(at indexPaths: Set<IndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) func deselectItems(at indexPaths: Set<IndexPath>) @IBAction func selectAll(_ sender: Any?) @IBAction func deselectAll(_ sender: Any?) func register(_ itemClass: Swift.AnyClass?, forItemWithIdentifier identifier: String) func register(_ nib: NSNib?, forItemWithIdentifier identifier: String) func register(_ viewClass: Swift.AnyClass?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) func register(_ nib: NSNib?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) func makeItem(withIdentifier identifier: String, for indexPath: IndexPath) -> NSCollectionViewItem func makeSupplementaryView(ofKind elementKind: String, withIdentifier identifier: String, for indexPath: IndexPath) -> NSView func newItem(forRepresentedObject object: Any) -> NSCollectionViewItem var itemPrototype: NSCollectionViewItem? func item(at index: Int) -> NSCollectionViewItem? func item(at indexPath: IndexPath) -> NSCollectionViewItem? func visibleItems() -> [NSCollectionViewItem] func indexPathsForVisibleItems() -> Set<IndexPath> func indexPath(for item: NSCollectionViewItem) -> IndexPath? func indexPathForItem(at point: NSPoint) -> IndexPath? func supplementaryView(forElementKind elementKind: String, at indexPath: IndexPath) -> NSView? func visibleSupplementaryViews(ofKind elementKind: String) -> [NSView] func indexPathsForVisibleSupplementaryElements(ofKind elementKind: String) -> Set<IndexPath> func insertSections(_ sections: IndexSet) func deleteSections(_ sections: IndexSet) func reloadSections(_ sections: IndexSet) func moveSection(_ section: Int, toSection newSection: Int) func insertItems(at indexPaths: Set<IndexPath>) func deleteItems(at indexPaths: Set<IndexPath>) func reloadItems(at indexPaths: Set<IndexPath>) func moveItem(at indexPath: IndexPath, to newIndexPath: IndexPath) func performBatchUpdates(_ updates: (() -> Swift.Void)?, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) @IBAction func toggleSectionCollapse(_ sender: Any) func scrollToItems(at indexPaths: Set<IndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) func setDraggingSourceOperationMask(_ dragOperationMask: NSDragOperation, forLocal localDestination: Bool) func draggingImageForItems(at indexPaths: Set<IndexPath>, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage func draggingImageForItems(at indexes: IndexSet, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionView : CVarArg { } extension NSCollectionView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSDraggingDestination, NSDraggingSource |
To | class NSCollectionView : NSView, NSDraggingSource, NSDraggingDestination { weak var dataSource: NSCollectionViewDataSource? var content: [Any] func reloadData() weak var delegate: NSCollectionViewDelegate? var backgroundView: NSView? var backgroundViewScrollsWithContent: Bool var collectionViewLayout: NSCollectionViewLayout? func layoutAttributesForItem(at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func layoutAttributesForSupplementaryElement(ofKind kind: String, at indexPath: IndexPath) -> NSCollectionViewLayoutAttributes? func frameForItem(at index: Int) -> NSRect func frameForItem(at index: Int, withNumberOfItems numberOfItems: Int) -> NSRect var maxNumberOfRows: Int var maxNumberOfColumns: Int var minItemSize: NSSize var maxItemSize: NSSize var backgroundColors: [NSColor]! var numberOfSections: Int { get } func numberOfItems(inSection section: Int) -> Int var isFirstResponder: Bool { get } var isSelectable: Bool var allowsEmptySelection: Bool var allowsMultipleSelection: Bool var selectionIndexes: IndexSet var selectionIndexPaths: Set<IndexPath> func selectItems(at indexPaths: Set<IndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) func deselectItems(at indexPaths: Set<IndexPath>) @IBAction func selectAll(_ sender: Any?) @IBAction func deselectAll(_ sender: Any?) func register(_ itemClass: Swift.AnyClass?, forItemWithIdentifier identifier: String) func register(_ nib: NSNib?, forItemWithIdentifier identifier: String) func register(_ viewClass: Swift.AnyClass?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) func register(_ nib: NSNib?, forSupplementaryViewOfKind kind: String, withIdentifier identifier: String) func makeItem(withIdentifier identifier: String, for indexPath: IndexPath) -> NSCollectionViewItem func makeSupplementaryView(ofKind elementKind: String, withIdentifier identifier: String, for indexPath: IndexPath) -> NSView func newItem(forRepresentedObject object: Any) -> NSCollectionViewItem var itemPrototype: NSCollectionViewItem? func item(at index: Int) -> NSCollectionViewItem? func item(at indexPath: IndexPath) -> NSCollectionViewItem? func visibleItems() -> [NSCollectionViewItem] func indexPathsForVisibleItems() -> Set<IndexPath> func indexPath(for item: NSCollectionViewItem) -> IndexPath? func indexPathForItem(at point: NSPoint) -> IndexPath? func supplementaryView(forElementKind elementKind: String, at indexPath: IndexPath) -> NSView? func visibleSupplementaryViews(ofKind elementKind: String) -> [NSView] func indexPathsForVisibleSupplementaryElements(ofKind elementKind: String) -> Set<IndexPath> func insertSections(_ sections: IndexSet) func deleteSections(_ sections: IndexSet) func reloadSections(_ sections: IndexSet) func moveSection(_ section: Int, toSection newSection: Int) func insertItems(at indexPaths: Set<IndexPath>) func deleteItems(at indexPaths: Set<IndexPath>) func reloadItems(at indexPaths: Set<IndexPath>) func moveItem(at indexPath: IndexPath, to newIndexPath: IndexPath) func performBatchUpdates(_ updates: (() -> Swift.Void)?, completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) @IBAction func toggleSectionCollapse(_ sender: Any) func scrollToItems(at indexPaths: Set<IndexPath>, scrollPosition scrollPosition: NSCollectionViewScrollPosition) func setDraggingSourceOperationMask(_ dragOperationMask: NSDragOperation, forLocal localDestination: Bool) func draggingImageForItems(at indexPaths: Set<IndexPath>, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage func draggingImageForItems(at indexes: IndexSet, with event: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSCollectionView : CVarArg { } extension NSCollectionView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSDraggingDestination, NSDraggingSource, NSTouchBarProvider |
Declaration | |
---|---|
From | func performBatchUpdates(_ updates: (() -> Swift.Void)?, completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
To | func performBatchUpdates(_ updates: (() -> Swift.Void)?, completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) |
Modified NSCollectionViewItem
Declaration | Protocols | |
---|---|---|
From | class NSCollectionViewItem : NSViewController, NSCopying, NSCollectionViewElement { var collectionView: NSCollectionView { get } var isSelected: Bool var highlightState: NSCollectionViewItemHighlightState @IBOutlet unowned(unsafe) var imageView: NSImageView? @IBOutlet unowned(unsafe) var textField: NSTextField? var draggingImageComponents: [NSDraggingImageComponent] { get } var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewItem : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSCollectionViewItem : CVarArg { } extension NSCollectionViewItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCollectionViewElement, NSCopying, NSExtensionRequestHandling |
To | class NSCollectionViewItem : NSViewController, NSCopying, NSCollectionViewElement { var collectionView: NSCollectionView { get } var isSelected: Bool var highlightState: NSCollectionViewItemHighlightState @IBOutlet unowned(unsafe) var imageView: NSImageView? @IBOutlet unowned(unsafe) var textField: NSTextField? var draggingImageComponents: [NSDraggingImageComponent] { get } var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (() -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSCollectionViewItem : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSCollectionViewItem : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSCollectionViewItem : CVarArg { } extension NSCollectionViewItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCollectionViewElement, NSCopying, NSExtensionRequestHandling, NSTouchBarProvider |
Modified NSColor
Declaration | |
---|---|
From | class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting { init() init?(coder coder: NSCoder) init(colorSpace space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) class func withColorSpace(_ space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) -> NSColor init(srgbRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withSRGBRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(genericGamma22White white: CGFloat, alpha alpha: CGFloat) class func withGenericGamma22White(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(displayP3Red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withDisplayP3Red(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(colorSpace space: NSColorSpace, hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withColorSpace(_ space: NSColorSpace, hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(white white: CGFloat, alpha alpha: CGFloat) class func withWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedWhite white: CGFloat, alpha alpha: CGFloat) class func withCalibratedWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withCalibratedRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withCalibratedHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceWhite white: CGFloat, alpha alpha: CGFloat) class func withDeviceWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withDeviceRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withDeviceHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceCyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) class func withDeviceCyan(_ cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) -> NSColor init?(catalogName listName: String, colorName colorName: String) class func withCatalogName(_ listName: String, colorName colorName: String) -> NSColor? class var black: NSColor { get } class var darkGray: NSColor { get } class var lightGray: NSColor { get } class var white: NSColor { get } class var gray: NSColor { get } class var red: NSColor { get } class var green: NSColor { get } class var blue: NSColor { get } class var cyan: NSColor { get } class var yellow: NSColor { get } class var magenta: NSColor { get } class var orange: NSColor { get } class var purple: NSColor { get } class var brown: NSColor { get } class var clear: NSColor { get } class var controlShadowColor: NSColor { get } class var controlDarkShadowColor: NSColor { get } class var controlColor: NSColor { get } class var controlHighlightColor: NSColor { get } class var controlLightHighlightColor: NSColor { get } class var controlTextColor: NSColor { get } class var controlBackgroundColor: NSColor { get } class var selectedControlColor: NSColor { get } class var secondarySelectedControlColor: NSColor { get } class var selectedControlTextColor: NSColor { get } class var disabledControlTextColor: NSColor { get } class var textColor: NSColor { get } class var textBackgroundColor: NSColor { get } class var selectedTextColor: NSColor { get } class var selectedTextBackgroundColor: NSColor { get } class var gridColor: NSColor { get } class var keyboardFocusIndicatorColor: NSColor { get } class var windowBackgroundColor: NSColor { get } class var underPageBackgroundColor: NSColor { get } class var labelColor: NSColor { get } class var secondaryLabelColor: NSColor { get } class var tertiaryLabelColor: NSColor { get } class var quaternaryLabelColor: NSColor { get } class var scrollBarColor: NSColor { get } class var knobColor: NSColor { get } class var selectedKnobColor: NSColor { get } class var windowFrameColor: NSColor { get } class var windowFrameTextColor: NSColor { get } class var selectedMenuItemColor: NSColor { get } class var selectedMenuItemTextColor: NSColor { get } class var highlightColor: NSColor { get } class var shadowColor: NSColor { get } class var headerColor: NSColor { get } class var headerTextColor: NSColor { get } class var alternateSelectedControlColor: NSColor { get } class var alternateSelectedControlTextColor: NSColor { get } class var controlAlternatingRowBackgroundColors: [NSColor] { get } class var currentControlTint: NSControlTint { get } init(for controlTint: NSControlTint) class func forControlTint(_ controlTint: NSControlTint) -> NSColor func highlight(withLevel val: CGFloat) -> NSColor? func shadow(withLevel val: CGFloat) -> NSColor? func set() func setFill() func setStroke() var colorSpaceName: String { get } func usingColorSpaceName(_ colorSpace: String) -> NSColor? func usingColorSpaceName(_ colorSpace: String?, device deviceDescription: [String : Any]?) -> NSColor? func usingColorSpace(_ space: NSColorSpace) -> NSColor? func blended(withFraction fraction: CGFloat, of color: NSColor) -> NSColor? func withAlphaComponent(_ alpha: CGFloat) -> NSColor var catalogNameComponent: String { get } var colorNameComponent: String { get } var localizedCatalogNameComponent: String { get } var localizedColorNameComponent: String { get } var redComponent: CGFloat { get } var greenComponent: CGFloat { get } var blueComponent: CGFloat { get } func getRed(_ red: UnsafeMutablePointer<CGFloat>?, green green: UnsafeMutablePointer<CGFloat>?, blue blue: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var hueComponent: CGFloat { get } var saturationComponent: CGFloat { get } var brightnessComponent: CGFloat { get } func getHue(_ hue: UnsafeMutablePointer<CGFloat>?, saturation saturation: UnsafeMutablePointer<CGFloat>?, brightness brightness: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var whiteComponent: CGFloat { get } func getWhite(_ white: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var cyanComponent: CGFloat { get } var magentaComponent: CGFloat { get } var yellowComponent: CGFloat { get } var blackComponent: CGFloat { get } func getCyan(_ cyan: UnsafeMutablePointer<CGFloat>?, magenta magenta: UnsafeMutablePointer<CGFloat>?, yellow yellow: UnsafeMutablePointer<CGFloat>?, black black: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var colorSpace: NSColorSpace { get } var numberOfComponents: Int { get } func getComponents(_ components: UnsafeMutablePointer<CGFloat>) var alphaComponent: CGFloat { get } init?(from pasteBoard: NSPasteboard) class func fromPasteboard(_ pasteBoard: NSPasteboard) -> NSColor? func write(to pasteBoard: NSPasteboard) init(patternImage image: NSImage) class func withPatternImage(_ image: NSImage) -> NSColor var patternImage: NSImage { get } func drawSwatch(in rect: NSRect) init?(cgColor cgColor: CGColor) class func withCGColor(_ cgColor: CGColor) -> NSColor? var cgColor: CGColor { get } class var ignoresAlpha: Bool init(ciColor color: CIColor) class func withCIColor(_ color: CIColor) -> NSColor required convenience init(colorLiteralRed red: Float, green green: Float, blue blue: Float, alpha alpha: Float) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSColor : CVarArg { } extension NSColor : Equatable, Hashable { var hashValue: Int { get } } extension NSColor { init(ciColor color: CIColor) class func withCIColor(_ color: CIColor) -> NSColor } extension NSColor { required convenience init(colorLiteralRed red: Float, green green: Float, blue blue: Float, alpha alpha: Float) } |
To | class NSColor : NSObject, NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting { init() init?(coder coder: NSCoder) init(colorSpace space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) class func withColorSpace(_ space: NSColorSpace, components components: UnsafePointer<CGFloat>, count numberOfComponents: Int) -> NSColor init(srgbRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withSRGBRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(genericGamma22White white: CGFloat, alpha alpha: CGFloat) class func withGenericGamma22White(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(displayP3Red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withDisplayP3Red(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(colorSpace space: NSColorSpace, hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withColorSpace(_ space: NSColorSpace, hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(white white: CGFloat, alpha alpha: CGFloat) class func withWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(red red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(hue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedWhite white: CGFloat, alpha alpha: CGFloat) class func withCalibratedWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withCalibratedRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(calibratedHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withCalibratedHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceWhite white: CGFloat, alpha alpha: CGFloat) class func withDeviceWhite(_ white: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceRed red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) class func withDeviceRed(_ red: CGFloat, green green: CGFloat, blue blue: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceHue hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) class func withDeviceHue(_ hue: CGFloat, saturation saturation: CGFloat, brightness brightness: CGFloat, alpha alpha: CGFloat) -> NSColor init(deviceCyan cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) class func withDeviceCyan(_ cyan: CGFloat, magenta magenta: CGFloat, yellow yellow: CGFloat, black black: CGFloat, alpha alpha: CGFloat) -> NSColor init?(catalogName listName: String, colorName colorName: String) class func withCatalogName(_ listName: String, colorName colorName: String) -> NSColor? class var black: NSColor { get } class var darkGray: NSColor { get } class var lightGray: NSColor { get } class var white: NSColor { get } class var gray: NSColor { get } class var red: NSColor { get } class var green: NSColor { get } class var blue: NSColor { get } class var cyan: NSColor { get } class var yellow: NSColor { get } class var magenta: NSColor { get } class var orange: NSColor { get } class var purple: NSColor { get } class var brown: NSColor { get } class var clear: NSColor { get } class var controlShadowColor: NSColor { get } class var controlDarkShadowColor: NSColor { get } class var controlColor: NSColor { get } class var controlHighlightColor: NSColor { get } class var controlLightHighlightColor: NSColor { get } class var controlTextColor: NSColor { get } class var controlBackgroundColor: NSColor { get } class var selectedControlColor: NSColor { get } class var secondarySelectedControlColor: NSColor { get } class var selectedControlTextColor: NSColor { get } class var disabledControlTextColor: NSColor { get } class var textColor: NSColor { get } class var textBackgroundColor: NSColor { get } class var selectedTextColor: NSColor { get } class var selectedTextBackgroundColor: NSColor { get } class var gridColor: NSColor { get } class var keyboardFocusIndicatorColor: NSColor { get } class var windowBackgroundColor: NSColor { get } class var underPageBackgroundColor: NSColor { get } class var labelColor: NSColor { get } class var secondaryLabelColor: NSColor { get } class var tertiaryLabelColor: NSColor { get } class var quaternaryLabelColor: NSColor { get } class var scrollBarColor: NSColor { get } class var knobColor: NSColor { get } class var selectedKnobColor: NSColor { get } class var windowFrameColor: NSColor { get } class var windowFrameTextColor: NSColor { get } class var selectedMenuItemColor: NSColor { get } class var selectedMenuItemTextColor: NSColor { get } class var highlightColor: NSColor { get } class var shadowColor: NSColor { get } class var headerColor: NSColor { get } class var headerTextColor: NSColor { get } class var alternateSelectedControlColor: NSColor { get } class var alternateSelectedControlTextColor: NSColor { get } class var controlAlternatingRowBackgroundColors: [NSColor] { get } class var currentControlTint: NSControlTint { get } class var scrubberTexturedBackground: NSColor { get } init(for controlTint: NSControlTint) class func forControlTint(_ controlTint: NSControlTint) -> NSColor func highlight(withLevel val: CGFloat) -> NSColor? func shadow(withLevel val: CGFloat) -> NSColor? func set() func setFill() func setStroke() var colorSpaceName: String { get } func usingColorSpaceName(_ colorSpace: String) -> NSColor? func usingColorSpaceName(_ colorSpace: String?, device deviceDescription: [String : Any]?) -> NSColor? func usingColorSpace(_ space: NSColorSpace) -> NSColor? func blended(withFraction fraction: CGFloat, of color: NSColor) -> NSColor? func withAlphaComponent(_ alpha: CGFloat) -> NSColor var catalogNameComponent: String { get } var colorNameComponent: String { get } var localizedCatalogNameComponent: String { get } var localizedColorNameComponent: String { get } var redComponent: CGFloat { get } var greenComponent: CGFloat { get } var blueComponent: CGFloat { get } func getRed(_ red: UnsafeMutablePointer<CGFloat>?, green green: UnsafeMutablePointer<CGFloat>?, blue blue: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var hueComponent: CGFloat { get } var saturationComponent: CGFloat { get } var brightnessComponent: CGFloat { get } func getHue(_ hue: UnsafeMutablePointer<CGFloat>?, saturation saturation: UnsafeMutablePointer<CGFloat>?, brightness brightness: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var whiteComponent: CGFloat { get } func getWhite(_ white: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var cyanComponent: CGFloat { get } var magentaComponent: CGFloat { get } var yellowComponent: CGFloat { get } var blackComponent: CGFloat { get } func getCyan(_ cyan: UnsafeMutablePointer<CGFloat>?, magenta magenta: UnsafeMutablePointer<CGFloat>?, yellow yellow: UnsafeMutablePointer<CGFloat>?, black black: UnsafeMutablePointer<CGFloat>?, alpha alpha: UnsafeMutablePointer<CGFloat>?) var colorSpace: NSColorSpace { get } var numberOfComponents: Int { get } func getComponents(_ components: UnsafeMutablePointer<CGFloat>) var alphaComponent: CGFloat { get } init?(from pasteBoard: NSPasteboard) class func fromPasteboard(_ pasteBoard: NSPasteboard) -> NSColor? func write(to pasteBoard: NSPasteboard) init(patternImage image: NSImage) class func withPatternImage(_ image: NSImage) -> NSColor var patternImage: NSImage { get } func drawSwatch(in rect: NSRect) init?(cgColor cgColor: CGColor) class func withCGColor(_ cgColor: CGColor) -> NSColor? var cgColor: CGColor { get } class var ignoresAlpha: Bool init(ciColor color: CIColor) class func withCIColor(_ color: CIColor) -> NSColor required convenience init(colorLiteralRed red: Float, green green: Float, blue blue: Float, alpha alpha: Float) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSColor : CVarArg { } extension NSColor : Equatable, Hashable { var hashValue: Int { get } } extension NSColor { init(ciColor color: CIColor) class func withCIColor(_ color: CIColor) -> NSColor } extension NSColor { required convenience init(colorLiteralRed red: Float, green green: Float, blue blue: Float, alpha alpha: Float) } |
Modified NSColorWell
Declaration | Protocols | |
---|---|---|
From | class NSColorWell : NSControl { func deactivate() func activate(_ exclusive: Bool) var isActive: Bool { get } func drawWell(inside insideRect: NSRect) var isBordered: Bool func takeColorFrom(_ sender: Any?) @NSCopying var color: NSColor func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSColorWell : CVarArg { } extension NSColorWell : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSColorWell : NSControl { func deactivate() func activate(_ exclusive: Bool) var isActive: Bool { get } func drawWell(inside insideRect: NSRect) var isBordered: Bool func takeColorFrom(_ sender: Any?) @NSCopying var color: NSColor func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSColorWell : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSColorWell : CVarArg { } extension NSColorWell : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSComboBox
Declaration | Protocols | |
---|---|---|
From | class NSComboBox : NSTextField { var hasVerticalScroller: Bool var intercellSpacing: NSSize var itemHeight: CGFloat var numberOfVisibleItems: Int var isButtonBordered: Bool func reloadData() func noteNumberOfItemsChanged() var usesDataSource: Bool func scrollItemAtIndexToTop(_ index: Int) func scrollItemAtIndexToVisible(_ index: Int) func selectItem(at index: Int) func deselectItem(at index: Int) var indexOfSelectedItem: Int { get } var numberOfItems: Int { get } var completes: Bool unowned(unsafe) var delegate: NSComboBoxDelegate? unowned(unsafe) var dataSource: NSComboBoxDataSource? func addItem(withObjectValue object: Any) func addItems(withObjectValues objects: [Any]) func insertItem(withObjectValue object: Any, at index: Int) func removeItem(withObjectValue object: Any) func removeItem(at index: Int) func removeAllItems() func selectItem(withObjectValue object: Any?) func itemObjectValue(at index: Int) -> Any var objectValueOfSelectedItem: Any? { get } func indexOfItem(withObjectValue object: Any) -> Int var objectValues: [Any] { get } func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSComboBox : CVarArg { } extension NSComboBox : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSComboBox : NSTextField { var hasVerticalScroller: Bool var intercellSpacing: NSSize var itemHeight: CGFloat var numberOfVisibleItems: Int var isButtonBordered: Bool func reloadData() func noteNumberOfItemsChanged() var usesDataSource: Bool func scrollItemAtIndexToTop(_ index: Int) func scrollItemAtIndexToVisible(_ index: Int) func selectItem(at index: Int) func deselectItem(at index: Int) var indexOfSelectedItem: Int { get } var numberOfItems: Int { get } var completes: Bool unowned(unsafe) var delegate: NSComboBoxDelegate? unowned(unsafe) var dataSource: NSComboBoxDataSource? func addItem(withObjectValue object: Any) func addItems(withObjectValues objects: [Any]) func insertItem(withObjectValue object: Any, at index: Int) func removeItem(withObjectValue object: Any) func removeItem(at index: Int) func removeAllItems() func selectItem(withObjectValue object: Any?) func itemObjectValue(at index: Int) -> Any var objectValueOfSelectedItem: Any? { get } func indexOfItem(withObjectValue object: Any) -> Int var objectValues: [Any] { get } func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self var isAutomaticTextCompletionEnabled: Bool var allowsCharacterPickerTouchBarItem: Bool func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSComboBox : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSComboBox : CVarArg { } extension NSComboBox : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSControl
Declaration | Protocols | |
---|---|---|
From | class NSControl : NSView { weak var target: AnyObject? var action: Selector? var tag: Int var ignoresMultiClick: Bool var isContinuous: Bool var isEnabled: Bool var refusesFirstResponder: Bool var isHighlighted: Bool var controlSize: NSControlSize var formatter: Formatter? var stringValue: String @NSCopying var attributedStringValue: NSAttributedString var objectValue: Any? var intValue: Int32 var integerValue: Int var floatValue: Float var doubleValue: Double func sizeThatFits(_ size: NSSize) -> NSSize init(frame frameRect: NSRect) init?(coder coder: NSCoder) func sizeToFit() func sendAction(on mask: NSEventMask) -> Int func sendAction(_ action: Selector?, to target: Any?) -> Bool func takeIntValueFrom(_ sender: Any?) func takeFloatValueFrom(_ sender: Any?) func takeDoubleValueFrom(_ sender: Any?) func takeStringValueFrom(_ sender: Any?) func takeObjectValueFrom(_ sender: Any?) func takeIntegerValueFrom(_ sender: Any?) func mouseDown(with event: NSEvent) func performClick(_ sender: Any?) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: Swift.AnyClass?) class func cellClass() -> Swift.AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func invalidateIntrinsicContentSize(for cell: NSCell) func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint var wantsBestResolutionOpenGLSurface: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var pressureConfiguration: NSPressureConfiguration? func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) } extension NSControl : CVarArg { } extension NSControl : Equatable, Hashable { var hashValue: Int { get } } extension NSControl { func performClick(_ sender: Any?) } extension NSControl { var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) } extension NSControl { func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) } extension NSControl { func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: Swift.AnyClass?) class func cellClass() -> Swift.AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) } extension NSControl { func invalidateIntrinsicContentSize(for cell: NSCell) } | CVarArg, Equatable, Hashable |
To | class NSControl : NSView { weak var target: AnyObject? var action: Selector? var tag: Int var ignoresMultiClick: Bool var isContinuous: Bool var isEnabled: Bool var refusesFirstResponder: Bool var isHighlighted: Bool var controlSize: NSControlSize var formatter: Formatter? var stringValue: String @NSCopying var attributedStringValue: NSAttributedString var objectValue: Any? var intValue: Int32 var integerValue: Int var floatValue: Float var doubleValue: Double func sizeThatFits(_ size: NSSize) -> NSSize init(frame frameRect: NSRect) init?(coder coder: NSCoder) func sizeToFit() func sendAction(on mask: NSEventMask) -> Int func sendAction(_ action: Selector?, to target: Any?) -> Bool func takeIntValueFrom(_ sender: Any?) func takeFloatValueFrom(_ sender: Any?) func takeDoubleValueFrom(_ sender: Any?) func takeStringValueFrom(_ sender: Any?) func takeObjectValueFrom(_ sender: Any?) func takeIntegerValueFrom(_ sender: Any?) func mouseDown(with event: NSEvent) func performClick(_ sender: Any?) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: Swift.AnyClass?) class func cellClass() -> Swift.AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func invalidateIntrinsicContentSize(for cell: NSCell) func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint var wantsBestResolutionOpenGLSurface: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var pressureConfiguration: NSPressureConfiguration? func changeColor(_ sender: Any?) } extension NSControl : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSControl : CVarArg { } extension NSControl : Equatable, Hashable { var hashValue: Int { get } } extension NSControl { func performClick(_ sender: Any?) } extension NSControl { var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) } extension NSControl { func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) } extension NSControl { func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: Swift.AnyClass?) class func cellClass() -> Swift.AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) } extension NSControl { func invalidateIntrinsicContentSize(for cell: NSCell) } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSDatePicker
Declaration | Protocols | |
---|---|---|
From | class NSDatePicker : NSControl { var datePickerStyle: NSDatePickerStyle var isBezeled: Bool var isBordered: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor @NSCopying var textColor: NSColor var datePickerMode: NSDatePickerMode var datePickerElements: NSDatePickerElementFlags var calendar: Calendar? var locale: Locale? var timeZone: TimeZone? var dateValue: Date var timeInterval: TimeInterval var minDate: Date? var maxDate: Date? unowned(unsafe) var delegate: NSDatePickerCellDelegate? func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDatePicker : CVarArg { } extension NSDatePicker : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSDatePicker : NSControl { var datePickerStyle: NSDatePickerStyle var isBezeled: Bool var isBordered: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor @NSCopying var textColor: NSColor var datePickerMode: NSDatePickerMode var datePickerElements: NSDatePickerElementFlags var calendar: Calendar? var locale: Locale? var timeZone: TimeZone? var dateValue: Date var timeInterval: TimeInterval var minDate: Date? var maxDate: Date? unowned(unsafe) var delegate: NSDatePickerCellDelegate? func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDatePicker : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSDatePicker : CVarArg { } extension NSDatePicker : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSDocument
Declaration | |
---|---|
From | class NSDocument : NSObject, NSFilePresenter, NSUserInterfaceValidations { init() convenience init(type typeName: String) throws class func canConcurrentlyReadDocuments(ofType typeName: String) -> Bool convenience init(contentsOf url: URL, ofType typeName: String) throws convenience init(for urlOrNil: URL?, withContentsOf contentsURL: URL, ofType typeName: String) throws var fileType: String? var fileURL: URL? var fileModificationDate: Date? var isDraft: Bool func performActivity(withSynchronousWaiting waitSynchronously: Bool, using block: @escaping (@escaping () -> Swift.Void) -> Swift.Void) func continueActivity(_ block: () -> Swift.Void) func continueAsynchronousWorkOnMainThread(_ block: @escaping () -> Swift.Void) func performSynchronousFileAccess(_ block: () -> Swift.Void) func performAsynchronousFileAccess(_ block: @escaping (@escaping () -> Swift.Void) -> Swift.Void) @IBAction func revertToSaved(_ sender: Any?) func revert(toContentsOf url: URL, ofType typeName: String) throws func read(from url: URL, ofType typeName: String) throws func read(from fileWrapper: FileWrapper, ofType typeName: String) throws func read(from data: Data, ofType typeName: String) throws var isEntireFileLoaded: Bool { get } func write(to url: URL, ofType typeName: String) throws func fileWrapper(ofType typeName: String) throws -> FileWrapper func data(ofType typeName: String) throws -> Data func unblockUserInteraction() var autosavingIsImplicitlyCancellable: Bool { get } func writeSafely(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func write(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws func fileAttributesToWrite(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws -> [String : Any] var keepBackupFile: Bool { get } var backupFileURL: URL? { get } @IBAction func save(_ sender: Any?) @IBAction func saveAs(_ sender: Any?) @IBAction func saveTo(_ sender: Any?) func save(withDelegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModalSavePanel(for saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) var shouldRunSavePanelWithAccessoryView: Bool { get } func prepareSavePanel(_ savePanel: NSSavePanel) -> Bool var fileNameExtensionWasHiddenInLastRunSavePanel: Bool { get } var fileTypeFromLastRunSavePanel: String? { get } func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) func canAsynchronouslyWrite(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) -> Bool func checkAutosavingSafety() throws func scheduleAutosaving() var hasUnautosavedChanges: Bool { get } func autosave(withDelegate delegate: Any?, didAutosave didAutosaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func autosave(withImplicitCancellability autosavingIsImplicitlyCancellable: Bool, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) class func autosavesInPlace() -> Bool class func preservesVersions() -> Bool @IBAction func browseVersions(_ sender: Any?) var isBrowsingVersions: Bool { get } func stopBrowsingVersions(completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) class func autosavesDrafts() -> Bool var autosavingFileType: String? { get } var autosavedContentsFileURL: URL? func canClose(withDelegate delegate: Any, shouldClose shouldCloseSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func close() @IBAction func duplicate(_ sender: Any?) func duplicate(withDelegate delegate: Any?, didDuplicate didDuplicateSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func duplicate() throws -> NSDocument @IBAction func rename(_ sender: Any?) @IBAction func moveToUbiquityContainer(_ sender: Any?) @IBAction func move(_ sender: Any?) func move(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) func move(to url: URL, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) @IBAction func lock(_ sender: Any?) @IBAction func unlock(_ sender: Any?) func lock(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) func lock(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func unlock(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) func unlock(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) var isLocked: Bool { get } @IBAction func runPageLayout(_ sender: Any?) func runModalPageLayout(with printInfo: NSPrintInfo, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func preparePageLayout(_ pageLayout: NSPageLayout) -> Bool func shouldChangePrintInfo(_ newPrintInfo: NSPrintInfo) -> Bool @NSCopying var printInfo: NSPrintInfo @warn_unqualified_access @IBAction func print(_ sender: Any?) func print(withSettings printSettings: [String : Any], showPrintPanel showPrintPanel: Bool, delegate delegate: Any?, didPrint didPrintSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func printOperation(withSettings printSettings: [String : Any]) throws -> NSPrintOperation func runModalPrintOperation(_ printOperation: NSPrintOperation, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) @IBAction func saveToPDF(_ sender: Any?) var pdfPrintOperation: NSPrintOperation { get } var isDocumentEdited: Bool { get } var isInViewingMode: Bool { get } func updateChangeCount(_ change: NSDocumentChangeType) func changeCountToken(for saveOperation: NSSaveOperationType) -> Any func updateChangeCount(withToken changeCountToken: Any, for saveOperation: NSSaveOperationType) var undoManager: UndoManager? var hasUndoManager: Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func willNotPresentError(_ error: Error) func makeWindowControllers() var windowNibName: String? { get } func windowControllerWillLoadNib(_ windowController: NSWindowController) func windowControllerDidLoadNib(_ windowController: NSWindowController) func setWindow(_ window: NSWindow?) func addWindowController(_ windowController: NSWindowController) func removeWindowController(_ windowController: NSWindowController) func showWindows() var windowControllers: [NSWindowController] { get } func shouldCloseWindowController(_ windowController: NSWindowController, delegate delegate: Any?, shouldClose shouldCloseSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) var displayName: String! func defaultDraftName() -> String var windowForSheet: NSWindow? { get } class func readableTypes() -> [String] class func writableTypes() -> [String] class func isNativeType(_ type: String) -> Bool func writableTypes(for saveOperation: NSSaveOperationType) -> [String] func fileNameExtension(forType typeName: String, saveOperation saveOperation: NSSaveOperationType) -> String? func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool class func usesUbiquitousStorage() -> Bool func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func dataRepresentation(ofType type: String) -> Data? func fileAttributesToWrite(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> [AnyHashable : Any]? func fileName() -> String? func fileWrapperRepresentation(ofType type: String) -> FileWrapper? convenience init?(contentsOfFile absolutePath: String, ofType typeName: String) func loadDataRepresentation(_ data: Data, ofType type: String) -> Bool func loadFileWrapperRepresentation(_ wrapper: FileWrapper, ofType type: String) -> Bool func printShowingPrintPanel(_ flag: Bool) func read(fromFile fileName: String, ofType type: String) -> Bool func read(from url: URL, ofType type: String) -> Bool func revertToSaved(fromFile fileName: String, ofType type: String) -> Bool func revertToSaved(from url: URL, ofType type: String) -> Bool func runModalPageLayout(with printInfo: NSPrintInfo) -> Int func save(toFile fileName: String, saveOperation saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func setFileName(_ fileName: String?) func write(toFile fileName: String, ofType type: String) -> Bool func write(toFile fullDocumentPath: String, ofType documentTypeName: String, originalFile fullOriginalDocumentPath: String?, saveOperation saveOperationType: NSSaveOperationType) -> Bool func write(to url: URL, ofType type: String) -> Bool func writeWithBackup(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) var lastComponentOfFileName: String func handleSave(_ command: NSScriptCommand) -> Any? func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? var objectSpecifier: NSScriptObjectSpecifier { get } func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classCode: FourCharCode { get } var className: String { get } } extension NSDocument : CVarArg { } extension NSDocument : Equatable, Hashable { var hashValue: Int { get } } extension NSDocument { func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func dataRepresentation(ofType type: String) -> Data? func fileAttributesToWrite(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> [AnyHashable : Any]? func fileName() -> String? func fileWrapperRepresentation(ofType type: String) -> FileWrapper? convenience init?(contentsOfFile absolutePath: String, ofType typeName: String) func loadDataRepresentation(_ data: Data, ofType type: String) -> Bool func loadFileWrapperRepresentation(_ wrapper: FileWrapper, ofType type: String) -> Bool func printShowingPrintPanel(_ flag: Bool) func read(fromFile fileName: String, ofType type: String) -> Bool func read(from url: URL, ofType type: String) -> Bool func revertToSaved(fromFile fileName: String, ofType type: String) -> Bool func revertToSaved(from url: URL, ofType type: String) -> Bool func runModalPageLayout(with printInfo: NSPrintInfo) -> Int func save(toFile fileName: String, saveOperation saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func setFileName(_ fileName: String?) func write(toFile fileName: String, ofType type: String) -> Bool func write(toFile fullDocumentPath: String, ofType documentTypeName: String, originalFile fullOriginalDocumentPath: String?, saveOperation saveOperationType: NSSaveOperationType) -> Bool func write(to url: URL, ofType type: String) -> Bool func writeWithBackup(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> Bool } extension NSDocument { var lastComponentOfFileName: String func handleSave(_ command: NSScriptCommand) -> Any? func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? var objectSpecifier: NSScriptObjectSpecifier { get } } extension NSDocument { var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) } extension NSDocument { func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] } |
To | class NSDocument : NSObject, NSFilePresenter, NSUserInterfaceValidations { init() convenience init(type typeName: String) throws class func canConcurrentlyReadDocuments(ofType typeName: String) -> Bool convenience init(contentsOf url: URL, ofType typeName: String) throws convenience init(for urlOrNil: URL?, withContentsOf contentsURL: URL, ofType typeName: String) throws var fileType: String? var fileURL: URL? var fileModificationDate: Date? var isDraft: Bool func performActivity(withSynchronousWaiting waitSynchronously: Bool, using block: @escaping (() -> Swift.Void) -> Swift.Void) func continueActivity(_ block: () -> Swift.Void) func continueAsynchronousWorkOnMainThread(_ block: @escaping () -> Swift.Void) func performSynchronousFileAccess(_ block: () -> Swift.Void) func performAsynchronousFileAccess(_ block: @escaping (() -> Swift.Void) -> Swift.Void) @IBAction func revertToSaved(_ sender: Any?) func revert(toContentsOf url: URL, ofType typeName: String) throws func read(from url: URL, ofType typeName: String) throws func read(from fileWrapper: FileWrapper, ofType typeName: String) throws func read(from data: Data, ofType typeName: String) throws var isEntireFileLoaded: Bool { get } func write(to url: URL, ofType typeName: String) throws func fileWrapper(ofType typeName: String) throws -> FileWrapper func data(ofType typeName: String) throws -> Data func unblockUserInteraction() var autosavingIsImplicitlyCancellable: Bool { get } func writeSafely(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func write(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws func fileAttributesToWrite(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, originalContentsURL absoluteOriginalContentsURL: URL?) throws -> [String : Any] var keepBackupFile: Bool { get } var backupFileURL: URL? { get } @IBAction func save(_ sender: Any?) @IBAction func saveAs(_ sender: Any?) @IBAction func saveTo(_ sender: Any?) func save(withDelegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func runModalSavePanel(for saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) var shouldRunSavePanelWithAccessoryView: Bool { get } func prepareSavePanel(_ savePanel: NSSavePanel) -> Bool var fileNameExtensionWasHiddenInLastRunSavePanel: Bool { get } var fileTypeFromLastRunSavePanel: String? { get } func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) func canAsynchronouslyWrite(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) -> Bool func checkAutosavingSafety() throws func scheduleAutosaving() var hasUnautosavedChanges: Bool { get } func autosave(withDelegate delegate: Any?, didAutosave didAutosaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func autosave(withImplicitCancellability autosavingIsImplicitlyCancellable: Bool, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) class func autosavesInPlace() -> Bool class func preservesVersions() -> Bool @IBAction func browseVersions(_ sender: Any?) var isBrowsingVersions: Bool { get } func stopBrowsingVersions(completionHandler completionHandler: (() -> Swift.Void)? = nil) class func autosavesDrafts() -> Bool var autosavingFileType: String? { get } var autosavedContentsFileURL: URL? func canClose(withDelegate delegate: Any, shouldClose shouldCloseSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func close() @IBAction func duplicate(_ sender: Any?) func duplicate(withDelegate delegate: Any?, didDuplicate didDuplicateSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func duplicate() throws -> NSDocument @IBAction func rename(_ sender: Any?) @IBAction func moveToUbiquityContainer(_ sender: Any?) @IBAction func move(_ sender: Any?) func move(completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) func move(to url: URL, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) @IBAction func lock(_ sender: Any?) @IBAction func unlock(_ sender: Any?) func lock(completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) func lock(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func unlock(completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) func unlock(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) var isLocked: Bool { get } @IBAction func runPageLayout(_ sender: Any?) func runModalPageLayout(with printInfo: NSPrintInfo, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func preparePageLayout(_ pageLayout: NSPageLayout) -> Bool func shouldChangePrintInfo(_ newPrintInfo: NSPrintInfo) -> Bool @NSCopying var printInfo: NSPrintInfo @warn_unqualified_access @IBAction func print(_ sender: Any?) func print(withSettings printSettings: [String : Any], showPrintPanel showPrintPanel: Bool, delegate delegate: Any?, didPrint didPrintSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func printOperation(withSettings printSettings: [String : Any]) throws -> NSPrintOperation func runModalPrintOperation(_ printOperation: NSPrintOperation, delegate delegate: Any?, didRun didRunSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) @IBAction func saveToPDF(_ sender: Any?) var pdfPrintOperation: NSPrintOperation { get } var isDocumentEdited: Bool { get } var isInViewingMode: Bool { get } func updateChangeCount(_ change: NSDocumentChangeType) func changeCountToken(for saveOperation: NSSaveOperationType) -> Any func updateChangeCount(withToken changeCountToken: Any, for saveOperation: NSSaveOperationType) var undoManager: UndoManager? var hasUndoManager: Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func willNotPresentError(_ error: Error) func makeWindowControllers() var windowNibName: String? { get } func windowControllerWillLoadNib(_ windowController: NSWindowController) func windowControllerDidLoadNib(_ windowController: NSWindowController) func setWindow(_ window: NSWindow?) func addWindowController(_ windowController: NSWindowController) func removeWindowController(_ windowController: NSWindowController) func showWindows() var windowControllers: [NSWindowController] { get } func shouldCloseWindowController(_ windowController: NSWindowController, delegate delegate: Any?, shouldClose shouldCloseSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) var displayName: String! func defaultDraftName() -> String var windowForSheet: NSWindow? { get } class func readableTypes() -> [String] class func writableTypes() -> [String] class func isNativeType(_ type: String) -> Bool func writableTypes(for saveOperation: NSSaveOperationType) -> [String] func fileNameExtension(forType typeName: String, saveOperation saveOperation: NSSaveOperationType) -> String? func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool class func usesUbiquitousStorage() -> Bool func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func dataRepresentation(ofType type: String) -> Data? func fileAttributesToWrite(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> [AnyHashable : Any]? func fileName() -> String? func fileWrapperRepresentation(ofType type: String) -> FileWrapper? convenience init?(contentsOfFile absolutePath: String, ofType typeName: String) func loadDataRepresentation(_ data: Data, ofType type: String) -> Bool func loadFileWrapperRepresentation(_ wrapper: FileWrapper, ofType type: String) -> Bool func printShowingPrintPanel(_ flag: Bool) func read(fromFile fileName: String, ofType type: String) -> Bool func read(from url: URL, ofType type: String) -> Bool func revertToSaved(fromFile fileName: String, ofType type: String) -> Bool func revertToSaved(from url: URL, ofType type: String) -> Bool func runModalPageLayout(with printInfo: NSPrintInfo) -> Int func save(toFile fileName: String, saveOperation saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func setFileName(_ fileName: String?) func write(toFile fileName: String, ofType type: String) -> Bool func write(toFile fullDocumentPath: String, ofType documentTypeName: String, originalFile fullOriginalDocumentPath: String?, saveOperation saveOperationType: NSSaveOperationType) -> Bool func write(to url: URL, ofType type: String) -> Bool func writeWithBackup(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) var lastComponentOfFileName: String func handleSave(_ command: NSScriptCommand) -> Any? func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? var objectSpecifier: NSScriptObjectSpecifier { get } func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classCode: FourCharCode { get } var className: String { get } } extension NSDocument : CVarArg { } extension NSDocument : Equatable, Hashable { var hashValue: Int { get } } extension NSDocument { func save(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws func dataRepresentation(ofType type: String) -> Data? func fileAttributesToWrite(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> [AnyHashable : Any]? func fileName() -> String? func fileWrapperRepresentation(ofType type: String) -> FileWrapper? convenience init?(contentsOfFile absolutePath: String, ofType typeName: String) func loadDataRepresentation(_ data: Data, ofType type: String) -> Bool func loadFileWrapperRepresentation(_ wrapper: FileWrapper, ofType type: String) -> Bool func printShowingPrintPanel(_ flag: Bool) func read(fromFile fileName: String, ofType type: String) -> Bool func read(from url: URL, ofType type: String) -> Bool func revertToSaved(fromFile fileName: String, ofType type: String) -> Bool func revertToSaved(from url: URL, ofType type: String) -> Bool func runModalPageLayout(with printInfo: NSPrintInfo) -> Int func save(toFile fileName: String, saveOperation saveOperation: NSSaveOperationType, delegate delegate: Any?, didSave didSaveSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func setFileName(_ fileName: String?) func write(toFile fileName: String, ofType type: String) -> Bool func write(toFile fullDocumentPath: String, ofType documentTypeName: String, originalFile fullOriginalDocumentPath: String?, saveOperation saveOperationType: NSSaveOperationType) -> Bool func write(to url: URL, ofType type: String) -> Bool func writeWithBackup(toFile fullDocumentPath: String, ofType documentTypeName: String, saveOperation saveOperationType: NSSaveOperationType) -> Bool } extension NSDocument { var lastComponentOfFileName: String func handleSave(_ command: NSScriptCommand) -> Any? func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? var objectSpecifier: NSScriptObjectSpecifier { get } } extension NSDocument { var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) } extension NSDocument { func restoreWindow(withIdentifier identifier: String, state state: NSCoder, completionHandler completionHandler: @escaping (NSWindow?, Error?) -> Swift.Void) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] } |
Declaration | |
---|---|
From | func lock(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func lock(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func lock(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
To | func lock(completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func move(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
To | func move(completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func move(to url: URL, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func move(to url: URL, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified NSDocument.performActivity(withSynchronousWaiting: Bool, using: (() -> Swift.Void) -> Swift.Void)
Declaration | |
---|---|
From | func performActivity(withSynchronousWaiting waitSynchronously: Bool, using block: @escaping (@escaping () -> Swift.Void) -> Swift.Void) |
To | func performActivity(withSynchronousWaiting waitSynchronously: Bool, using block: @escaping (() -> Swift.Void) -> Swift.Void) |
Declaration | |
---|---|
From | func performAsynchronousFileAccess(_ block: @escaping (@escaping () -> Swift.Void) -> Swift.Void) |
To | func performAsynchronousFileAccess(_ block: @escaping (() -> Swift.Void) -> Swift.Void) |
Declaration | |
---|---|
From | func stopBrowsingVersions(completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) |
To | func stopBrowsingVersions(completionHandler completionHandler: (() -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func unlock(completionHandler completionHandler: (@escaping (Bool) -> Swift.Void)? = nil) |
To | func unlock(completionHandler completionHandler: ((Bool) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func unlock(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func unlock(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified NSDrawer
Declaration | Protocols | |
---|---|---|
From | class NSDrawer : NSResponder, NSAccessibilityElementProtocol, NSAccessibility { init(contentSize contentSize: NSSize, preferredEdge edge: NSRectEdge) unowned(unsafe) var parentWindow: NSWindow? var contentView: NSView? var preferredEdge: NSRectEdge unowned(unsafe) var delegate: NSDrawerDelegate? func open() func open(on edge: NSRectEdge) func close() func open(_ sender: Any?) func close(_ sender: Any?) func toggle(_ sender: Any?) var state: Int { get } var edge: NSRectEdge { get } var contentSize: NSSize var minContentSize: NSSize var maxContentSize: NSSize var leadingOffset: CGFloat var trailingOffset: CGFloat func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDrawer : CVarArg { } extension NSDrawer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol |
To | class NSDrawer : NSResponder, NSAccessibilityElementProtocol, NSAccessibility { init(contentSize contentSize: NSSize, preferredEdge edge: NSRectEdge) unowned(unsafe) var parentWindow: NSWindow? var contentView: NSView? var preferredEdge: NSRectEdge unowned(unsafe) var delegate: NSDrawerDelegate? func open() func open(on edge: NSRectEdge) func close() func open(_ sender: Any?) func close(_ sender: Any?) func toggle(_ sender: Any?) var state: Int { get } var edge: NSRectEdge { get } var contentSize: NSSize var minContentSize: NSSize var maxContentSize: NSSize var leadingOffset: CGFloat var trailingOffset: CGFloat func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSDrawer : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSDrawer : CVarArg { } extension NSDrawer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSTouchBarProvider |
Modified NSEvent
Declaration | |
---|---|
From | class NSEvent : NSObject, NSCopying, NSCoding { var type: NSEventType { get } var modifierFlags: NSEventModifierFlags { get } var timestamp: TimeInterval { get } unowned(unsafe) var window: NSWindow? { get } var windowNumber: Int { get } var context: NSGraphicsContext? { get } var clickCount: Int { get } var buttonNumber: Int { get } var eventNumber: Int { get } var pressure: Float { get } var locationInWindow: NSPoint { get } var deltaX: CGFloat { get } var deltaY: CGFloat { get } var deltaZ: CGFloat { get } var hasPreciseScrollingDeltas: Bool { get } var scrollingDeltaX: CGFloat { get } var scrollingDeltaY: CGFloat { get } var momentumPhase: NSEventPhase { get } var isDirectionInvertedFromDevice: Bool { get } var characters: String? { get } var charactersIgnoringModifiers: String? { get } var isARepeat: Bool { get } var keyCode: UInt16 { get } var trackingNumber: Int { get } var userData: UnsafeMutableRawPointer? { get } var trackingArea: NSTrackingArea? { get } var subtype: NSEventSubtype { get } var data1: Int { get } var data2: Int { get } var eventRef: UnsafeRawPointer? { get } init?(eventRef eventRef: UnsafeRawPointer) class func withEventRef(_ eventRef: UnsafeRawPointer) -> NSEvent? var cgEvent: CGEvent? { get } init?(cgEvent cgEvent: CGEvent) class func withCGEvent(_ cgEvent: CGEvent) -> NSEvent? class func setMouseCoalescingEnabled(_ flag: Bool) class func isMouseCoalescingEnabled() -> Bool var magnification: CGFloat { get } var deviceID: Int { get } var rotation: Float { get } var absoluteX: Int { get } var absoluteY: Int { get } var absoluteZ: Int { get } var buttonMask: NSEventButtonMask { get } var tilt: NSPoint { get } var tangentialPressure: Float { get } var vendorDefined: Any { get } var vendorID: Int { get } var tabletID: Int { get } var pointingDeviceID: Int { get } var systemTabletID: Int { get } var vendorPointingDeviceType: Int { get } var pointingDeviceSerialNumber: Int { get } var uniqueID: UInt64 { get } var capabilityMask: Int { get } var pointingDeviceType: NSPointingDeviceType { get } var isEnteringProximity: Bool { get } func touches(matching phase: NSTouchPhase, in view: NSView?) -> Set<NSTouch> var phase: NSEventPhase { get } var stage: Int { get } var stageTransition: CGFloat { get } var associatedEventsMask: NSEventMask { get } var pressureBehavior: NSPressureBehavior { get } class func isSwipeTrackingFromScrollEventsEnabled() -> Bool func trackSwipeEvent(options options: NSEventSwipeTrackingOptions = [], dampenAmountThresholdMin minDampenThreshold: CGFloat, max maxDampenThreshold: CGFloat, usingHandler trackingHandler: @escaping (CGFloat, NSEventPhase, Bool, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) class func startPeriodicEvents(afterDelay delay: TimeInterval, withPeriod period: TimeInterval) class func stopPeriodicEvents() class func mouseEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, eventNumber eNum: Int, clickCount cNum: Int, pressure pressure: Float) -> NSEvent? class func keyEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, characters keys: String, charactersIgnoringModifiers ukeys: String, isARepeat flag: Bool, keyCode code: UInt16) -> NSEvent? class func enterExitEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, eventNumber eNum: Int, trackingNumber tNum: Int, userData data: UnsafeMutableRawPointer?) -> NSEvent? class func otherEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, subtype subtype: Int16, data1 d1: Int, data2 d2: Int) -> NSEvent? class func mouseLocation() -> NSPoint class func modifierFlags() -> NSEventModifierFlags class func pressedMouseButtons() -> Int class func doubleClickInterval() -> TimeInterval class func keyRepeatDelay() -> TimeInterval class func keyRepeatInterval() -> TimeInterval class func addGlobalMonitorForEvents(matching mask: NSEventMask, handler block: @escaping (NSEvent) -> Swift.Void) -> Any? class func addLocalMonitorForEvents(matching mask: NSEventMask, handler block: @escaping (NSEvent) -> NSEvent?) -> Any? class func removeMonitor(_ eventMonitor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSEvent : CVarArg { } extension NSEvent : Equatable, Hashable { var hashValue: Int { get } } extension NSEvent { func location(in node: SKNode) -> CGPoint } |
To | class NSEvent : NSObject, NSCopying, NSCoding { var type: NSEventType { get } var modifierFlags: NSEventModifierFlags { get } var timestamp: TimeInterval { get } unowned(unsafe) var window: NSWindow? { get } var windowNumber: Int { get } var context: NSGraphicsContext? { get } var clickCount: Int { get } var buttonNumber: Int { get } var eventNumber: Int { get } var pressure: Float { get } var locationInWindow: NSPoint { get } var deltaX: CGFloat { get } var deltaY: CGFloat { get } var deltaZ: CGFloat { get } var hasPreciseScrollingDeltas: Bool { get } var scrollingDeltaX: CGFloat { get } var scrollingDeltaY: CGFloat { get } var momentumPhase: NSEventPhase { get } var isDirectionInvertedFromDevice: Bool { get } var characters: String? { get } var charactersIgnoringModifiers: String? { get } var isARepeat: Bool { get } var keyCode: UInt16 { get } var trackingNumber: Int { get } var userData: UnsafeMutableRawPointer? { get } var trackingArea: NSTrackingArea? { get } var subtype: NSEventSubtype { get } var data1: Int { get } var data2: Int { get } var eventRef: UnsafeRawPointer? { get } init?(eventRef eventRef: UnsafeRawPointer) class func withEventRef(_ eventRef: UnsafeRawPointer) -> NSEvent? var cgEvent: CGEvent? { get } init?(cgEvent cgEvent: CGEvent) class func withCGEvent(_ cgEvent: CGEvent) -> NSEvent? class func setMouseCoalescingEnabled(_ flag: Bool) class func isMouseCoalescingEnabled() -> Bool var magnification: CGFloat { get } var deviceID: Int { get } var rotation: Float { get } var absoluteX: Int { get } var absoluteY: Int { get } var absoluteZ: Int { get } var buttonMask: NSEventButtonMask { get } var tilt: NSPoint { get } var tangentialPressure: Float { get } var vendorDefined: Any { get } var vendorID: Int { get } var tabletID: Int { get } var pointingDeviceID: Int { get } var systemTabletID: Int { get } var vendorPointingDeviceType: Int { get } var pointingDeviceSerialNumber: Int { get } var uniqueID: UInt64 { get } var capabilityMask: Int { get } var pointingDeviceType: NSPointingDeviceType { get } var isEnteringProximity: Bool { get } func touches(matching phase: NSTouchPhase, in view: NSView?) -> Set<NSTouch> func allTouches() -> Set<NSTouch> func touches(for view: NSView) -> Set<NSTouch> func coalescedTouches(for touch: NSTouch) -> [NSTouch] var phase: NSEventPhase { get } var stage: Int { get } var stageTransition: CGFloat { get } var associatedEventsMask: NSEventMask { get } var pressureBehavior: NSPressureBehavior { get } class func isSwipeTrackingFromScrollEventsEnabled() -> Bool func trackSwipeEvent(options options: NSEventSwipeTrackingOptions = [], dampenAmountThresholdMin minDampenThreshold: CGFloat, max maxDampenThreshold: CGFloat, usingHandler trackingHandler: @escaping (CGFloat, NSEventPhase, Bool, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) class func startPeriodicEvents(afterDelay delay: TimeInterval, withPeriod period: TimeInterval) class func stopPeriodicEvents() class func mouseEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, eventNumber eNum: Int, clickCount cNum: Int, pressure pressure: Float) -> NSEvent? class func keyEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, characters keys: String, charactersIgnoringModifiers ukeys: String, isARepeat flag: Bool, keyCode code: UInt16) -> NSEvent? class func enterExitEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, eventNumber eNum: Int, trackingNumber tNum: Int, userData data: UnsafeMutableRawPointer?) -> NSEvent? class func otherEvent(with type: NSEventType, location location: NSPoint, modifierFlags flags: NSEventModifierFlags, timestamp time: TimeInterval, windowNumber wNum: Int, context unusedPassNil: NSGraphicsContext?, subtype subtype: Int16, data1 d1: Int, data2 d2: Int) -> NSEvent? class func mouseLocation() -> NSPoint class func modifierFlags() -> NSEventModifierFlags class func pressedMouseButtons() -> Int class func doubleClickInterval() -> TimeInterval class func keyRepeatDelay() -> TimeInterval class func keyRepeatInterval() -> TimeInterval class func addGlobalMonitorForEvents(matching mask: NSEventMask, handler block: @escaping (NSEvent) -> Swift.Void) -> Any? class func addLocalMonitorForEvents(matching mask: NSEventMask, handler block: @escaping (NSEvent) -> NSEvent?) -> Any? class func removeMonitor(_ eventMonitor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSEvent : CVarArg { } extension NSEvent : Equatable, Hashable { var hashValue: Int { get } } extension NSEvent { func location(in node: SKNode) -> CGPoint } |
Modified NSEventMask [struct]
Declaration | |
---|---|
From | struct NSEventMask : OptionSet { init(rawValue rawValue: UInt64) static var leftMouseDown: NSEventMask { get } static var leftMouseUp: NSEventMask { get } static var rightMouseDown: NSEventMask { get } static var rightMouseUp: NSEventMask { get } static var mouseMoved: NSEventMask { get } static var leftMouseDragged: NSEventMask { get } static var rightMouseDragged: NSEventMask { get } static var mouseEntered: NSEventMask { get } static var mouseExited: NSEventMask { get } static var keyDown: NSEventMask { get } static var keyUp: NSEventMask { get } static var flagsChanged: NSEventMask { get } static var appKitDefined: NSEventMask { get } static var systemDefined: NSEventMask { get } static var applicationDefined: NSEventMask { get } static var periodic: NSEventMask { get } static var cursorUpdate: NSEventMask { get } static var scrollWheel: NSEventMask { get } static var tabletPoint: NSEventMask { get } static var tabletProximity: NSEventMask { get } static var otherMouseDown: NSEventMask { get } static var otherMouseUp: NSEventMask { get } static var otherMouseDragged: NSEventMask { get } static var gesture: NSEventMask { get } static var magnify: NSEventMask { get } static var swipe: NSEventMask { get } static var rotate: NSEventMask { get } static var beginGesture: NSEventMask { get } static var endGesture: NSEventMask { get } static var smartMagnify: NSEventMask { get } static var pressure: NSEventMask { get } static var any: NSEventMask { get } func intersect(_ other: NSEventMask) -> NSEventMask func exclusiveOr(_ other: NSEventMask) -> NSEventMask mutating func unionInPlace(_ other: NSEventMask) mutating func intersectInPlace(_ other: NSEventMask) mutating func exclusiveOrInPlace(_ other: NSEventMask) func isSubsetOf(_ other: NSEventMask) -> Bool func isDisjointWith(_ other: NSEventMask) -> Bool func isSupersetOf(_ other: NSEventMask) -> Bool mutating func subtractInPlace(_ other: NSEventMask) func isStrictSupersetOf(_ other: NSEventMask) -> Bool func isStrictSubsetOf(_ other: NSEventMask) -> Bool } extension NSEventMask { func union(_ other: NSEventMask) -> NSEventMask func intersection(_ other: NSEventMask) -> NSEventMask func symmetricDifference(_ other: NSEventMask) -> NSEventMask } extension NSEventMask { func contains(_ member: NSEventMask) -> Bool mutating func insert(_ newMember: NSEventMask) -> (inserted: Bool, memberAfterInsert: NSEventMask) mutating func remove(_ member: NSEventMask) -> NSEventMask? mutating func update(with newMember: NSEventMask) -> NSEventMask? } extension NSEventMask { convenience init() mutating func formUnion(_ other: NSEventMask) mutating func formIntersection(_ other: NSEventMask) mutating func formSymmetricDifference(_ other: NSEventMask) } extension NSEventMask { convenience init<S : Sequence where S.Iterator.Element == NSEventMask>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSEventMask...) mutating func subtract(_ other: NSEventMask) func isSubset(of other: NSEventMask) -> Bool func isSuperset(of other: NSEventMask) -> Bool func isDisjoint(with other: NSEventMask) -> Bool func subtracting(_ other: NSEventMask) -> NSEventMask var isEmpty: Bool { get } func isStrictSuperset(of other: NSEventMask) -> Bool func isStrictSubset(of other: NSEventMask) -> Bool } |
To | struct NSEventMask : OptionSet { init(rawValue rawValue: UInt64) static var leftMouseDown: NSEventMask { get } static var leftMouseUp: NSEventMask { get } static var rightMouseDown: NSEventMask { get } static var rightMouseUp: NSEventMask { get } static var mouseMoved: NSEventMask { get } static var leftMouseDragged: NSEventMask { get } static var rightMouseDragged: NSEventMask { get } static var mouseEntered: NSEventMask { get } static var mouseExited: NSEventMask { get } static var keyDown: NSEventMask { get } static var keyUp: NSEventMask { get } static var flagsChanged: NSEventMask { get } static var appKitDefined: NSEventMask { get } static var systemDefined: NSEventMask { get } static var applicationDefined: NSEventMask { get } static var periodic: NSEventMask { get } static var cursorUpdate: NSEventMask { get } static var scrollWheel: NSEventMask { get } static var tabletPoint: NSEventMask { get } static var tabletProximity: NSEventMask { get } static var otherMouseDown: NSEventMask { get } static var otherMouseUp: NSEventMask { get } static var otherMouseDragged: NSEventMask { get } static var gesture: NSEventMask { get } static var magnify: NSEventMask { get } static var swipe: NSEventMask { get } static var rotate: NSEventMask { get } static var beginGesture: NSEventMask { get } static var endGesture: NSEventMask { get } static var smartMagnify: NSEventMask { get } static var pressure: NSEventMask { get } static var directTouch: NSEventMask { get } static var any: NSEventMask { get } func intersect(_ other: NSEventMask) -> NSEventMask func exclusiveOr(_ other: NSEventMask) -> NSEventMask mutating func unionInPlace(_ other: NSEventMask) mutating func intersectInPlace(_ other: NSEventMask) mutating func exclusiveOrInPlace(_ other: NSEventMask) func isSubsetOf(_ other: NSEventMask) -> Bool func isDisjointWith(_ other: NSEventMask) -> Bool func isSupersetOf(_ other: NSEventMask) -> Bool mutating func subtractInPlace(_ other: NSEventMask) func isStrictSupersetOf(_ other: NSEventMask) -> Bool func isStrictSubsetOf(_ other: NSEventMask) -> Bool } extension NSEventMask { func union(_ other: NSEventMask) -> NSEventMask func intersection(_ other: NSEventMask) -> NSEventMask func symmetricDifference(_ other: NSEventMask) -> NSEventMask } extension NSEventMask { func contains(_ member: NSEventMask) -> Bool mutating func insert(_ newMember: NSEventMask) -> (inserted: Bool, memberAfterInsert: NSEventMask) mutating func remove(_ member: NSEventMask) -> NSEventMask? mutating func update(with newMember: NSEventMask) -> NSEventMask? } extension NSEventMask { convenience init() mutating func formUnion(_ other: NSEventMask) mutating func formIntersection(_ other: NSEventMask) mutating func formSymmetricDifference(_ other: NSEventMask) } extension NSEventMask { convenience init<S : Sequence where S.Iterator.Element == NSEventMask>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSEventMask...) mutating func subtract(_ other: NSEventMask) func isSubset(of other: NSEventMask) -> Bool func isSuperset(of other: NSEventMask) -> Bool func isDisjoint(with other: NSEventMask) -> Bool func subtracting(_ other: NSEventMask) -> NSEventMask var isEmpty: Bool { get } func isStrictSuperset(of other: NSEventMask) -> Bool func isStrictSubset(of other: NSEventMask) -> Bool } |
Modified NSEventType [enum]
Declaration | |
---|---|
From | enum NSEventType : UInt { case leftMouseDown case leftMouseUp case rightMouseDown case rightMouseUp case mouseMoved case leftMouseDragged case rightMouseDragged case mouseEntered case mouseExited case keyDown case keyUp case flagsChanged case appKitDefined case systemDefined case applicationDefined case periodic case cursorUpdate case scrollWheel case tabletPoint case tabletProximity case otherMouseDown case otherMouseUp case otherMouseDragged case gesture case magnify case swipe case rotate case beginGesture case endGesture case smartMagnify case quickLook case pressure } |
To | enum NSEventType : UInt { case leftMouseDown case leftMouseUp case rightMouseDown case rightMouseUp case mouseMoved case leftMouseDragged case rightMouseDragged case mouseEntered case mouseExited case keyDown case keyUp case flagsChanged case appKitDefined case systemDefined case applicationDefined case periodic case cursorUpdate case scrollWheel case tabletPoint case tabletProximity case otherMouseDown case otherMouseUp case otherMouseDragged case gesture case magnify case swipe case rotate case beginGesture case endGesture case smartMagnify case quickLook case pressure case directTouch } |
Modified NSForm
Declaration | Protocols | |
---|---|---|
From | class NSForm : NSMatrix { func indexOfSelectedItem() -> Int func setEntryWidth(_ width: CGFloat) func setInterlineSpacing(_ spacing: CGFloat) func setBordered(_ flag: Bool) func setBezeled(_ flag: Bool) func setTitleAlignment(_ mode: NSTextAlignment) func setTextAlignment(_ mode: NSTextAlignment) func setTitleFont(_ fontObj: NSFont) func setTextFont(_ fontObj: NSFont) func cell(at index: Int) -> Any! func drawCell(at index: Int) func addEntry(_ title: String) -> NSFormCell func insertEntry(_ title: String, at index: Int) -> NSFormCell! func removeEntry(at index: Int) func indexOfCell(withTag tag: Int) -> Int func selectText(at index: Int) func setFrameSize(_ newSize: NSSize) func setTitleBaseWritingDirection(_ writingDirection: NSWritingDirection) func setTextBaseWritingDirection(_ writingDirection: NSWritingDirection) func setPreferredTextFieldWidth(_ preferredWidth: CGFloat) func preferredTextFieldWidth() -> CGFloat var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSForm : CVarArg { } extension NSForm : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSForm : NSMatrix { func indexOfSelectedItem() -> Int func setEntryWidth(_ width: CGFloat) func setInterlineSpacing(_ spacing: CGFloat) func setBordered(_ flag: Bool) func setBezeled(_ flag: Bool) func setTitleAlignment(_ mode: NSTextAlignment) func setTextAlignment(_ mode: NSTextAlignment) func setTitleFont(_ fontObj: NSFont) func setTextFont(_ fontObj: NSFont) func cell(at index: Int) -> Any! func drawCell(at index: Int) func addEntry(_ title: String) -> NSFormCell func insertEntry(_ title: String, at index: Int) -> NSFormCell! func removeEntry(at index: Int) func indexOfCell(withTag tag: Int) -> Int func selectText(at index: Int) func setFrameSize(_ newSize: NSSize) func setTitleBaseWritingDirection(_ writingDirection: NSWritingDirection) func setTextBaseWritingDirection(_ writingDirection: NSWritingDirection) func setPreferredTextFieldWidth(_ preferredWidth: CGFloat) func preferredTextFieldWidth() -> CGFloat var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSForm : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSForm : CVarArg { } extension NSForm : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSGestureRecognizer
Declaration | |
---|---|
From | class NSGestureRecognizer : NSObject, NSCoding { init(target target: Any, action action: Selector?) init?(coder coder: NSCoder) weak var target: AnyObject? var action: Selector? var state: NSGestureRecognizerState weak var delegate: NSGestureRecognizerDelegate? var isEnabled: Bool var view: NSView? { get } var pressureConfiguration: NSPressureConfiguration var delaysPrimaryMouseButtonEvents: Bool var delaysSecondaryMouseButtonEvents: Bool var delaysOtherMouseButtonEvents: Bool var delaysKeyEvents: Bool var delaysMagnificationEvents: Bool var delaysRotationEvents: Bool func location(in view: NSView?) -> NSPoint func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSGestureRecognizer : CVarArg { } extension NSGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } extension NSGestureRecognizer { func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) } |
To | class NSGestureRecognizer : NSObject, NSCoding { init(target target: Any, action action: Selector?) init?(coder coder: NSCoder) weak var target: AnyObject? var action: Selector? var state: NSGestureRecognizerState weak var delegate: NSGestureRecognizerDelegate? var isEnabled: Bool var view: NSView? { get } var pressureConfiguration: NSPressureConfiguration var delaysPrimaryMouseButtonEvents: Bool var delaysSecondaryMouseButtonEvents: Bool var delaysOtherMouseButtonEvents: Bool var delaysKeyEvents: Bool var delaysMagnificationEvents: Bool var delaysRotationEvents: Bool func location(in view: NSView?) -> NSPoint var allowedTouchTypes: NSTouchTypeMask func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSGestureRecognizer : CVarArg { } extension NSGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } extension NSGestureRecognizer { var allowedTouchTypes: NSTouchTypeMask } extension NSGestureRecognizer { func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) } |
Modified NSGestureRecognizerDelegate
Declaration | |
---|---|
From | protocol NSGestureRecognizerDelegate : NSObjectProtocol { optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldAttemptToRecognizeWith event: NSEvent) -> Bool optional func gestureRecognizerShouldBegin(_ gestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRequireFailureOf otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: NSGestureRecognizer) -> Bool } |
To | protocol NSGestureRecognizerDelegate : NSObjectProtocol { optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldAttemptToRecognizeWith event: NSEvent) -> Bool optional func gestureRecognizerShouldBegin(_ gestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldRequireFailureOf otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: NSGestureRecognizer) -> Bool optional func gestureRecognizer(_ gestureRecognizer: NSGestureRecognizer, shouldReceive touch: NSTouch) -> Bool } |
Modified NSGridView
Declaration | Protocols | |
---|---|---|
From | class NSGridView : NSView { init(frame frameRect: NSRect) init?(coder coder: NSCoder) convenience init(numberOfColumns columnCount: Int, rows rowCount: Int) class func withNumberOfColumns(_ columnCount: Int, rows rowCount: Int) -> Self convenience init(views rows: [[NSView]]) class func withViews(_ rows: [[NSView]]) -> Self var numberOfRows: Int { get } var numberOfColumns: Int { get } func row(at index: Int) -> NSGridRow func index(of row: NSGridRow) -> Int func column(at index: Int) -> NSGridColumn func index(of column: NSGridColumn) -> Int func cell(atColumnIndex columnIndex: Int, rowIndex rowIndex: Int) -> NSGridCell func cell(for view: NSView) -> NSGridCell? func addRow(with views: [NSView]) -> NSGridRow func insertRow(at index: Int, with views: [NSView]) -> NSGridRow func moveRow(at fromIndex: Int, to toIndex: Int) func removeRow(at index: Int) func addColumn(with views: [NSView]) -> NSGridColumn func insertColumn(at index: Int, with views: [NSView]) -> NSGridColumn func moveColumn(at fromIndex: Int, to toIndex: Int) func removeColumn(at index: Int) var xPlacement: NSGridCellPlacement var yPlacement: NSGridCellPlacement var rowAlignment: NSGridRowAlignment var rowSpacing: CGFloat var columnSpacing: CGFloat func mergeCells(inHorizontalRange hRange: NSRange, verticalRange vRange: NSRange) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSGridView : CVarArg { } extension NSGridView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSGridView : NSView { init(frame frameRect: NSRect) init?(coder coder: NSCoder) convenience init(numberOfColumns columnCount: Int, rows rowCount: Int) class func withNumberOfColumns(_ columnCount: Int, rows rowCount: Int) -> Self convenience init(views rows: [[NSView]]) class func withViews(_ rows: [[NSView]]) -> Self var numberOfRows: Int { get } var numberOfColumns: Int { get } func row(at index: Int) -> NSGridRow func index(of row: NSGridRow) -> Int func column(at index: Int) -> NSGridColumn func index(of column: NSGridColumn) -> Int func cell(atColumnIndex columnIndex: Int, rowIndex rowIndex: Int) -> NSGridCell func cell(for view: NSView) -> NSGridCell? func addRow(with views: [NSView]) -> NSGridRow func insertRow(at index: Int, with views: [NSView]) -> NSGridRow func moveRow(at fromIndex: Int, to toIndex: Int) func removeRow(at index: Int) func addColumn(with views: [NSView]) -> NSGridColumn func insertColumn(at index: Int, with views: [NSView]) -> NSGridColumn func moveColumn(at fromIndex: Int, to toIndex: Int) func removeColumn(at index: Int) var xPlacement: NSGridCellPlacement var yPlacement: NSGridCellPlacement var rowAlignment: NSGridRowAlignment var rowSpacing: CGFloat var columnSpacing: CGFloat func mergeCells(inHorizontalRange hRange: NSRange, verticalRange vRange: NSRange) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSGridView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSGridView : CVarArg { } extension NSGridView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSImageView
Declaration | Protocols | |
---|---|---|
From | class NSImageView : NSControl, NSAccessibilityImage { var image: NSImage? var imageAlignment: NSImageAlignment var imageScaling: NSImageScaling var imageFrameStyle: NSImageFrameStyle var isEditable: Bool var animates: Bool var allowsCutCopyPaste: Bool convenience init(image image: NSImage) class func withImage(_ image: NSImage) -> Self func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSImageView : CVarArg { } extension NSImageView : Equatable, Hashable { var hashValue: Int { get } } extension NSImageView { convenience init(image image: NSImage) class func withImage(_ image: NSImage) -> Self } | CVarArg, Equatable, Hashable, NSAccessibilityImage |
To | class NSImageView : NSControl, NSAccessibilityImage { var image: NSImage? var imageAlignment: NSImageAlignment var imageScaling: NSImageScaling var imageFrameStyle: NSImageFrameStyle var isEditable: Bool var animates: Bool var allowsCutCopyPaste: Bool convenience init(image image: NSImage) class func withImage(_ image: NSImage) -> Self func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool } extension NSImageView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSImageView : CVarArg { } extension NSImageView : Equatable, Hashable { var hashValue: Int { get } } extension NSImageView { convenience init(image image: NSImage) class func withImage(_ image: NSImage) -> Self } | CVarArg, Equatable, Hashable, NSAccessibilityImage, NSTouchBarProvider |
Declaration | |
---|---|
From | func registerCloudKitShare(preparationHandler preparationHandler: @escaping (@escaping (CKShare?, CKContainer?, Error?) -> Swift.Void) -> Swift.Void) |
To | func registerCloudKitShare(preparationHandler preparationHandler: @escaping ((CKShare?, CKContainer?, Error?) -> Swift.Void) -> Swift.Void) |
Modified NSLevelIndicator
Declaration | Protocols | |
---|---|---|
From | class NSLevelIndicator : NSControl { var levelIndicatorStyle: NSLevelIndicatorStyle var minValue: Double var maxValue: Double var warningValue: Double var criticalValue: Double var tickMarkPosition: NSTickMarkPosition var numberOfTickMarks: Int var numberOfMajorTickMarks: Int func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSLevelIndicator : CVarArg { } extension NSLevelIndicator : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSLevelIndicator : NSControl { var levelIndicatorStyle: NSLevelIndicatorStyle var minValue: Double var maxValue: Double var warningValue: Double var criticalValue: Double var tickMarkPosition: NSTickMarkPosition var numberOfTickMarks: Int var numberOfMajorTickMarks: Int func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSLevelIndicator : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSLevelIndicator : CVarArg { } extension NSLevelIndicator : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSMagnificationGestureRecognizer
Declaration | |
---|---|
From | class NSMagnificationGestureRecognizer : NSGestureRecognizer { var magnification: CGFloat func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSMagnificationGestureRecognizer : CVarArg { } extension NSMagnificationGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSMagnificationGestureRecognizer : NSGestureRecognizer { var magnification: CGFloat func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) var allowedTouchTypes: NSTouchTypeMask func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSMagnificationGestureRecognizer : CVarArg { } extension NSMagnificationGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
Modified NSMatrix
Declaration | Protocols | |
---|---|---|
From | class NSMatrix : NSControl, NSUserInterfaceValidations { convenience init(frame frameRect: NSRect) init(frame frameRect: NSRect, mode mode: NSMatrixMode, prototype cell: NSCell, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) init(frame frameRect: NSRect, mode mode: NSMatrixMode, cellClass factoryId: Swift.AnyClass?, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) var cellClass: Swift.AnyClass @NSCopying var prototype: NSCell? func makeCell(atRow row: Int, column col: Int) -> NSCell var mode: NSMatrixMode var allowsEmptySelection: Bool func sendAction(_ selector: Selector, to object: Any, forAllCells flag: Bool) var cells: [NSCell] { get } func sort(using comparator: Selector) func sort(using compare: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) var selectedCells: [NSCell] { get } var selectedRow: Int { get } var selectedColumn: Int { get } var isSelectionByRect: Bool func setSelectionFrom(_ startPos: Int, to endPos: Int, anchor anchorPos: Int, highlight lit: Bool) func deselectSelectedCell() func deselectAllCells() func selectCell(atRow row: Int, column col: Int) func selectAll(_ sender: Any?) func selectCell(withTag tag: Int) -> Bool var cellSize: NSSize var intercellSpacing: NSSize func setScrollable(_ flag: Bool) @NSCopying var backgroundColor: NSColor @NSCopying var cellBackgroundColor: NSColor? var drawsCellBackground: Bool var drawsBackground: Bool func setState(_ value: Int, atRow row: Int, column col: Int) func getNumberOfRows(_ rowCount: UnsafeMutablePointer<Int>?, columns colCount: UnsafeMutablePointer<Int>?) var numberOfRows: Int { get } var numberOfColumns: Int { get } func cell(atRow row: Int, column col: Int) -> NSCell? func cellFrame(atRow row: Int, column col: Int) -> NSRect func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, of cell: NSCell) -> Bool func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, for point: NSPoint) -> Bool func renewRows(_ newRows: Int, columns newCols: Int) func putCell(_ newCell: NSCell, atRow row: Int, column col: Int) func addRow() func addRow(with newCells: [NSCell]) func insertRow(_ row: Int) func insertRow(_ row: Int, with newCells: [NSCell]?) func removeRow(_ row: Int) func addColumn() func addColumn(with newCells: [NSCell]) func insertColumn(_ column: Int) func insertColumn(_ column: Int, with newCells: [NSCell]?) func removeColumn(_ col: Int) func cell(withTag tag: Int) -> NSCell? var doubleAction: Selector? var autosizesCells: Bool func sizeToCells() func setValidateSize(_ flag: Bool) func drawCell(atRow row: Int, column col: Int) func highlightCell(_ flag: Bool, atRow row: Int, column col: Int) var isAutoscroll: Bool func scrollCellToVisible(atRow row: Int, column col: Int) var mouseDownFlags: Int { get } func mouseDown(with event: NSEvent) func performKeyEquivalent(with event: NSEvent) -> Bool func sendAction() -> Bool func sendDoubleAction() unowned(unsafe) var delegate: NSMatrixDelegate? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func selectText(_ sender: Any?) func selectText(atRow row: Int, column col: Int) -> NSCell? func acceptsFirstMouse(for event: NSEvent?) -> Bool func resetCursorRects() func setToolTip(_ toolTipString: String?, for cell: NSCell) func toolTip(for cell: NSCell) -> String? var autorecalculatesCellSize: Bool func selectedCell() -> NSCell? var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSMatrix : CVarArg { } extension NSMatrix : Equatable, Hashable { var hashValue: Int { get } } extension NSMatrix { var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? } | CVarArg, Equatable, Hashable, NSUserInterfaceValidations |
To | class NSMatrix : NSControl, NSUserInterfaceValidations { convenience init(frame frameRect: NSRect) init(frame frameRect: NSRect, mode mode: NSMatrixMode, prototype cell: NSCell, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) init(frame frameRect: NSRect, mode mode: NSMatrixMode, cellClass factoryId: Swift.AnyClass?, numberOfRows rowsHigh: Int, numberOfColumns colsWide: Int) var cellClass: Swift.AnyClass @NSCopying var prototype: NSCell? func makeCell(atRow row: Int, column col: Int) -> NSCell var mode: NSMatrixMode var allowsEmptySelection: Bool func sendAction(_ selector: Selector, to object: Any, forAllCells flag: Bool) var cells: [NSCell] { get } func sort(using comparator: Selector) func sort(using compare: (Any, Any, UnsafeMutableRawPointer?) -> Int, context context: UnsafeMutableRawPointer?) var selectedCells: [NSCell] { get } var selectedRow: Int { get } var selectedColumn: Int { get } var isSelectionByRect: Bool func setSelectionFrom(_ startPos: Int, to endPos: Int, anchor anchorPos: Int, highlight lit: Bool) func deselectSelectedCell() func deselectAllCells() func selectCell(atRow row: Int, column col: Int) func selectAll(_ sender: Any?) func selectCell(withTag tag: Int) -> Bool var cellSize: NSSize var intercellSpacing: NSSize func setScrollable(_ flag: Bool) @NSCopying var backgroundColor: NSColor @NSCopying var cellBackgroundColor: NSColor? var drawsCellBackground: Bool var drawsBackground: Bool func setState(_ value: Int, atRow row: Int, column col: Int) func getNumberOfRows(_ rowCount: UnsafeMutablePointer<Int>?, columns colCount: UnsafeMutablePointer<Int>?) var numberOfRows: Int { get } var numberOfColumns: Int { get } func cell(atRow row: Int, column col: Int) -> NSCell? func cellFrame(atRow row: Int, column col: Int) -> NSRect func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, of cell: NSCell) -> Bool func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, for point: NSPoint) -> Bool func renewRows(_ newRows: Int, columns newCols: Int) func putCell(_ newCell: NSCell, atRow row: Int, column col: Int) func addRow() func addRow(with newCells: [NSCell]) func insertRow(_ row: Int) func insertRow(_ row: Int, with newCells: [NSCell]?) func removeRow(_ row: Int) func addColumn() func addColumn(with newCells: [NSCell]) func insertColumn(_ column: Int) func insertColumn(_ column: Int, with newCells: [NSCell]?) func removeColumn(_ col: Int) func cell(withTag tag: Int) -> NSCell? var doubleAction: Selector? var autosizesCells: Bool func sizeToCells() func setValidateSize(_ flag: Bool) func drawCell(atRow row: Int, column col: Int) func highlightCell(_ flag: Bool, atRow row: Int, column col: Int) var isAutoscroll: Bool func scrollCellToVisible(atRow row: Int, column col: Int) var mouseDownFlags: Int { get } func mouseDown(with event: NSEvent) func performKeyEquivalent(with event: NSEvent) -> Bool func sendAction() -> Bool func sendDoubleAction() unowned(unsafe) var delegate: NSMatrixDelegate? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func selectText(_ sender: Any?) func selectText(atRow row: Int, column col: Int) -> NSCell? func acceptsFirstMouse(for event: NSEvent?) -> Bool func resetCursorRects() func setToolTip(_ toolTipString: String?, for cell: NSCell) func toolTip(for cell: NSCell) -> String? var autorecalculatesCellSize: Bool func selectedCell() -> NSCell? var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool } extension NSMatrix : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSMatrix : CVarArg { } extension NSMatrix : Equatable, Hashable { var hashValue: Int { get } } extension NSMatrix { var tabKeyTraversesCells: Bool unowned(unsafe) var keyCell: NSCell? } | CVarArg, Equatable, Hashable, NSTouchBarProvider, NSUserInterfaceValidations |
Modified NSOpenGLView
Declaration | Protocols | |
---|---|---|
From | class NSOpenGLView : NSView { class func defaultPixelFormat() -> NSOpenGLPixelFormat init?(frame frameRect: NSRect, pixelFormat format: NSOpenGLPixelFormat?) var openGLContext: NSOpenGLContext? func clearGLContext() func update() func reshape() var pixelFormat: NSOpenGLPixelFormat? func prepareOpenGL() var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSOpenGLView : CVarArg { } extension NSOpenGLView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSOpenGLView : NSView { class func defaultPixelFormat() -> NSOpenGLPixelFormat init?(frame frameRect: NSRect, pixelFormat format: NSOpenGLPixelFormat?) var openGLContext: NSOpenGLContext? func clearGLContext() func update() func reshape() var pixelFormat: NSOpenGLPixelFormat? func prepareOpenGL() var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSOpenGLView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSOpenGLView : CVarArg { } extension NSOpenGLView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSOutlineView
Declaration | Protocols | |
---|---|---|
From | class NSOutlineView : NSTableView, NSAccessibilityOutline { weak var delegate: NSOutlineViewDelegate? weak var dataSource: NSOutlineViewDataSource? unowned(unsafe) var outlineTableColumn: NSTableColumn? func isExpandable(_ item: Any?) -> Bool func numberOfChildren(ofItem item: Any?) -> Int func child(_ index: Int, ofItem item: Any?) -> Any? func expandItem(_ item: Any?, expandChildren expandChildren: Bool) func expandItem(_ item: Any?) func collapseItem(_ item: Any?, collapseChildren collapseChildren: Bool) func collapseItem(_ item: Any?) func reloadItem(_ item: Any?, reloadChildren reloadChildren: Bool) func reloadItem(_ item: Any?) func parent(forItem item: Any?) -> Any? func childIndex(forItem item: Any) -> Int func item(atRow row: Int) -> Any? func row(forItem item: Any?) -> Int func level(forItem item: Any?) -> Int func level(forRow row: Int) -> Int func isItemExpanded(_ item: Any?) -> Bool var indentationPerLevel: CGFloat var indentationMarkerFollowsCell: Bool var autoresizesOutlineColumn: Bool func frameOfOutlineCell(atRow row: Int) -> NSRect func setDropItem(_ item: Any?, dropChildIndex index: Int) func shouldCollapseAutoExpandedItems(forDeposited deposited: Bool) -> Bool var autosaveExpandedItems: Bool func insertItems(at indexes: IndexSet, inParent parent: Any?, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeItems(at indexes: IndexSet, inParent parent: Any?, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveItem(at fromIndex: Int, inParent oldParent: Any?, to toIndex: Int, inParent newParent: Any?) func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveRow(at oldIndex: Int, to newIndex: Int) var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection var stronglyReferencesItems: Bool func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSOutlineView : CVarArg { } extension NSOutlineView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityOutline |
To | class NSOutlineView : NSTableView, NSAccessibilityOutline { weak var delegate: NSOutlineViewDelegate? weak var dataSource: NSOutlineViewDataSource? unowned(unsafe) var outlineTableColumn: NSTableColumn? func isExpandable(_ item: Any?) -> Bool func numberOfChildren(ofItem item: Any?) -> Int func child(_ index: Int, ofItem item: Any?) -> Any? func expandItem(_ item: Any?, expandChildren expandChildren: Bool) func expandItem(_ item: Any?) func collapseItem(_ item: Any?, collapseChildren collapseChildren: Bool) func collapseItem(_ item: Any?) func reloadItem(_ item: Any?, reloadChildren reloadChildren: Bool) func reloadItem(_ item: Any?) func parent(forItem item: Any?) -> Any? func childIndex(forItem item: Any) -> Int func item(atRow row: Int) -> Any? func row(forItem item: Any?) -> Int func level(forItem item: Any?) -> Int func level(forRow row: Int) -> Int func isItemExpanded(_ item: Any?) -> Bool var indentationPerLevel: CGFloat var indentationMarkerFollowsCell: Bool var autoresizesOutlineColumn: Bool func frameOfOutlineCell(atRow row: Int) -> NSRect func setDropItem(_ item: Any?, dropChildIndex index: Int) func shouldCollapseAutoExpandedItems(forDeposited deposited: Bool) -> Bool var autosaveExpandedItems: Bool func insertItems(at indexes: IndexSet, inParent parent: Any?, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeItems(at indexes: IndexSet, inParent parent: Any?, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveItem(at fromIndex: Int, inParent oldParent: Any?, to toIndex: Int, inParent newParent: Any?) func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveRow(at oldIndex: Int, to newIndex: Int) var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection var stronglyReferencesItems: Bool func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSOutlineView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSOutlineView : CVarArg { } extension NSOutlineView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityOutline, NSTouchBarProvider |
Modified NSPageController
Declaration | Protocols | |
---|---|---|
From | class NSPageController : NSViewController, NSAnimatablePropertyContainer, NSCoding { @IBOutlet unowned(unsafe) var delegate: NSPageControllerDelegate? var selectedViewController: NSViewController? { get } var transitionStyle: NSPageControllerTransitionStyle var arrangedObjects: [Any] var selectedIndex: Int func navigateForward(to object: Any) func completeTransition() @IBAction func navigateBack(_ sender: Any?) @IBAction func navigateForward(_ sender: Any?) @IBAction func takeSelectedIndexFrom(_ sender: Any?) var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPageController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSPageController : CVarArg { } extension NSPageController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAnimatablePropertyContainer, NSCoding, NSExtensionRequestHandling |
To | class NSPageController : NSViewController, NSAnimatablePropertyContainer, NSCoding { @IBOutlet unowned(unsafe) var delegate: NSPageControllerDelegate? var selectedViewController: NSViewController? { get } var transitionStyle: NSPageControllerTransitionStyle var arrangedObjects: [Any] var selectedIndex: Int func navigateForward(to object: Any) func completeTransition() @IBAction func navigateBack(_ sender: Any?) @IBAction func navigateForward(_ sender: Any?) @IBAction func takeSelectedIndexFrom(_ sender: Any?) var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (() -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPageController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSPageController : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSPageController : CVarArg { } extension NSPageController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAnimatablePropertyContainer, NSCoding, NSExtensionRequestHandling, NSTouchBarProvider |
Modified NSPanel
Declaration | Protocols | |
---|---|---|
From | class NSPanel : NSWindow { var isFloatingPanel: Bool var becomesKeyOnlyIfNeeded: Bool var worksWhenModal: Bool func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Void) var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? var drawers: [NSDrawer]? { get } func visualizeConstraints(_ constraints: [NSLayoutConstraint]) func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) func updateConstraintsIfNeeded() func layoutIfNeeded() class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPanel : CVarArg { } extension NSPanel : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSPanel : NSWindow { var isFloatingPanel: Bool var becomesKeyOnlyIfNeeded: Bool var worksWhenModal: Bool func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Void) var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? var drawers: [NSDrawer]? { get } func visualizeConstraints(_ constraints: [NSLayoutConstraint]) func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) func updateConstraintsIfNeeded() func layoutIfNeeded() class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPanel : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSPanel : CVarArg { } extension NSPanel : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSPanGestureRecognizer
Declaration | |
---|---|
From | class NSPanGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int func translation(in view: NSView?) -> NSPoint func setTranslation(_ translation: NSPoint, in view: NSView?) func velocity(in view: NSView?) -> NSPoint func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPanGestureRecognizer : CVarArg { } extension NSPanGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSPanGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int func translation(in view: NSView?) -> NSPoint func setTranslation(_ translation: NSPoint, in view: NSView?) func velocity(in view: NSView?) -> NSPoint var numberOfTouchesRequired: Int var allowedTouchTypes: NSTouchTypeMask func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool } extension NSPanGestureRecognizer : CVarArg { } extension NSPanGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } extension NSPanGestureRecognizer { var numberOfTouchesRequired: Int } |
Modified NSPathControl
Declaration | Protocols | |
---|---|---|
From | class NSPathControl : NSControl { var isEditable: Bool var allowedTypes: [String]? var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? var url: URL? var doubleAction: Selector? var pathStyle: NSPathStyle var clickedPathItem: NSPathControlItem? { get } var pathItems: [NSPathControlItem] @NSCopying var backgroundColor: NSColor? weak var delegate: NSPathControlDelegate? func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) var menu: NSMenu? func clickedPathComponentCell() -> NSPathComponentCell? func pathComponentCells() -> [NSPathComponentCell] func setPathComponentCells(_ cells: [NSPathComponentCell]) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSPathControl : CVarArg { } extension NSPathControl : Equatable, Hashable { var hashValue: Int { get } } extension NSPathControl { func clickedPathComponentCell() -> NSPathComponentCell? func pathComponentCells() -> [NSPathComponentCell] func setPathComponentCells(_ cells: [NSPathComponentCell]) } | CVarArg, Equatable, Hashable |
To | class NSPathControl : NSControl { var isEditable: Bool var allowedTypes: [String]? var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? var url: URL? var doubleAction: Selector? var pathStyle: NSPathStyle var clickedPathItem: NSPathControlItem? { get } var pathItems: [NSPathControlItem] @NSCopying var backgroundColor: NSColor? weak var delegate: NSPathControlDelegate? func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) var menu: NSMenu? func clickedPathComponentCell() -> NSPathComponentCell? func pathComponentCells() -> [NSPathComponentCell] func setPathComponentCells(_ cells: [NSPathComponentCell]) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool } extension NSPathControl : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSPathControl : CVarArg { } extension NSPathControl : Equatable, Hashable { var hashValue: Int { get } } extension NSPathControl { func clickedPathComponentCell() -> NSPathComponentCell? func pathComponentCells() -> [NSPathComponentCell] func setPathComponentCells(_ cells: [NSPathComponentCell]) } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSPopover
Declaration | Protocols | |
---|---|---|
From | class NSPopover : NSResponder, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { init() init?(coder coder: NSCoder) @IBOutlet weak var delegate: NSPopoverDelegate? var appearance: NSAppearance? var effectiveAppearance: NSAppearance { get } var behavior: NSPopoverBehavior var animates: Bool @IBOutlet var contentViewController: NSViewController? var contentSize: NSSize var isShown: Bool { get } var isDetached: Bool { get } var positioningRect: NSRect func show(relativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge) @IBAction func performClose(_ sender: Any?) func close() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPopover : CVarArg { } extension NSPopover : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAppearanceCustomization |
To | class NSPopover : NSResponder, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { init() init?(coder coder: NSCoder) @IBOutlet weak var delegate: NSPopoverDelegate? var appearance: NSAppearance? var effectiveAppearance: NSAppearance { get } var behavior: NSPopoverBehavior var animates: Bool @IBOutlet var contentViewController: NSViewController? var contentSize: NSSize var isShown: Bool { get } var isDetached: Bool { get } var positioningRect: NSRect func show(relativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge) @IBAction func performClose(_ sender: Any?) func close() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPopover : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSPopover : CVarArg { } extension NSPopover : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAppearanceCustomization, NSTouchBarProvider |
Modified NSPopUpButton
Declaration | Protocols | |
---|---|---|
From | class NSPopUpButton : NSButton { init(frame buttonFrame: NSRect, pullsDown flag: Bool) var menu: NSMenu? var pullsDown: Bool var autoenablesItems: Bool var preferredEdge: NSRectEdge func addItem(withTitle title: String) func addItems(withTitles itemTitles: [String]) func insertItem(withTitle title: String, at index: Int) func removeItem(withTitle title: String) func removeItem(at index: Int) func removeAllItems() var itemArray: [NSMenuItem] { get } var numberOfItems: Int { get } func index(of item: NSMenuItem) -> Int func indexOfItem(withTitle title: String) -> Int func indexOfItem(withTag tag: Int) -> Int func indexOfItem(withRepresentedObject obj: Any?) -> Int func indexOfItem(withTarget target: Any?, andAction actionSelector: Selector?) -> Int func item(at index: Int) -> NSMenuItem? func item(withTitle title: String) -> NSMenuItem? var lastItem: NSMenuItem? { get } func select(_ item: NSMenuItem?) func selectItem(at index: Int) func selectItem(withTitle title: String) func selectItem(withTag tag: Int) -> Bool func setTitle(_ string: String) var selectedItem: NSMenuItem? { get } var indexOfSelectedItem: Int { get } func synchronizeTitleAndSelectedItem() func itemTitle(at index: Int) -> String var itemTitles: [String] { get } var titleOfSelectedItem: String? { get } func selectedTag() -> Int func setTitleWithMnemonic(_ stringWithAmpersand: String!) var sound: NSSound? var showsBorderOnlyWhileMouseInside: Bool var allowsMixedState: Bool func setNextState() var bezelStyle: NSBezelStyle @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPopUpButton : CVarArg { } extension NSPopUpButton : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSPopUpButton : NSButton { init(frame buttonFrame: NSRect, pullsDown flag: Bool) var menu: NSMenu? var pullsDown: Bool var autoenablesItems: Bool var preferredEdge: NSRectEdge func addItem(withTitle title: String) func addItems(withTitles itemTitles: [String]) func insertItem(withTitle title: String, at index: Int) func removeItem(withTitle title: String) func removeItem(at index: Int) func removeAllItems() var itemArray: [NSMenuItem] { get } var numberOfItems: Int { get } func index(of item: NSMenuItem) -> Int func indexOfItem(withTitle title: String) -> Int func indexOfItem(withTag tag: Int) -> Int func indexOfItem(withRepresentedObject obj: Any?) -> Int func indexOfItem(withTarget target: Any?, andAction actionSelector: Selector?) -> Int func item(at index: Int) -> NSMenuItem? func item(withTitle title: String) -> NSMenuItem? var lastItem: NSMenuItem? { get } func select(_ item: NSMenuItem?) func selectItem(at index: Int) func selectItem(withTitle title: String) func selectItem(withTag tag: Int) -> Bool func setTitle(_ string: String) var selectedItem: NSMenuItem? { get } var indexOfSelectedItem: Int { get } func synchronizeTitleAndSelectedItem() func itemTitle(at index: Int) -> String var itemTitles: [String] { get } var titleOfSelectedItem: String? { get } func selectedTag() -> Int func setTitleWithMnemonic(_ stringWithAmpersand: String!) var sound: NSSound? var showsBorderOnlyWhileMouseInside: Bool var allowsMixedState: Bool func setNextState() var bezelStyle: NSBezelStyle @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPopUpButton : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSPopUpButton : CVarArg { } extension NSPopUpButton : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSPressGestureRecognizer
Declaration | |
---|---|
From | class NSPressGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int var minimumPressDuration: TimeInterval var allowableMovement: CGFloat func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPressGestureRecognizer : CVarArg { } extension NSPressGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSPressGestureRecognizer : NSGestureRecognizer, NSCoding { var buttonMask: Int var minimumPressDuration: TimeInterval var allowableMovement: CGFloat var numberOfTouchesRequired: Int func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) var allowedTouchTypes: NSTouchTypeMask func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSPressGestureRecognizer : CVarArg { } extension NSPressGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
Modified NSProgressIndicator
Declaration | Protocols | |
---|---|---|
From | class NSProgressIndicator : NSView, NSAccessibilityProgressIndicator { var isIndeterminate: Bool var isBezeled: Bool var controlTint: NSControlTint var controlSize: NSControlSize var doubleValue: Double func increment(by delta: Double) var minValue: Double var maxValue: Double var usesThreadedAnimation: Bool func startAnimation(_ sender: Any?) func stopAnimation(_ sender: Any?) var style: NSProgressIndicatorStyle func sizeToFit() var isDisplayedWhenStopped: Bool func animationDelay() -> TimeInterval func setAnimationDelay(_ delay: TimeInterval) func animate(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() } extension NSProgressIndicator : CVarArg { } extension NSProgressIndicator : Equatable, Hashable { var hashValue: Int { get } } extension NSProgressIndicator { func animationDelay() -> TimeInterval func setAnimationDelay(_ delay: TimeInterval) func animate(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSAccessibilityProgressIndicator |
To | class NSProgressIndicator : NSView, NSAccessibilityProgressIndicator { var isIndeterminate: Bool var isBezeled: Bool var controlTint: NSControlTint var controlSize: NSControlSize var doubleValue: Double func increment(by delta: Double) var minValue: Double var maxValue: Double var usesThreadedAnimation: Bool func startAnimation(_ sender: Any?) func stopAnimation(_ sender: Any?) var style: NSProgressIndicatorStyle func sizeToFit() var isDisplayedWhenStopped: Bool func animationDelay() -> TimeInterval func setAnimationDelay(_ delay: TimeInterval) func animate(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool } extension NSProgressIndicator : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSProgressIndicator : CVarArg { } extension NSProgressIndicator : Equatable, Hashable { var hashValue: Int { get } } extension NSProgressIndicator { func animationDelay() -> TimeInterval func setAnimationDelay(_ delay: TimeInterval) func animate(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSAccessibilityProgressIndicator, NSTouchBarProvider |
Modified NSResponder
Declaration | Protocols | |
---|---|---|
From | class NSResponder : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var nextResponder: NSResponder? func `try`(toPerform action: Selector, with object: Any?) -> Bool func performKeyEquivalent(with event: NSEvent) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseMoved(with event: NSEvent) func mouseDragged(with event: NSEvent) func scrollWheel(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func mouseEntered(with event: NSEvent) func mouseExited(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func tabletProximity(with event: NSEvent) func cursorUpdate(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func swipe(with event: NSEvent) func beginGesture(with event: NSEvent) func endGesture(with event: NSEvent) func smartMagnify(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) func quickLook(with event: NSEvent) func pressureChange(with event: NSEvent) func noResponder(for eventSelector: Selector) var acceptsFirstResponder: Bool { get } func becomeFirstResponder() -> Bool func resignFirstResponder() -> Bool func interpretKeyEvents(_ eventArray: [NSEvent]) func flushBufferedKeyEvents() var menu: NSMenu? func showContextHelp(_ sender: Any?) func helpRequested(_ eventPtr: NSEvent) func shouldBeTreatedAsInkEvent(_ event: NSEvent) -> Bool func wantsScrollEventsForSwipeTracking(on axis: NSEventGestureAxis) -> Bool func wantsForwardedScrollEvents(for axis: NSEventGestureAxis) -> Bool func supplementalTarget(forAction action: Selector, sender sender: Any?) -> Any? func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? } extension NSResponder { func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) } extension NSResponder : CVarArg { } extension NSResponder : Equatable, Hashable { var hashValue: Int { get } } extension NSResponder { func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) } extension NSResponder { var undoManager: UndoManager? { get } } extension NSResponder { func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool } extension NSResponder { func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error } extension NSResponder { func performTextFinderAction(_ sender: Any?) } extension NSResponder { @IBAction func newWindowForTab(_ sender: Any?) } extension NSResponder { func performMnemonic(_ string: String) -> Bool } extension NSResponder { var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) } extension NSResponder { func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] } | CVarArg, Equatable, Hashable, NSCoding |
To | class NSResponder : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var nextResponder: NSResponder? func `try`(toPerform action: Selector, with object: Any?) -> Bool func performKeyEquivalent(with event: NSEvent) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseMoved(with event: NSEvent) func mouseDragged(with event: NSEvent) func scrollWheel(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func mouseEntered(with event: NSEvent) func mouseExited(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func tabletProximity(with event: NSEvent) func cursorUpdate(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func swipe(with event: NSEvent) func beginGesture(with event: NSEvent) func endGesture(with event: NSEvent) func smartMagnify(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) func quickLook(with event: NSEvent) func pressureChange(with event: NSEvent) func noResponder(for eventSelector: Selector) var acceptsFirstResponder: Bool { get } func becomeFirstResponder() -> Bool func resignFirstResponder() -> Bool func interpretKeyEvents(_ eventArray: [NSEvent]) func flushBufferedKeyEvents() var menu: NSMenu? func showContextHelp(_ sender: Any?) func helpRequested(_ eventPtr: NSEvent) func shouldBeTreatedAsInkEvent(_ event: NSEvent) -> Bool func wantsScrollEventsForSwipeTracking(on axis: NSEventGestureAxis) -> Bool func wantsForwardedScrollEvents(for axis: NSEventGestureAxis) -> Bool func supplementalTarget(forAction action: Selector, sender sender: Any?) -> Any? func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func awakeFromNib() func prepareForInterfaceBuilder() func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? } extension NSResponder { func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) } extension NSResponder : CVarArg { } extension NSResponder : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSResponder : Equatable, Hashable { var hashValue: Int { get } } extension NSResponder { func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) } extension NSResponder { var undoManager: UndoManager? { get } } extension NSResponder { func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool } extension NSResponder { func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error } extension NSResponder { func performTextFinderAction(_ sender: Any?) } extension NSResponder { @IBAction func newWindowForTab(_ sender: Any?) } extension NSResponder { func performMnemonic(_ string: String) -> Bool } extension NSResponder : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSResponder { var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) } extension NSResponder { func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] } | CVarArg, Equatable, Hashable, NSCoding, NSTouchBarProvider |
Modified NSRotationGestureRecognizer
Declaration | |
---|---|
From | class NSRotationGestureRecognizer : NSGestureRecognizer { var rotation: CGFloat var rotationInDegrees: CGFloat func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRotationGestureRecognizer : CVarArg { } extension NSRotationGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSRotationGestureRecognizer : NSGestureRecognizer { var rotation: CGFloat var rotationInDegrees: CGFloat func reset() func canPrevent(_ preventedGestureRecognizer: NSGestureRecognizer) -> Bool func canBePrevented(by preventingGestureRecognizer: NSGestureRecognizer) -> Bool func shouldRequireFailure(of otherGestureRecognizer: NSGestureRecognizer) -> Bool func shouldBeRequiredToFail(by otherGestureRecognizer: NSGestureRecognizer) -> Bool func mouseDown(with event: NSEvent) func rightMouseDown(with event: NSEvent) func otherMouseDown(with event: NSEvent) func mouseUp(with event: NSEvent) func rightMouseUp(with event: NSEvent) func otherMouseUp(with event: NSEvent) func mouseDragged(with event: NSEvent) func rightMouseDragged(with event: NSEvent) func otherMouseDragged(with event: NSEvent) func keyDown(with event: NSEvent) func keyUp(with event: NSEvent) func flagsChanged(with event: NSEvent) func tabletPoint(with event: NSEvent) func magnify(with event: NSEvent) func rotate(with event: NSEvent) func pressureChange(with event: NSEvent) func touchesBegan(with event: NSEvent) func touchesMoved(with event: NSEvent) func touchesEnded(with event: NSEvent) func touchesCancelled(with event: NSEvent) var allowedTouchTypes: NSTouchTypeMask func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRotationGestureRecognizer : CVarArg { } extension NSRotationGestureRecognizer : Equatable, Hashable { var hashValue: Int { get } } |
Modified NSRuleEditor
Declaration | Protocols | |
---|---|---|
From | class NSRuleEditor : NSControl { unowned(unsafe) var delegate: NSRuleEditorDelegate? var formattingStringsFilename: String? var formattingDictionary: [String : String]? func reloadCriteria() var nestingMode: NSRuleEditorNestingMode var rowHeight: CGFloat var isEditable: Bool var canRemoveAllRows: Bool var predicate: NSPredicate? { get } func reloadPredicate() func predicate(forRow row: Int) -> NSPredicate? var numberOfRows: Int { get } func subrowIndexes(forRow rowIndex: Int) -> IndexSet func criteria(forRow row: Int) -> [Any] func displayValues(forRow row: Int) -> [Any] func row(forDisplayValue displayValue: Any) -> Int func rowType(forRow rowIndex: Int) -> NSRuleEditorRowType func parentRow(forRow rowIndex: Int) -> Int func addRow(_ sender: Any?) func insertRow(at rowIndex: Int, with rowType: NSRuleEditorRowType, asSubrowOfRow parentRow: Int, animate shouldAnimate: Bool) func setCriteria(_ criteria: [Any], andDisplayValues values: [Any], forRowAt rowIndex: Int) func removeRow(at rowIndex: Int) func removeRows(at rowIndexes: IndexSet, includeSubrows includeSubrows: Bool) var selectedRowIndexes: IndexSet { get } func selectRowIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) var rowClass: Swift.AnyClass var rowTypeKeyPath: String var subrowsKeyPath: String var criteriaKeyPath: String var displayValuesKeyPath: String func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRuleEditor : CVarArg { } extension NSRuleEditor : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSRuleEditor : NSControl { unowned(unsafe) var delegate: NSRuleEditorDelegate? var formattingStringsFilename: String? var formattingDictionary: [String : String]? func reloadCriteria() var nestingMode: NSRuleEditorNestingMode var rowHeight: CGFloat var isEditable: Bool var canRemoveAllRows: Bool var predicate: NSPredicate? { get } func reloadPredicate() func predicate(forRow row: Int) -> NSPredicate? var numberOfRows: Int { get } func subrowIndexes(forRow rowIndex: Int) -> IndexSet func criteria(forRow row: Int) -> [Any] func displayValues(forRow row: Int) -> [Any] func row(forDisplayValue displayValue: Any) -> Int func rowType(forRow rowIndex: Int) -> NSRuleEditorRowType func parentRow(forRow rowIndex: Int) -> Int func addRow(_ sender: Any?) func insertRow(at rowIndex: Int, with rowType: NSRuleEditorRowType, asSubrowOfRow parentRow: Int, animate shouldAnimate: Bool) func setCriteria(_ criteria: [Any], andDisplayValues values: [Any], forRowAt rowIndex: Int) func removeRow(at rowIndex: Int) func removeRows(at rowIndexes: IndexSet, includeSubrows includeSubrows: Bool) var selectedRowIndexes: IndexSet { get } func selectRowIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) var rowClass: Swift.AnyClass var rowTypeKeyPath: String var subrowsKeyPath: String var criteriaKeyPath: String var displayValuesKeyPath: String func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRuleEditor : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSRuleEditor : CVarArg { } extension NSRuleEditor : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSRulerView
Declaration | Protocols | |
---|---|---|
From | class NSRulerView : NSView { class func registerUnit(withName unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [NSNumber], stepDownCycle stepDownCycle: [NSNumber]) init(coder coder: NSCoder) init(scrollView scrollView: NSScrollView?, orientation orientation: NSRulerOrientation) unowned(unsafe) var scrollView: NSScrollView? var orientation: NSRulerOrientation var baselineLocation: CGFloat { get } var requiredThickness: CGFloat { get } var ruleThickness: CGFloat var reservedThicknessForMarkers: CGFloat var reservedThicknessForAccessoryView: CGFloat var measurementUnits: String var originOffset: CGFloat unowned(unsafe) var clientView: NSView? func addMarker(_ marker: NSRulerMarker) func removeMarker(_ marker: NSRulerMarker) var markers: [NSRulerMarker]? func trackMarker(_ marker: NSRulerMarker, withMouseEvent event: NSEvent) -> Bool var accessoryView: NSView? func moveRulerline(fromLocation oldLocation: CGFloat, toLocation newLocation: CGFloat) func invalidateHashMarks() func drawHashMarksAndLabels(in rect: NSRect) func drawMarkers(in rect: NSRect) var isFlipped: Bool { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRulerView : CVarArg { } extension NSRulerView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSRulerView : NSView { class func registerUnit(withName unitName: String, abbreviation abbreviation: String, unitToPointsConversionFactor conversionFactor: CGFloat, stepUpCycle stepUpCycle: [NSNumber], stepDownCycle stepDownCycle: [NSNumber]) init(coder coder: NSCoder) init(scrollView scrollView: NSScrollView?, orientation orientation: NSRulerOrientation) unowned(unsafe) var scrollView: NSScrollView? var orientation: NSRulerOrientation var baselineLocation: CGFloat { get } var requiredThickness: CGFloat { get } var ruleThickness: CGFloat var reservedThicknessForMarkers: CGFloat var reservedThicknessForAccessoryView: CGFloat var measurementUnits: String var originOffset: CGFloat unowned(unsafe) var clientView: NSView? func addMarker(_ marker: NSRulerMarker) func removeMarker(_ marker: NSRulerMarker) var markers: [NSRulerMarker]? func trackMarker(_ marker: NSRulerMarker, withMouseEvent event: NSEvent) -> Bool var accessoryView: NSView? func moveRulerline(fromLocation oldLocation: CGFloat, toLocation newLocation: CGFloat) func invalidateHashMarks() func drawHashMarksAndLabels(in rect: NSRect) func drawMarkers(in rect: NSRect) var isFlipped: Bool { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSRulerView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSRulerView : CVarArg { } extension NSRulerView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSScroller
Declaration | Protocols | |
---|---|---|
From | class NSScroller : NSControl { class func isCompatibleWithOverlayScrollers() -> Bool class func scrollerWidth(for controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> CGFloat class func scrollerWidth(for controlSize: NSControlSize) -> CGFloat class func scrollerWidth() -> CGFloat class func preferredScrollerStyle() -> NSScrollerStyle var scrollerStyle: NSScrollerStyle var knobStyle: NSScrollerKnobStyle func drawParts() func rect(for partCode: NSScrollerPart) -> NSRect func checkSpaceForParts() var usableParts: NSUsableScrollerParts { get } var arrowsPosition: NSScrollArrowPosition var controlTint: NSControlTint var controlSize: NSControlSize func drawArrow(_ whichArrow: NSScrollerArrow, highlight flag: Bool) func drawKnob() func drawKnobSlot(in slotRect: NSRect, highlight flag: Bool) func highlight(_ flag: Bool) func testPart(_ point: NSPoint) -> NSScrollerPart func trackKnob(with event: NSEvent) func trackScrollButtons(with event: NSEvent) var hitPart: NSScrollerPart { get } var knobProportion: CGFloat func setFloatValue(_ value: Float, knobProportion proportion: CGFloat) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSScroller : CVarArg { } extension NSScroller : Equatable, Hashable { var hashValue: Int { get } } extension NSScroller { func setFloatValue(_ value: Float, knobProportion proportion: CGFloat) } | CVarArg, Equatable, Hashable |
To | class NSScroller : NSControl { class func isCompatibleWithOverlayScrollers() -> Bool class func scrollerWidth(for controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> CGFloat class func scrollerWidth(for controlSize: NSControlSize) -> CGFloat class func scrollerWidth() -> CGFloat class func preferredScrollerStyle() -> NSScrollerStyle var scrollerStyle: NSScrollerStyle var knobStyle: NSScrollerKnobStyle func drawParts() func rect(for partCode: NSScrollerPart) -> NSRect func checkSpaceForParts() var usableParts: NSUsableScrollerParts { get } var arrowsPosition: NSScrollArrowPosition var controlTint: NSControlTint var controlSize: NSControlSize func drawArrow(_ whichArrow: NSScrollerArrow, highlight flag: Bool) func drawKnob() func drawKnobSlot(in slotRect: NSRect, highlight flag: Bool) func highlight(_ flag: Bool) func testPart(_ point: NSPoint) -> NSScrollerPart func trackKnob(with event: NSEvent) func trackScrollButtons(with event: NSEvent) var hitPart: NSScrollerPart { get } var knobProportion: CGFloat func setFloatValue(_ value: Float, knobProportion proportion: CGFloat) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool } extension NSScroller : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSScroller : CVarArg { } extension NSScroller : Equatable, Hashable { var hashValue: Int { get } } extension NSScroller { func setFloatValue(_ value: Float, knobProportion proportion: CGFloat) } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSScrollView
Declaration | Protocols | |
---|---|---|
From | class NSScrollView : NSView, NSTextFinderBarContainer { init(frame frameRect: NSRect) init?(coder coder: NSCoder) class func frameSize(forContentSize cSize: NSSize, horizontalScrollerClass horizontalScrollerClass: Swift.AnyClass?, verticalScrollerClass verticalScrollerClass: Swift.AnyClass?, borderType type: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize class func contentSize(forFrameSize fSize: NSSize, horizontalScrollerClass horizontalScrollerClass: Swift.AnyClass?, verticalScrollerClass verticalScrollerClass: Swift.AnyClass?, borderType type: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize class func frameSize(forContentSize cSize: NSSize, hasHorizontalScroller hFlag: Bool, hasVerticalScroller vFlag: Bool, borderType type: NSBorderType) -> NSSize class func contentSize(forFrameSize fSize: NSSize, hasHorizontalScroller hFlag: Bool, hasVerticalScroller vFlag: Bool, borderType type: NSBorderType) -> NSSize var documentVisibleRect: NSRect { get } var contentSize: NSSize { get } unowned(unsafe) var documentView: NSView? var contentView: NSClipView var documentCursor: NSCursor? var borderType: NSBorderType @NSCopying var backgroundColor: NSColor var drawsBackground: Bool var hasVerticalScroller: Bool var hasHorizontalScroller: Bool var verticalScroller: NSScroller? var horizontalScroller: NSScroller? var autohidesScrollers: Bool var horizontalLineScroll: CGFloat var verticalLineScroll: CGFloat var lineScroll: CGFloat var horizontalPageScroll: CGFloat var verticalPageScroll: CGFloat var pageScroll: CGFloat var scrollsDynamically: Bool func tile() func reflectScrolledClipView(_ cView: NSClipView) func scrollWheel(with event: NSEvent) var scrollerStyle: NSScrollerStyle var scrollerKnobStyle: NSScrollerKnobStyle func flashScrollers() var horizontalScrollElasticity: NSScrollElasticity var verticalScrollElasticity: NSScrollElasticity var usesPredominantAxisScrolling: Bool var allowsMagnification: Bool var magnification: CGFloat var maxMagnification: CGFloat var minMagnification: CGFloat func magnify(toFit rect: NSRect) func setMagnification(_ magnification: CGFloat, centeredAt point: NSPoint) func addFloatingSubview(_ view: NSView, for axis: NSEventGestureAxis) var automaticallyAdjustsContentInsets: Bool var contentInsets: EdgeInsets var scrollerInsets: EdgeInsets class func setRulerViewClass(_ rulerViewClass: Swift.AnyClass?) class func rulerViewClass() -> Swift.AnyClass var rulersVisible: Bool var hasHorizontalRuler: Bool var hasVerticalRuler: Bool var horizontalRulerView: NSRulerView? var verticalRulerView: NSRulerView? var findBarPosition: NSScrollViewFindBarPosition var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func awakeFromNib() func prepareForInterfaceBuilder() } extension NSScrollView : CVarArg { } extension NSScrollView : Equatable, Hashable { var hashValue: Int { get } } extension NSScrollView { class func setRulerViewClass(_ rulerViewClass: Swift.AnyClass?) class func rulerViewClass() -> Swift.AnyClass var rulersVisible: Bool var hasHorizontalRuler: Bool var hasVerticalRuler: Bool var horizontalRulerView: NSRulerView? var verticalRulerView: NSRulerView? } extension NSScrollView { var findBarPosition: NSScrollViewFindBarPosition } | CVarArg, Equatable, Hashable, NSTextFinderBarContainer |
To | class NSScrollView : NSView, NSTextFinderBarContainer { init(frame frameRect: NSRect) init?(coder coder: NSCoder) class func frameSize(forContentSize cSize: NSSize, horizontalScrollerClass horizontalScrollerClass: Swift.AnyClass?, verticalScrollerClass verticalScrollerClass: Swift.AnyClass?, borderType type: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize class func contentSize(forFrameSize fSize: NSSize, horizontalScrollerClass horizontalScrollerClass: Swift.AnyClass?, verticalScrollerClass verticalScrollerClass: Swift.AnyClass?, borderType type: NSBorderType, controlSize controlSize: NSControlSize, scrollerStyle scrollerStyle: NSScrollerStyle) -> NSSize class func frameSize(forContentSize cSize: NSSize, hasHorizontalScroller hFlag: Bool, hasVerticalScroller vFlag: Bool, borderType type: NSBorderType) -> NSSize class func contentSize(forFrameSize fSize: NSSize, hasHorizontalScroller hFlag: Bool, hasVerticalScroller vFlag: Bool, borderType type: NSBorderType) -> NSSize var documentVisibleRect: NSRect { get } var contentSize: NSSize { get } unowned(unsafe) var documentView: NSView? var contentView: NSClipView var documentCursor: NSCursor? var borderType: NSBorderType @NSCopying var backgroundColor: NSColor var drawsBackground: Bool var hasVerticalScroller: Bool var hasHorizontalScroller: Bool var verticalScroller: NSScroller? var horizontalScroller: NSScroller? var autohidesScrollers: Bool var horizontalLineScroll: CGFloat var verticalLineScroll: CGFloat var lineScroll: CGFloat var horizontalPageScroll: CGFloat var verticalPageScroll: CGFloat var pageScroll: CGFloat var scrollsDynamically: Bool func tile() func reflectScrolledClipView(_ cView: NSClipView) func scrollWheel(with event: NSEvent) var scrollerStyle: NSScrollerStyle var scrollerKnobStyle: NSScrollerKnobStyle func flashScrollers() var horizontalScrollElasticity: NSScrollElasticity var verticalScrollElasticity: NSScrollElasticity var usesPredominantAxisScrolling: Bool var allowsMagnification: Bool var magnification: CGFloat var maxMagnification: CGFloat var minMagnification: CGFloat func magnify(toFit rect: NSRect) func setMagnification(_ magnification: CGFloat, centeredAt point: NSPoint) func addFloatingSubview(_ view: NSView, for axis: NSEventGestureAxis) var automaticallyAdjustsContentInsets: Bool var contentInsets: EdgeInsets var scrollerInsets: EdgeInsets class func setRulerViewClass(_ rulerViewClass: Swift.AnyClass?) class func rulerViewClass() -> Swift.AnyClass var rulersVisible: Bool var hasHorizontalRuler: Bool var hasVerticalRuler: Bool var horizontalRulerView: NSRulerView? var verticalRulerView: NSRulerView? var findBarPosition: NSScrollViewFindBarPosition var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool } extension NSScrollView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSScrollView : CVarArg { } extension NSScrollView : Equatable, Hashable { var hashValue: Int { get } } extension NSScrollView { class func setRulerViewClass(_ rulerViewClass: Swift.AnyClass?) class func rulerViewClass() -> Swift.AnyClass var rulersVisible: Bool var hasHorizontalRuler: Bool var hasVerticalRuler: Bool var horizontalRulerView: NSRulerView? var verticalRulerView: NSRulerView? } extension NSScrollView { var findBarPosition: NSScrollViewFindBarPosition } | CVarArg, Equatable, Hashable, NSTextFinderBarContainer, NSTouchBarProvider |
Modified NSSearchField
Declaration | Protocols | |
---|---|---|
From | class NSSearchField : NSTextField { func rectForSearchText(whenCentered isCentered: Bool) -> NSRect func rectForSearchButton(whenCentered isCentered: Bool) -> NSRect func rectForCancelButton(whenCentered isCentered: Bool) -> NSRect var recentSearches: [String] var recentsAutosaveName: String? var searchMenuTemplate: NSMenu? var sendsWholeSearchString: Bool var maximumRecents: Int var sendsSearchStringImmediately: Bool unowned(unsafe) var delegate: NSSearchFieldDelegate? var centersPlaceholder: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSearchField : CVarArg { } extension NSSearchField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSSearchField : NSTextField { func rectForSearchText(whenCentered isCentered: Bool) -> NSRect func rectForSearchButton(whenCentered isCentered: Bool) -> NSRect func rectForCancelButton(whenCentered isCentered: Bool) -> NSRect var recentSearches: [String] var recentsAutosaveName: String? var searchMenuTemplate: NSMenu? var sendsWholeSearchString: Bool var maximumRecents: Int var sendsSearchStringImmediately: Bool unowned(unsafe) var delegate: NSSearchFieldDelegate? var centersPlaceholder: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self var isAutomaticTextCompletionEnabled: Bool var allowsCharacterPickerTouchBarItem: Bool func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSearchField : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSSearchField : CVarArg { } extension NSSearchField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSSecureTextField
Declaration | Protocols | |
---|---|---|
From | class NSSecureTextField : NSTextField { func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSecureTextField : CVarArg { } extension NSSecureTextField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSSecureTextField : NSTextField { func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self var isAutomaticTextCompletionEnabled: Bool var allowsCharacterPickerTouchBarItem: Bool func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSSecureTextField : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSSecureTextField : CVarArg { } extension NSSecureTextField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSSegmentedControl
Declaration | Protocols | |
---|---|---|
From | class NSSegmentedControl : NSControl { var segmentCount: Int var selectedSegment: Int func selectSegment(withTag tag: Int) -> Bool func setWidth(_ width: CGFloat, forSegment segment: Int) func width(forSegment segment: Int) -> CGFloat func setImage(_ image: NSImage?, forSegment segment: Int) func image(forSegment segment: Int) -> NSImage? func setImageScaling(_ scaling: NSImageScaling, forSegment segment: Int) func imageScaling(forSegment segment: Int) -> NSImageScaling func setLabel(_ label: String, forSegment segment: Int) func label(forSegment segment: Int) -> String? func setMenu(_ menu: NSMenu?, forSegment segment: Int) func menu(forSegment segment: Int) -> NSMenu? func setSelected(_ selected: Bool, forSegment segment: Int) func isSelected(forSegment segment: Int) -> Bool func setEnabled(_ enabled: Bool, forSegment segment: Int) func isEnabled(forSegment segment: Int) -> Bool var segmentStyle: NSSegmentStyle var isSpringLoaded: Bool var trackingMode: NSSegmentSwitchTracking var doubleValueForSelectedSegment: Double { get } convenience init(labels labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withLabels(_ labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self convenience init(images images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withImages(_ images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSSegmentedControl : CVarArg { } extension NSSegmentedControl : Equatable, Hashable { var hashValue: Int { get } } extension NSSegmentedControl { convenience init(labels labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withLabels(_ labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self convenience init(images images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withImages(_ images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self } | CVarArg, Equatable, Hashable |
To | class NSSegmentedControl : NSControl { var segmentCount: Int var selectedSegment: Int func selectSegment(withTag tag: Int) -> Bool func setWidth(_ width: CGFloat, forSegment segment: Int) func width(forSegment segment: Int) -> CGFloat func setImage(_ image: NSImage?, forSegment segment: Int) func image(forSegment segment: Int) -> NSImage? func setImageScaling(_ scaling: NSImageScaling, forSegment segment: Int) func imageScaling(forSegment segment: Int) -> NSImageScaling func setLabel(_ label: String, forSegment segment: Int) func label(forSegment segment: Int) -> String? func setMenu(_ menu: NSMenu?, forSegment segment: Int) func menu(forSegment segment: Int) -> NSMenu? func setSelected(_ selected: Bool, forSegment segment: Int) func isSelected(forSegment segment: Int) -> Bool func setEnabled(_ enabled: Bool, forSegment segment: Int) func isEnabled(forSegment segment: Int) -> Bool var segmentStyle: NSSegmentStyle var isSpringLoaded: Bool var trackingMode: NSSegmentSwitchTracking var doubleValueForSelectedSegment: Double { get } @NSCopying var selectedSegmentBezelColor: NSColor? convenience init(labels labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withLabels(_ labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self convenience init(images images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withImages(_ images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool } extension NSSegmentedControl : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSSegmentedControl : CVarArg { } extension NSSegmentedControl : Equatable, Hashable { var hashValue: Int { get } } extension NSSegmentedControl { convenience init(labels labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withLabels(_ labels: [String], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self convenience init(images images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) class func withImages(_ images: [NSImage], trackingMode trackingMode: NSSegmentSwitchTracking, target target: Any?, action action: Selector?) -> Self } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSSlider
Declaration | Protocols | |
---|---|---|
From | class NSSlider : NSControl, NSAccessibilitySlider { var sliderType: NSSliderType var minValue: Double var maxValue: Double var altIncrementValue: Double var knobThickness: CGFloat { get } func acceptsFirstMouse(for event: NSEvent?) -> Bool var isVertical: Bool var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func indexOfTickMark(at point: NSPoint) -> Int func closestTickMarkValue(toValue value: Double) -> Double convenience init(target target: Any?, action action: Selector?) class func withTarget(_ target: Any?, action action: Selector?) -> Self convenience init(value value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) class func withValue(_ value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) -> Self func setTitleCell(_ cell: NSCell!) func titleCell() -> Any! func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ string: String!) func setKnobThickness(_ thickness: CGFloat) func setImage(_ backgroundImage: NSImage!) func image() -> NSImage! var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) } extension NSSlider : CVarArg { } extension NSSlider : Equatable, Hashable { var hashValue: Int { get } } extension NSSlider { var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func indexOfTickMark(at point: NSPoint) -> Int func closestTickMarkValue(toValue value: Double) -> Double } extension NSSlider { convenience init(target target: Any?, action action: Selector?) class func withTarget(_ target: Any?, action action: Selector?) -> Self convenience init(value value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) class func withValue(_ value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) -> Self } extension NSSlider { func setTitleCell(_ cell: NSCell!) func titleCell() -> Any! func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ string: String!) func setKnobThickness(_ thickness: CGFloat) func setImage(_ backgroundImage: NSImage!) func image() -> NSImage! } | CVarArg, Equatable, Hashable, NSAccessibilitySlider |
To | class NSSlider : NSControl, NSAccessibilitySlider { var sliderType: NSSliderType var minValue: Double var maxValue: Double var altIncrementValue: Double var knobThickness: CGFloat { get } func acceptsFirstMouse(for event: NSEvent?) -> Bool var isVertical: Bool @NSCopying var trackFillColor: NSColor? var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func indexOfTickMark(at point: NSPoint) -> Int func closestTickMarkValue(toValue value: Double) -> Double convenience init(target target: Any?, action action: Selector?) class func withTarget(_ target: Any?, action action: Selector?) -> Self convenience init(value value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) class func withValue(_ value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) -> Self func setTitleCell(_ cell: NSCell!) func titleCell() -> Any! func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ string: String!) func setKnobThickness(_ thickness: CGFloat) func setImage(_ backgroundImage: NSImage!) func image() -> NSImage! var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSSlider : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSSlider : CVarArg { } extension NSSlider : Equatable, Hashable { var hashValue: Int { get } } extension NSSlider { var numberOfTickMarks: Int var tickMarkPosition: NSTickMarkPosition var allowsTickMarkValuesOnly: Bool func tickMarkValue(at index: Int) -> Double func rectOfTickMark(at index: Int) -> NSRect func indexOfTickMark(at point: NSPoint) -> Int func closestTickMarkValue(toValue value: Double) -> Double } extension NSSlider { convenience init(target target: Any?, action action: Selector?) class func withTarget(_ target: Any?, action action: Selector?) -> Self convenience init(value value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) class func withValue(_ value: Double, minValue minValue: Double, maxValue maxValue: Double, target target: Any?, action action: Selector?) -> Self } extension NSSlider { func setTitleCell(_ cell: NSCell!) func titleCell() -> Any! func setTitleColor(_ newColor: NSColor!) func titleColor() -> NSColor! func setTitleFont(_ fontObj: NSFont!) func titleFont() -> NSFont! func title() -> String! func setTitle(_ string: String!) func setKnobThickness(_ thickness: CGFloat) func setImage(_ backgroundImage: NSImage!) func image() -> NSImage! } | CVarArg, Equatable, Hashable, NSAccessibilitySlider, NSTouchBarProvider |
Modified NSSpellChecker
Declaration | |
---|---|
From | class NSSpellChecker : NSObject { class func shared() -> NSSpellChecker class func sharedSpellCheckerExists() -> Bool class func uniqueSpellDocumentTag() -> Int func checkSpelling(of stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, wordCount wordCount: UnsafeMutablePointer<Int>?) -> NSRange func checkSpelling(of stringToCheck: String, startingAt startingOffset: Int) -> NSRange func countWords(in stringToCount: String, language language: String?) -> Int func checkGrammar(of stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, details details: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> NSRange func check(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, orthography orthography: AutoreleasingUnsafeMutablePointer<NSOrthography?>?, wordCount wordCount: UnsafeMutablePointer<Int>?) -> [NSTextCheckingResult] func requestChecking(of stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: (@escaping (Int, [NSTextCheckingResult], NSOrthography, Int) -> Swift.Void)? = nil) -> Int func menu(for result: NSTextCheckingResult, string checkedString: String, options options: [String : Any]? = nil, atLocation location: NSPoint, in view: NSView) -> NSMenu? func userQuotesArray(forLanguage language: String) -> [String] var userReplacementsDictionary: [String : String] { get } func updateSpellingPanel(withMisspelledWord word: String) func updateSpellingPanel(withGrammarString string: String, detail detail: [String : Any]) var spellingPanel: NSPanel { get } var accessoryView: NSView? var substitutionsPanel: NSPanel { get } var substitutionsPanelAccessoryViewController: NSViewController? func updatePanels() func ignoreWord(_ wordToIgnore: String, inSpellDocumentWithTag tag: Int) func ignoredWords(inSpellDocumentWithTag tag: Int) -> [String]? func setIgnoredWords(_ words: [String], inSpellDocumentWithTag tag: Int) func guesses(forWordRange range: NSRange, in string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? func correction(forWordRange range: NSRange, in string: String, language language: String, inSpellDocumentWithTag tag: Int) -> String? func completions(forPartialWordRange range: NSRange, in string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? func language(forWordRange range: NSRange, in string: String, orthography orthography: NSOrthography?) -> String? func closeSpellDocument(withTag tag: Int) func record(_ response: NSCorrectionResponse, toCorrection correction: String, forWord word: String, language language: String?, inSpellDocumentWithTag tag: Int) func showCorrectionIndicator(of type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringIn rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: (@escaping (String!) -> Swift.Void)? = nil) func dismissCorrectionIndicator(for view: NSView) func preventsAutocorrection(before string: String, language language: String?) -> Bool var availableLanguages: [String] { get } var userPreferredLanguages: [String] { get } var automaticallyIdentifiesLanguages: Bool func setWordFieldStringValue(_ string: String) func learnWord(_ word: String) func hasLearnedWord(_ word: String) -> Bool func unlearnWord(_ word: String) class func isAutomaticTextReplacementEnabled() -> Bool class func isAutomaticSpellingCorrectionEnabled() -> Bool class func isAutomaticQuoteSubstitutionEnabled() -> Bool class func isAutomaticDashSubstitutionEnabled() -> Bool class func isAutomaticCapitalizationEnabled() -> Bool class func isAutomaticPeriodSubstitutionEnabled() -> Bool func language() -> String func setLanguage(_ language: String) -> Bool func guesses(forWord word: String!) -> [Any]! func forgetWord(_ word: String!) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSSpellChecker : CVarArg { } extension NSSpellChecker : Equatable, Hashable { var hashValue: Int { get } } extension NSSpellChecker { func guesses(forWord word: String!) -> [Any]! func forgetWord(_ word: String!) } |
To | class NSSpellChecker : NSObject { class func shared() -> NSSpellChecker class func sharedSpellCheckerExists() -> Bool class func uniqueSpellDocumentTag() -> Int func checkSpelling(of stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, wordCount wordCount: UnsafeMutablePointer<Int>?) -> NSRange func checkSpelling(of stringToCheck: String, startingAt startingOffset: Int) -> NSRange func countWords(in stringToCount: String, language language: String?) -> Int func checkGrammar(of stringToCheck: String, startingAt startingOffset: Int, language language: String?, wrap wrapFlag: Bool, inSpellDocumentWithTag tag: Int, details details: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> NSRange func check(_ stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, orthography orthography: AutoreleasingUnsafeMutablePointer<NSOrthography?>?, wordCount wordCount: UnsafeMutablePointer<Int>?) -> [NSTextCheckingResult] func requestChecking(of stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: ((Int, [NSTextCheckingResult], NSOrthography, Int) -> Swift.Void)? = nil) -> Int func requestCandidates(forSelectedRange selectedRange: NSRange, in stringToCheck: String, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: ((Int, [NSTextCheckingResult]) -> Swift.Void)? = nil) -> Int func menu(for result: NSTextCheckingResult, string checkedString: String, options options: [String : Any]? = nil, atLocation location: NSPoint, in view: NSView) -> NSMenu? func userQuotesArray(forLanguage language: String) -> [String] var userReplacementsDictionary: [String : String] { get } func updateSpellingPanel(withMisspelledWord word: String) func updateSpellingPanel(withGrammarString string: String, detail detail: [String : Any]) var spellingPanel: NSPanel { get } var accessoryView: NSView? var substitutionsPanel: NSPanel { get } var substitutionsPanelAccessoryViewController: NSViewController? func updatePanels() func ignoreWord(_ wordToIgnore: String, inSpellDocumentWithTag tag: Int) func ignoredWords(inSpellDocumentWithTag tag: Int) -> [String]? func setIgnoredWords(_ words: [String], inSpellDocumentWithTag tag: Int) func guesses(forWordRange range: NSRange, in string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? func correction(forWordRange range: NSRange, in string: String, language language: String, inSpellDocumentWithTag tag: Int) -> String? func completions(forPartialWordRange range: NSRange, in string: String, language language: String?, inSpellDocumentWithTag tag: Int) -> [String]? func language(forWordRange range: NSRange, in string: String, orthography orthography: NSOrthography?) -> String? func closeSpellDocument(withTag tag: Int) func record(_ response: NSCorrectionResponse, toCorrection correction: String, forWord word: String, language language: String?, inSpellDocumentWithTag tag: Int) func showCorrectionIndicator(of type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringIn rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: ((String!) -> Swift.Void)? = nil) func dismissCorrectionIndicator(for view: NSView) func preventsAutocorrection(before string: String, language language: String?) -> Bool func deletesAutospaceBetweenString(_ precedingString: String, andString followingString: String, language language: String?) -> Bool var availableLanguages: [String] { get } var userPreferredLanguages: [String] { get } var automaticallyIdentifiesLanguages: Bool func setWordFieldStringValue(_ string: String) func learnWord(_ word: String) func hasLearnedWord(_ word: String) -> Bool func unlearnWord(_ word: String) class func isAutomaticTextReplacementEnabled() -> Bool class func isAutomaticSpellingCorrectionEnabled() -> Bool class func isAutomaticQuoteSubstitutionEnabled() -> Bool class func isAutomaticDashSubstitutionEnabled() -> Bool class func isAutomaticCapitalizationEnabled() -> Bool class func isAutomaticPeriodSubstitutionEnabled() -> Bool class func isAutomaticTextCompletionEnabled() -> Bool func language() -> String func setLanguage(_ language: String) -> Bool func guesses(forWord word: String!) -> [Any]! func forgetWord(_ word: String!) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSSpellChecker : CVarArg { } extension NSSpellChecker : Equatable, Hashable { var hashValue: Int { get } } extension NSSpellChecker { func guesses(forWord word: String!) -> [Any]! func forgetWord(_ word: String!) } |
Declaration | |
---|---|
From | func requestChecking(of stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: (@escaping (Int, [NSTextCheckingResult], NSOrthography, Int) -> Swift.Void)? = nil) -> Int |
To | func requestChecking(of stringToCheck: String, range range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any]? = nil, inSpellDocumentWithTag tag: Int, completionHandler completionHandler: ((Int, [NSTextCheckingResult], NSOrthography, Int) -> Swift.Void)? = nil) -> Int |
Declaration | |
---|---|
From | func showCorrectionIndicator(of type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringIn rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: (@escaping (String!) -> Swift.Void)? = nil) |
To | func showCorrectionIndicator(of type: NSCorrectionIndicatorType, primaryString primaryString: String, alternativeStrings alternativeStrings: [String], forStringIn rectOfTypedString: NSRect, view view: NSView, completionHandler completionBlock: ((String!) -> Swift.Void)? = nil) |
Modified NSSplitView
Declaration | Protocols | |
---|---|---|
From | class NSSplitView : NSView { var isVertical: Bool var dividerStyle: NSSplitViewDividerStyle var autosaveName: String? weak var delegate: NSSplitViewDelegate? func drawDivider(in rect: NSRect) @NSCopying var dividerColor: NSColor { get } var dividerThickness: CGFloat { get } func adjustSubviews() func isSubviewCollapsed(_ subview: NSView) -> Bool func minPossiblePositionOfDivider(at dividerIndex: Int) -> CGFloat func maxPossiblePositionOfDivider(at dividerIndex: Int) -> CGFloat func setPosition(_ position: CGFloat, ofDividerAt dividerIndex: Int) func holdingPriorityForSubview(at subviewIndex: Int) -> NSLayoutPriority func setHoldingPriority(_ priority: NSLayoutPriority, forSubviewAt subviewIndex: Int) var arrangesAllSubviews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) func setIsPaneSplitter(_ flag: Bool) func isPaneSplitter() -> Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func awakeFromNib() func prepareForInterfaceBuilder() } extension NSSplitView : CVarArg { } extension NSSplitView : Equatable, Hashable { var hashValue: Int { get } } extension NSSplitView { var arrangesAllSubviews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) } extension NSSplitView { func setIsPaneSplitter(_ flag: Bool) func isPaneSplitter() -> Bool } | CVarArg, Equatable, Hashable |
To | class NSSplitView : NSView { var isVertical: Bool var dividerStyle: NSSplitViewDividerStyle var autosaveName: String? weak var delegate: NSSplitViewDelegate? func drawDivider(in rect: NSRect) @NSCopying var dividerColor: NSColor { get } var dividerThickness: CGFloat { get } func adjustSubviews() func isSubviewCollapsed(_ subview: NSView) -> Bool func minPossiblePositionOfDivider(at dividerIndex: Int) -> CGFloat func maxPossiblePositionOfDivider(at dividerIndex: Int) -> CGFloat func setPosition(_ position: CGFloat, ofDividerAt dividerIndex: Int) func holdingPriorityForSubview(at subviewIndex: Int) -> NSLayoutPriority func setHoldingPriority(_ priority: NSLayoutPriority, forSubviewAt subviewIndex: Int) var arrangesAllSubviews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) func setIsPaneSplitter(_ flag: Bool) func isPaneSplitter() -> Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool } extension NSSplitView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSSplitView : CVarArg { } extension NSSplitView : Equatable, Hashable { var hashValue: Int { get } } extension NSSplitView { var arrangesAllSubviews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) } extension NSSplitView { func setIsPaneSplitter(_ flag: Bool) func isPaneSplitter() -> Bool } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSSplitViewController
Declaration | Protocols | |
---|---|---|
From | class NSSplitViewController : NSViewController, NSSplitViewDelegate { var splitView: NSSplitView var splitViewItems: [NSSplitViewItem] func addSplitViewItem(_ splitViewItem: NSSplitViewItem) func insertSplitViewItem(_ splitViewItem: NSSplitViewItem, at index: Int) func removeSplitViewItem(_ splitViewItem: NSSplitViewItem) func splitViewItem(for viewController: NSViewController) -> NSSplitViewItem? var minimumThicknessForInlineSidebars: CGFloat func viewDidLoad() func splitView(_ splitView: NSSplitView, canCollapseSubview subview: NSView) -> Bool func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAt dividerIndex: Int) -> Bool func splitView(_ splitView: NSSplitView, shouldHideDividerAt dividerIndex: Int) -> Bool func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAt dividerIndex: Int) -> NSRect func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAt dividerIndex: Int) -> NSRect @IBAction func toggleSidebar(_ sender: Any?) var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) var storyboard: NSStoryboard? { get } func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String } extension NSSplitViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSSplitViewController : CVarArg { } extension NSSplitViewController : Equatable, Hashable { var hashValue: Int { get } } extension NSSplitViewController { @IBAction func toggleSidebar(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, NSSplitViewDelegate |
To | class NSSplitViewController : NSViewController, NSSplitViewDelegate { var splitView: NSSplitView var splitViewItems: [NSSplitViewItem] func addSplitViewItem(_ splitViewItem: NSSplitViewItem) func insertSplitViewItem(_ splitViewItem: NSSplitViewItem, at index: Int) func removeSplitViewItem(_ splitViewItem: NSSplitViewItem) func splitViewItem(for viewController: NSViewController) -> NSSplitViewItem? var minimumThicknessForInlineSidebars: CGFloat func viewDidLoad() func splitView(_ splitView: NSSplitView, canCollapseSubview subview: NSView) -> Bool func splitView(_ splitView: NSSplitView, shouldCollapseSubview subview: NSView, forDoubleClickOnDividerAt dividerIndex: Int) -> Bool func splitView(_ splitView: NSSplitView, shouldHideDividerAt dividerIndex: Int) -> Bool func splitView(_ splitView: NSSplitView, effectiveRect proposedEffectiveRect: NSRect, forDrawnRect drawnRect: NSRect, ofDividerAt dividerIndex: Int) -> NSRect func splitView(_ splitView: NSSplitView, additionalEffectiveRectOfDividerAt dividerIndex: Int) -> NSRect @IBAction func toggleSidebar(_ sender: Any?) var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (() -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) var storyboard: NSStoryboard? { get } func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String } extension NSSplitViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSSplitViewController : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSSplitViewController : CVarArg { } extension NSSplitViewController : Equatable, Hashable { var hashValue: Int { get } } extension NSSplitViewController { @IBAction func toggleSidebar(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, NSSplitViewDelegate, NSTouchBarProvider |
Modified NSStackView
Declaration | Protocols | |
---|---|---|
From | class NSStackView : NSView { convenience init(views views: [NSView]) class func withViews(_ views: [NSView]) -> Self weak var delegate: NSStackViewDelegate? var orientation: NSUserInterfaceLayoutOrientation var alignment: NSLayoutAttribute var edgeInsets: EdgeInsets var distribution: NSStackViewDistribution var spacing: CGFloat func setCustomSpacing(_ spacing: CGFloat, after view: NSView) func customSpacing(after view: NSView) -> CGFloat var detachesHiddenViews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) var detachedViews: [NSView] { get } func setVisibilityPriority(_ priority: NSStackViewVisibilityPriority, for view: NSView) func visibilityPriority(for view: NSView) -> NSStackViewVisibilityPriority func clippingResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setClippingResistancePriority(_ clippingResistancePriority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func huggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setHuggingPriority(_ huggingPriority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func addView(_ view: NSView, in gravity: NSStackViewGravity) func insertView(_ view: NSView, at index: Int, in gravity: NSStackViewGravity) func removeView(_ view: NSView) func views(in gravity: NSStackViewGravity) -> [NSView] func setViews(_ views: [NSView], in gravity: NSStackViewGravity) var views: [NSView] { get } var hasEqualSpacing: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func awakeFromNib() func prepareForInterfaceBuilder() } extension NSStackView : CVarArg { } extension NSStackView : Equatable, Hashable { var hashValue: Int { get } } extension NSStackView { func addView(_ view: NSView, in gravity: NSStackViewGravity) func insertView(_ view: NSView, at index: Int, in gravity: NSStackViewGravity) func removeView(_ view: NSView) func views(in gravity: NSStackViewGravity) -> [NSView] func setViews(_ views: [NSView], in gravity: NSStackViewGravity) var views: [NSView] { get } } extension NSStackView { var hasEqualSpacing: Bool } | CVarArg, Equatable, Hashable |
To | class NSStackView : NSView { convenience init(views views: [NSView]) class func withViews(_ views: [NSView]) -> Self weak var delegate: NSStackViewDelegate? var orientation: NSUserInterfaceLayoutOrientation var alignment: NSLayoutAttribute var edgeInsets: EdgeInsets var distribution: NSStackViewDistribution var spacing: CGFloat func setCustomSpacing(_ spacing: CGFloat, after view: NSView) func customSpacing(after view: NSView) -> CGFloat var detachesHiddenViews: Bool var arrangedSubviews: [NSView] { get } func addArrangedSubview(_ view: NSView) func insertArrangedSubview(_ view: NSView, at index: Int) func removeArrangedSubview(_ view: NSView) var detachedViews: [NSView] { get } func setVisibilityPriority(_ priority: NSStackViewVisibilityPriority, for view: NSView) func visibilityPriority(for view: NSView) -> NSStackViewVisibilityPriority func clippingResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setClippingResistancePriority(_ clippingResistancePriority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func huggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setHuggingPriority(_ huggingPriority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func addView(_ view: NSView, in gravity: NSStackViewGravity) func insertView(_ view: NSView, at index: Int, in gravity: NSStackViewGravity) func removeView(_ view: NSView) func views(in gravity: NSStackViewGravity) -> [NSView] func setViews(_ views: [NSView], in gravity: NSStackViewGravity) var views: [NSView] { get } var hasEqualSpacing: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var pressureConfiguration: NSPressureConfiguration? func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool } extension NSStackView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSStackView : CVarArg { } extension NSStackView : Equatable, Hashable { var hashValue: Int { get } } extension NSStackView { func addView(_ view: NSView, in gravity: NSStackViewGravity) func insertView(_ view: NSView, at index: Int, in gravity: NSStackViewGravity) func removeView(_ view: NSView) func views(in gravity: NSStackViewGravity) -> [NSView] func setViews(_ views: [NSView], in gravity: NSStackViewGravity) var views: [NSView] { get } } extension NSStackView { var hasEqualSpacing: Bool } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSStatusBarButton
Declaration | Protocols | |
---|---|---|
From | class NSStatusBarButton : NSButton { var appearsDisabled: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) var sound: NSSound? var showsBorderOnlyWhileMouseInside: Bool var allowsMixedState: Bool func setNextState() var bezelStyle: NSBezelStyle @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStatusBarButton : CVarArg { } extension NSStatusBarButton : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSStatusBarButton : NSButton { var appearsDisabled: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) var sound: NSSound? var showsBorderOnlyWhileMouseInside: Bool var allowsMixedState: Bool func setNextState() var bezelStyle: NSBezelStyle @NSCopying var attributedTitle: NSAttributedString @NSCopying var attributedAlternateTitle: NSAttributedString convenience init(title title: String, image image: NSImage, target target: Any?, action action: Selector?) class func withTitle(_ title: String, image image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(title title: String, target target: Any?, action action: Selector?) class func withTitle(_ title: String, target target: Any?, action action: Selector?) -> Self convenience init(image image: NSImage, target target: Any?, action action: Selector?) class func withImage(_ image: NSImage, target target: Any?, action action: Selector?) -> Self convenience init(checkboxWithTitle title: String, target target: Any?, action action: Selector?) class func checkbox(withTitle title: String, target target: Any?, action action: Selector?) -> Self convenience init(radioButtonWithTitle title: String, target target: Any?, action action: Selector?) class func radioButton(withTitle title: String, target target: Any?, action action: Selector?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStatusBarButton : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSStatusBarButton : CVarArg { } extension NSStatusBarButton : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSStepper
Declaration | Protocols | |
---|---|---|
From | class NSStepper : NSControl, NSAccessibilityStepper { var minValue: Double var maxValue: Double var increment: Double var valueWraps: Bool var autorepeat: Bool func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStepper : CVarArg { } extension NSStepper : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityStepper |
To | class NSStepper : NSControl, NSAccessibilityStepper { var minValue: Double var maxValue: Double var increment: Double var valueWraps: Bool var autorepeat: Bool func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSStepper : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSStepper : CVarArg { } extension NSStepper : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityStepper, NSTouchBarProvider |
Modified NSTableCellView
Declaration | Protocols | |
---|---|---|
From | class NSTableCellView : NSView { var objectValue: Any? @IBOutlet unowned(unsafe) var textField: NSTextField? @IBOutlet unowned(unsafe) var imageView: NSImageView? var backgroundStyle: NSBackgroundStyle var rowSizeStyle: NSTableViewRowSizeStyle var draggingImageComponents: [NSDraggingImageComponent] { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableCellView : CVarArg { } extension NSTableCellView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSTableCellView : NSView { var objectValue: Any? @IBOutlet unowned(unsafe) var textField: NSTextField? @IBOutlet unowned(unsafe) var imageView: NSImageView? var backgroundStyle: NSBackgroundStyle var rowSizeStyle: NSTableViewRowSizeStyle var draggingImageComponents: [NSDraggingImageComponent] { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableCellView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTableCellView : CVarArg { } extension NSTableCellView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSTableHeaderView
Declaration | Protocols | |
---|---|---|
From | class NSTableHeaderView : NSView { unowned(unsafe) var tableView: NSTableView? var draggedColumn: Int { get } var draggedDistance: CGFloat { get } var resizedColumn: Int { get } func headerRect(ofColumn column: Int) -> NSRect func column(at point: NSPoint) -> Int var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableHeaderView : CVarArg { } extension NSTableHeaderView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSTableHeaderView : NSView { unowned(unsafe) var tableView: NSTableView? var draggedColumn: Int { get } var draggedDistance: CGFloat { get } var resizedColumn: Int { get } func headerRect(ofColumn column: Int) -> NSRect func column(at point: NSPoint) -> Int var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableHeaderView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTableHeaderView : CVarArg { } extension NSTableHeaderView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSTableRowView
Declaration | Protocols | |
---|---|---|
From | class NSTableRowView : NSView, NSAccessibilityRow { var selectionHighlightStyle: NSTableViewSelectionHighlightStyle var isEmphasized: Bool var isGroupRowStyle: Bool var isSelected: Bool var isPreviousRowSelected: Bool var isNextRowSelected: Bool var isFloating: Bool var isTargetForDropOperation: Bool var draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle var indentationForDropOperation: CGFloat var interiorBackgroundStyle: NSBackgroundStyle { get } @NSCopying var backgroundColor: NSColor func drawBackground(in dirtyRect: NSRect) func drawSelection(in dirtyRect: NSRect) func drawSeparator(in dirtyRect: NSRect) func drawDraggingDestinationFeedback(in dirtyRect: NSRect) func view(atColumn column: Int) -> Any? var numberOfColumns: Int { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableRowView : CVarArg { } extension NSTableRowView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityRow |
To | class NSTableRowView : NSView, NSAccessibilityRow { var selectionHighlightStyle: NSTableViewSelectionHighlightStyle var isEmphasized: Bool var isGroupRowStyle: Bool var isSelected: Bool var isPreviousRowSelected: Bool var isNextRowSelected: Bool var isFloating: Bool var isTargetForDropOperation: Bool var draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle var indentationForDropOperation: CGFloat var interiorBackgroundStyle: NSBackgroundStyle { get } @NSCopying var backgroundColor: NSColor func drawBackground(in dirtyRect: NSRect) func drawSelection(in dirtyRect: NSRect) func drawSeparator(in dirtyRect: NSRect) func drawDraggingDestinationFeedback(in dirtyRect: NSRect) func view(atColumn column: Int) -> Any? var numberOfColumns: Int { get } var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTableRowView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTableRowView : CVarArg { } extension NSTableRowView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAccessibilityRow, NSTouchBarProvider |
Modified NSTableView
Declaration | Protocols | |
---|---|---|
From | class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable { init(frame frameRect: NSRect) init?(coder coder: NSCoder) weak var dataSource: NSTableViewDataSource? weak var delegate: NSTableViewDelegate? var headerView: NSTableHeaderView? var cornerView: NSView? var allowsColumnReordering: Bool var allowsColumnResizing: Bool var columnAutoresizingStyle: NSTableViewColumnAutoresizingStyle var gridStyleMask: NSTableViewGridLineStyle var intercellSpacing: NSSize var usesAlternatingRowBackgroundColors: Bool @NSCopying var backgroundColor: NSColor @NSCopying var gridColor: NSColor var rowSizeStyle: NSTableViewRowSizeStyle var effectiveRowSizeStyle: NSTableViewRowSizeStyle { get } var rowHeight: CGFloat func noteHeightOfRows(withIndexesChanged indexSet: IndexSet) var tableColumns: [NSTableColumn] { get } var numberOfColumns: Int { get } var numberOfRows: Int { get } func addTableColumn(_ tableColumn: NSTableColumn) func removeTableColumn(_ tableColumn: NSTableColumn) func moveColumn(_ oldIndex: Int, toColumn newIndex: Int) func column(withIdentifier identifier: String) -> Int func tableColumn(withIdentifier identifier: String) -> NSTableColumn? func tile() func sizeToFit() func sizeLastColumnToFit() func scrollRowToVisible(_ row: Int) func scrollColumnToVisible(_ column: Int) func reloadData() func noteNumberOfRowsChanged() func reloadData(forRowIndexes rowIndexes: IndexSet, columnIndexes columnIndexes: IndexSet) var editedColumn: Int { get } var editedRow: Int { get } var clickedColumn: Int { get } var clickedRow: Int { get } var doubleAction: Selector? var sortDescriptors: [NSSortDescriptor] func setIndicatorImage(_ image: NSImage?, in tableColumn: NSTableColumn) func indicatorImage(in tableColumn: NSTableColumn) -> NSImage? unowned(unsafe) var highlightedTableColumn: NSTableColumn? var verticalMotionCanBeginDrag: Bool func canDragRows(with rowIndexes: IndexSet, at mouseDownPoint: NSPoint) -> Bool func dragImageForRows(with dragRows: IndexSet, tableColumns tableColumns: [NSTableColumn], event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) func setDropRow(_ row: Int, dropOperation dropOperation: NSTableViewDropOperation) var allowsMultipleSelection: Bool var allowsEmptySelection: Bool var allowsColumnSelection: Bool func selectAll(_ sender: Any?) func deselectAll(_ sender: Any?) func selectColumnIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) func selectRowIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) var selectedColumnIndexes: IndexSet { get } var selectedRowIndexes: IndexSet { get } func deselectColumn(_ column: Int) func deselectRow(_ row: Int) var selectedColumn: Int { get } var selectedRow: Int { get } func isColumnSelected(_ column: Int) -> Bool func isRowSelected(_ row: Int) -> Bool var numberOfSelectedColumns: Int { get } var numberOfSelectedRows: Int { get } var allowsTypeSelect: Bool var selectionHighlightStyle: NSTableViewSelectionHighlightStyle var draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle func rect(ofColumn column: Int) -> NSRect func rect(ofRow row: Int) -> NSRect func columnIndexes(in rect: NSRect) -> IndexSet func rows(in rect: NSRect) -> NSRange func column(at point: NSPoint) -> Int func row(at point: NSPoint) -> Int func frameOfCell(atColumn column: Int, row row: Int) -> NSRect var autosaveName: String? var autosaveTableColumns: Bool func editColumn(_ column: Int, row row: Int, with event: NSEvent?, select select: Bool) func drawRow(_ row: Int, clipRect clipRect: NSRect) func highlightSelection(inClipRect clipRect: NSRect) func drawGrid(inClipRect clipRect: NSRect) func drawBackground(inClipRect clipRect: NSRect) func view(atColumn column: Int, row row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSView? func rowView(atRow row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSTableRowView? func row(for view: NSView) -> Int func column(for view: NSView) -> Int func make(withIdentifier identifier: String, owner owner: Any?) -> NSView? func enumerateAvailableRowViews(_ handler: (NSTableRowView, Int) -> Swift.Void) var floatsGroupRows: Bool var rowActionsVisible: Bool func beginUpdates() func endUpdates() func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveRow(at oldIndex: Int, to newIndex: Int) func hideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions = []) func unhideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions = []) var hiddenRowIndexes: IndexSet { get } func register(_ nib: NSNib?, forIdentifier identifier: String) var registeredNibsByIdentifier: [String : NSNib]? { get } func didAdd(_ rowView: NSTableRowView, forRow row: Int) func didRemove(_ rowView: NSTableRowView, forRow row: Int) var usesStaticContents: Bool var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool } extension NSTableView : CVarArg { } extension NSTableView : Equatable, Hashable { var hashValue: Int { get } } extension NSTableView { func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) } | CVarArg, Equatable, Hashable, NSAccessibilityTable, NSDraggingSource, NSTextViewDelegate, NSUserInterfaceValidations |
To | class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable { init(frame frameRect: NSRect) init?(coder coder: NSCoder) weak var dataSource: NSTableViewDataSource? weak var delegate: NSTableViewDelegate? var headerView: NSTableHeaderView? var cornerView: NSView? var allowsColumnReordering: Bool var allowsColumnResizing: Bool var columnAutoresizingStyle: NSTableViewColumnAutoresizingStyle var gridStyleMask: NSTableViewGridLineStyle var intercellSpacing: NSSize var usesAlternatingRowBackgroundColors: Bool @NSCopying var backgroundColor: NSColor @NSCopying var gridColor: NSColor var rowSizeStyle: NSTableViewRowSizeStyle var effectiveRowSizeStyle: NSTableViewRowSizeStyle { get } var rowHeight: CGFloat func noteHeightOfRows(withIndexesChanged indexSet: IndexSet) var tableColumns: [NSTableColumn] { get } var numberOfColumns: Int { get } var numberOfRows: Int { get } func addTableColumn(_ tableColumn: NSTableColumn) func removeTableColumn(_ tableColumn: NSTableColumn) func moveColumn(_ oldIndex: Int, toColumn newIndex: Int) func column(withIdentifier identifier: String) -> Int func tableColumn(withIdentifier identifier: String) -> NSTableColumn? func tile() func sizeToFit() func sizeLastColumnToFit() func scrollRowToVisible(_ row: Int) func scrollColumnToVisible(_ column: Int) func reloadData() func noteNumberOfRowsChanged() func reloadData(forRowIndexes rowIndexes: IndexSet, columnIndexes columnIndexes: IndexSet) var editedColumn: Int { get } var editedRow: Int { get } var clickedColumn: Int { get } var clickedRow: Int { get } var doubleAction: Selector? var sortDescriptors: [NSSortDescriptor] func setIndicatorImage(_ image: NSImage?, in tableColumn: NSTableColumn) func indicatorImage(in tableColumn: NSTableColumn) -> NSImage? unowned(unsafe) var highlightedTableColumn: NSTableColumn? var verticalMotionCanBeginDrag: Bool func canDragRows(with rowIndexes: IndexSet, at mouseDownPoint: NSPoint) -> Bool func dragImageForRows(with dragRows: IndexSet, tableColumns tableColumns: [NSTableColumn], event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool) func setDropRow(_ row: Int, dropOperation dropOperation: NSTableViewDropOperation) var allowsMultipleSelection: Bool var allowsEmptySelection: Bool var allowsColumnSelection: Bool func selectAll(_ sender: Any?) func deselectAll(_ sender: Any?) func selectColumnIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) func selectRowIndexes(_ indexes: IndexSet, byExtendingSelection extend: Bool) var selectedColumnIndexes: IndexSet { get } var selectedRowIndexes: IndexSet { get } func deselectColumn(_ column: Int) func deselectRow(_ row: Int) var selectedColumn: Int { get } var selectedRow: Int { get } func isColumnSelected(_ column: Int) -> Bool func isRowSelected(_ row: Int) -> Bool var numberOfSelectedColumns: Int { get } var numberOfSelectedRows: Int { get } var allowsTypeSelect: Bool var selectionHighlightStyle: NSTableViewSelectionHighlightStyle var draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle func rect(ofColumn column: Int) -> NSRect func rect(ofRow row: Int) -> NSRect func columnIndexes(in rect: NSRect) -> IndexSet func rows(in rect: NSRect) -> NSRange func column(at point: NSPoint) -> Int func row(at point: NSPoint) -> Int func frameOfCell(atColumn column: Int, row row: Int) -> NSRect var autosaveName: String? var autosaveTableColumns: Bool func editColumn(_ column: Int, row row: Int, with event: NSEvent?, select select: Bool) func drawRow(_ row: Int, clipRect clipRect: NSRect) func highlightSelection(inClipRect clipRect: NSRect) func drawGrid(inClipRect clipRect: NSRect) func drawBackground(inClipRect clipRect: NSRect) func view(atColumn column: Int, row row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSView? func rowView(atRow row: Int, makeIfNecessary makeIfNecessary: Bool) -> NSTableRowView? func row(for view: NSView) -> Int func column(for view: NSView) -> Int func make(withIdentifier identifier: String, owner owner: Any?) -> NSView? func enumerateAvailableRowViews(_ handler: (NSTableRowView, Int) -> Swift.Void) var floatsGroupRows: Bool var rowActionsVisible: Bool func beginUpdates() func endUpdates() func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableViewAnimationOptions = []) func moveRow(at oldIndex: Int, to newIndex: Int) func hideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions = []) func unhideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableViewAnimationOptions = []) var hiddenRowIndexes: IndexSet { get } func register(_ nib: NSNib?, forIdentifier identifier: String) var registeredNibsByIdentifier: [String : NSNib]? { get } func didAdd(_ rowView: NSTableRowView, forRow row: Int) func didRemove(_ rowView: NSTableRowView, forRow row: Int) var usesStaticContents: Bool var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool } extension NSTableView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTableView : CVarArg { } extension NSTableView : Equatable, Hashable { var hashValue: Int { get } } extension NSTableView { func setDrawsGrid(_ flag: Bool) func drawsGrid() -> Bool func selectColumn(_ column: Int, byExtendingSelection extend: Bool) func selectRow(_ row: Int, byExtendingSelection extend: Bool) func selectedColumnEnumerator() -> NSEnumerator func selectedRowEnumerator() -> NSEnumerator func dragImage(forRows dragRows: [Any], event dragEvent: NSEvent, dragImageOffset dragImageOffset: NSPointPointer) -> NSImage? func setAutoresizesAllColumnsToFit(_ flag: Bool) func autoresizesAllColumnsToFit() -> Bool func columns(in rect: NSRect) -> NSRange func preparedCell(atColumn column: Int, row row: Int) -> NSCell? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) func shouldFocusCell(_ cell: NSCell, atColumn column: Int, row row: Int) -> Bool func focusedColumn() -> Int func setFocusedColumn(_ focusedColumn: Int) func performClickOnCell(atColumn column: Int, row row: Int) } | CVarArg, Equatable, Hashable, NSAccessibilityTable, NSDraggingSource, NSTextViewDelegate, NSTouchBarProvider, NSUserInterfaceValidations |
Modified NSTabView
Declaration | Protocols | |
---|---|---|
From | class NSTabView : NSView { func selectTabViewItem(_ tabViewItem: NSTabViewItem?) func selectTabViewItem(at index: Int) func selectTabViewItem(withIdentifier identifier: Any) func takeSelectedTabViewItemFromSender(_ sender: Any?) func selectFirstTabViewItem(_ sender: Any?) func selectLastTabViewItem(_ sender: Any?) func selectNextTabViewItem(_ sender: Any?) func selectPreviousTabViewItem(_ sender: Any?) var selectedTabViewItem: NSTabViewItem? { get } var font: NSFont var tabViewType: NSTabViewType var tabPosition: NSTabPosition var tabViewBorderType: NSTabViewBorderType var tabViewItems: [NSTabViewItem] { get } var allowsTruncatedLabels: Bool var minimumSize: NSSize { get } var drawsBackground: Bool var controlTint: NSControlTint var controlSize: NSControlSize func addTabViewItem(_ tabViewItem: NSTabViewItem) func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int) func removeTabViewItem(_ tabViewItem: NSTabViewItem) unowned(unsafe) var delegate: NSTabViewDelegate? func tabViewItem(at point: NSPoint) -> NSTabViewItem? var contentRect: NSRect { get } var numberOfTabViewItems: Int { get } func indexOfTabViewItem(_ tabViewItem: NSTabViewItem) -> Int func tabViewItem(at index: Int) -> NSTabViewItem func indexOfTabViewItem(withIdentifier identifier: Any) -> Int var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTabView : CVarArg { } extension NSTabView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSTabView : NSView { func selectTabViewItem(_ tabViewItem: NSTabViewItem?) func selectTabViewItem(at index: Int) func selectTabViewItem(withIdentifier identifier: Any) func takeSelectedTabViewItemFromSender(_ sender: Any?) func selectFirstTabViewItem(_ sender: Any?) func selectLastTabViewItem(_ sender: Any?) func selectNextTabViewItem(_ sender: Any?) func selectPreviousTabViewItem(_ sender: Any?) var selectedTabViewItem: NSTabViewItem? { get } var font: NSFont var tabViewType: NSTabViewType var tabPosition: NSTabPosition var tabViewBorderType: NSTabViewBorderType var tabViewItems: [NSTabViewItem] { get } var allowsTruncatedLabels: Bool var minimumSize: NSSize { get } var drawsBackground: Bool var controlTint: NSControlTint var controlSize: NSControlSize func addTabViewItem(_ tabViewItem: NSTabViewItem) func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int) func removeTabViewItem(_ tabViewItem: NSTabViewItem) unowned(unsafe) var delegate: NSTabViewDelegate? func tabViewItem(at point: NSPoint) -> NSTabViewItem? var contentRect: NSRect { get } var numberOfTabViewItems: Int { get } func indexOfTabViewItem(_ tabViewItem: NSTabViewItem) -> Int func tabViewItem(at index: Int) -> NSTabViewItem func indexOfTabViewItem(withIdentifier identifier: Any) -> Int var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTabView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTabView : CVarArg { } extension NSTabView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSTabViewController
Declaration | Protocols | |
---|---|---|
From | class NSTabViewController : NSViewController, NSTabViewDelegate, NSToolbarDelegate { var tabStyle: NSTabViewControllerTabStyle var tabView: NSTabView var transitionOptions: NSViewControllerTransitionOptions var canPropagateSelectedChildViewControllerTitle: Bool var tabViewItems: [NSTabViewItem] var selectedTabViewItemIndex: Int func addTabViewItem(_ tabViewItem: NSTabViewItem) func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int) func removeTabViewItem(_ tabViewItem: NSTabViewItem) func tabViewItem(for viewController: NSViewController) -> NSTabViewItem? func viewDidLoad() func tabView(_ tabView: NSTabView, willSelect tabViewItem: NSTabViewItem?) func tabView(_ tabView: NSTabView, didSelect tabViewItem: NSTabViewItem?) func tabView(_ tabView: NSTabView, shouldSelect tabViewItem: NSTabViewItem?) -> Bool func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: String, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [String] func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [String] func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [String] var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTabViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSTabViewController : CVarArg { } extension NSTabViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, NSTabViewDelegate, NSToolbarDelegate |
To | class NSTabViewController : NSViewController, NSTabViewDelegate, NSToolbarDelegate { var tabStyle: NSTabViewControllerTabStyle var tabView: NSTabView var transitionOptions: NSViewControllerTransitionOptions var canPropagateSelectedChildViewControllerTitle: Bool var tabViewItems: [NSTabViewItem] var selectedTabViewItemIndex: Int func addTabViewItem(_ tabViewItem: NSTabViewItem) func insertTabViewItem(_ tabViewItem: NSTabViewItem, at index: Int) func removeTabViewItem(_ tabViewItem: NSTabViewItem) func tabViewItem(for viewController: NSViewController) -> NSTabViewItem? func viewDidLoad() func tabView(_ tabView: NSTabView, willSelect tabViewItem: NSTabViewItem?) func tabView(_ tabView: NSTabView, didSelect tabViewItem: NSTabViewItem?) func tabView(_ tabView: NSTabView, shouldSelect tabViewItem: NSTabViewItem?) -> Bool func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: String, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [String] func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [String] func toolbarSelectableItemIdentifiers(_ toolbar: NSToolbar) -> [String] var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (() -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTabViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSTabViewController : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTabViewController : CVarArg { } extension NSTabViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, NSTabViewDelegate, NSToolbarDelegate, NSTouchBarProvider |
Modified NSText
Declaration | Protocols | |
---|---|---|
From | class NSText : NSView, NSChangeSpelling, NSIgnoreMisspelledWords { init(frame frameRect: NSRect) init?(coder coder: NSCoder) var string: String? func replaceCharacters(in range: NSRange, with string: String) func replaceCharacters(in range: NSRange, withRTF rtfData: Data) func replaceCharacters(in range: NSRange, withRTFD rtfdData: Data) func rtf(from range: NSRange) -> Data? func rtfd(from range: NSRange) -> Data? func writeRTFD(toFile path: String, atomically flag: Bool) -> Bool func readRTFD(fromFile path: String) -> Bool unowned(unsafe) var delegate: NSTextDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var isFieldEditor: Bool var usesFontPanel: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor? var isRulerVisible: Bool { get } var selectedRange: NSRange func scrollRangeToVisible(_ range: NSRange) var font: NSFont? @NSCopying var textColor: NSColor? var alignment: NSTextAlignment var baseWritingDirection: NSWritingDirection func setTextColor(_ color: NSColor?, range range: NSRange) func setFont(_ font: NSFont, range range: NSRange) var maxSize: NSSize var minSize: NSSize var isHorizontallyResizable: Bool var isVerticallyResizable: Bool func sizeToFit() func copy(_ sender: Any?) func copyFont(_ sender: Any?) func copyRuler(_ sender: Any?) func cut(_ sender: Any?) func delete(_ sender: Any?) func paste(_ sender: Any?) func pasteFont(_ sender: Any?) func pasteRuler(_ sender: Any?) func selectAll(_ sender: Any?) func changeFont(_ sender: Any?) func alignLeft(_ sender: Any?) func alignRight(_ sender: Any?) func alignCenter(_ sender: Any?) func `subscript`(_ sender: Any?) func superscript(_ sender: Any?) func underline(_ sender: Any?) func unscript(_ sender: Any?) func showGuessPanel(_ sender: Any?) func checkSpelling(_ sender: Any?) func toggleRuler(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSText : CVarArg { } extension NSText : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSChangeSpelling, NSIgnoreMisspelledWords |
To | class NSText : NSView, NSChangeSpelling, NSIgnoreMisspelledWords { init(frame frameRect: NSRect) init?(coder coder: NSCoder) var string: String? func replaceCharacters(in range: NSRange, with string: String) func replaceCharacters(in range: NSRange, withRTF rtfData: Data) func replaceCharacters(in range: NSRange, withRTFD rtfdData: Data) func rtf(from range: NSRange) -> Data? func rtfd(from range: NSRange) -> Data? func writeRTFD(toFile path: String, atomically flag: Bool) -> Bool func readRTFD(fromFile path: String) -> Bool unowned(unsafe) var delegate: NSTextDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var isFieldEditor: Bool var usesFontPanel: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor? var isRulerVisible: Bool { get } var selectedRange: NSRange func scrollRangeToVisible(_ range: NSRange) var font: NSFont? @NSCopying var textColor: NSColor? var alignment: NSTextAlignment var baseWritingDirection: NSWritingDirection func setTextColor(_ color: NSColor?, range range: NSRange) func setFont(_ font: NSFont, range range: NSRange) var maxSize: NSSize var minSize: NSSize var isHorizontallyResizable: Bool var isVerticallyResizable: Bool func sizeToFit() func copy(_ sender: Any?) func copyFont(_ sender: Any?) func copyRuler(_ sender: Any?) func cut(_ sender: Any?) func delete(_ sender: Any?) func paste(_ sender: Any?) func pasteFont(_ sender: Any?) func pasteRuler(_ sender: Any?) func selectAll(_ sender: Any?) func changeFont(_ sender: Any?) func alignLeft(_ sender: Any?) func alignRight(_ sender: Any?) func alignCenter(_ sender: Any?) func `subscript`(_ sender: Any?) func superscript(_ sender: Any?) func underline(_ sender: Any?) func unscript(_ sender: Any?) func showGuessPanel(_ sender: Any?) func checkSpelling(_ sender: Any?) func toggleRuler(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSText : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSText : CVarArg { } extension NSText : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSChangeSpelling, NSIgnoreMisspelledWords, NSTouchBarProvider |
Modified NSTextField
Declaration | Protocols | |
---|---|---|
From | class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText { var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? @NSCopying var backgroundColor: NSColor? var drawsBackground: Bool @NSCopying var textColor: NSColor? var isBordered: Bool var isBezeled: Bool var isEditable: Bool var isSelectable: Bool func selectText(_ sender: Any?) unowned(unsafe) var delegate: NSTextFieldDelegate? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) var acceptsFirstResponder: Bool { get } var bezelStyle: NSTextFieldBezelStyle var preferredMaxLayoutWidth: CGFloat var maximumNumberOfLines: Int var allowsDefaultTighteningForTruncation: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self var allowsEditingTextAttributes: Bool var importsGraphics: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) } extension NSTextField : CVarArg { } extension NSTextField : Equatable, Hashable { var hashValue: Int { get } } extension NSTextField { convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self } extension NSTextField { var allowsEditingTextAttributes: Bool var importsGraphics: Bool } extension NSTextField { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable, NSAccessibilityNavigableStaticText, NSUserInterfaceValidations |
To | class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText { var placeholderString: String? @NSCopying var placeholderAttributedString: NSAttributedString? @NSCopying var backgroundColor: NSColor? var drawsBackground: Bool @NSCopying var textColor: NSColor? var isBordered: Bool var isBezeled: Bool var isEditable: Bool var isSelectable: Bool func selectText(_ sender: Any?) unowned(unsafe) var delegate: NSTextFieldDelegate? func textShouldBeginEditing(_ textObject: NSText) -> Bool func textShouldEndEditing(_ textObject: NSText) -> Bool func textDidBeginEditing(_ notification: Notification) func textDidEndEditing(_ notification: Notification) func textDidChange(_ notification: Notification) var acceptsFirstResponder: Bool { get } var bezelStyle: NSTextFieldBezelStyle var preferredMaxLayoutWidth: CGFloat var maximumNumberOfLines: Int var allowsDefaultTighteningForTruncation: Bool var isAutomaticTextCompletionEnabled: Bool var allowsCharacterPickerTouchBarItem: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self var allowsEditingTextAttributes: Bool var importsGraphics: Bool func setTitleWithMnemonic(_ stringWithAmpersand: String!) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func invalidateIntrinsicContentSize(for cell: NSCell) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) } extension NSTextField : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTextField : CVarArg { } extension NSTextField : Equatable, Hashable { var hashValue: Int { get } } extension NSTextField { var isAutomaticTextCompletionEnabled: Bool var allowsCharacterPickerTouchBarItem: Bool } extension NSTextField { convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self } extension NSTextField { var allowsEditingTextAttributes: Bool var importsGraphics: Bool } extension NSTextField { func setTitleWithMnemonic(_ stringWithAmpersand: String!) } | CVarArg, Equatable, Hashable, NSAccessibilityNavigableStaticText, NSTouchBarProvider, NSUserInterfaceValidations |
Modified NSTextFieldDelegate
Declaration | |
---|---|
From | protocol NSTextFieldDelegate : NSControlTextEditingDelegate { } |
To | protocol NSTextFieldDelegate : NSControlTextEditingDelegate { optional func textField(_ textField: NSTextField, textView textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]? optional func textField(_ textField: NSTextField, textView textView: NSTextView, candidates candidates: [NSTextCheckingResult], forSelectedRange selectedRange: NSRange) -> [NSTextCheckingResult] optional func textField(_ textField: NSTextField, textView textView: NSTextView, shouldSelectCandidateAt index: Int) -> Bool } |
Modified NSTextView
Declaration | Protocols | |
---|---|---|
From | class NSTextView : NSText, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSTextInput, NSAccessibilityNavigableStaticText { init(frame frameRect: NSRect, textContainer container: NSTextContainer?) init?(coder coder: NSCoder) init(frame frameRect: NSRect) unowned(unsafe) var textContainer: NSTextContainer? func replaceTextContainer(_ newContainer: NSTextContainer) var textContainerInset: NSSize var textContainerOrigin: NSPoint { get } func invalidateTextContainerOrigin() unowned(unsafe) var layoutManager: NSLayoutManager? { get } unowned(unsafe) var textStorage: NSTextStorage? { get } func insertText(_ insertString: Any) func setConstrainedFrameSize(_ desiredSize: NSSize) func setAlignment(_ alignment: NSTextAlignment, range range: NSRange) func setBaseWritingDirection(_ writingDirection: NSWritingDirection, range range: NSRange) func turnOffKerning(_ sender: Any?) func tightenKerning(_ sender: Any?) func loosenKerning(_ sender: Any?) func useStandardKerning(_ sender: Any?) func turnOffLigatures(_ sender: Any?) func useStandardLigatures(_ sender: Any?) func useAllLigatures(_ sender: Any?) func raiseBaseline(_ sender: Any?) func lowerBaseline(_ sender: Any?) func toggleTraditionalCharacterShape(_ sender: Any?) func outline(_ sender: Any?) func performFindPanelAction(_ sender: Any?) func alignJustified(_ sender: Any?) func changeColor(_ sender: Any?) func changeAttributes(_ sender: Any?) func changeDocumentBackgroundColor(_ sender: Any?) func orderFrontSpacingPanel(_ sender: Any?) func orderFrontLinkPanel(_ sender: Any?) func orderFrontListPanel(_ sender: Any?) func orderFrontTablePanel(_ sender: Any?) func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func setNeedsDisplay(_ rect: NSRect, avoidAdditionalLayout flag: Bool) var shouldDrawInsertionPoint: Bool { get } func drawInsertionPoint(in rect: NSRect, color color: NSColor, turnedOn flag: Bool) func drawBackground(in rect: NSRect) func updateRuler() func updateFontPanel() func updateDragTypeRegistration() func selectionRange(forProposedRange proposedCharRange: NSRange, granularity granularity: NSSelectionGranularity) -> NSRange func clicked(onLink link: Any, at charIndex: Int) func startSpeaking(_ sender: Any?) func stopSpeaking(_ sender: Any?) func setLayoutOrientation(_ orientation: NSTextLayoutOrientation) func changeLayoutOrientation(_ sender: Any?) func characterIndexForInsertion(at point: NSPoint) -> Int class var stronglyReferencesTextStorage: Bool { get } func toggleBaseWritingDirection(_ sender: Any?) @IBAction func orderFrontSharingServicePicker(_ sender: Any?) @IBAction func toggleQuickLookPreviewPanel(_ sender: Any?) func updateQuickLookPreviewPanel() var smartInsertDeleteEnabled: Bool func smartDeleteRange(forProposedRange proposedCharRange: NSRange) -> NSRange func toggleSmartInsertDelete(_ sender: Any?) func smartInsert(for pasteString: String, replacing charRangeToReplace: NSRange, before beforeString: AutoreleasingUnsafeMutablePointer<NSString?>?, after afterString: AutoreleasingUnsafeMutablePointer<NSString?>?) func smartInsert(beforeStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? func smartInsert(afterStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? var isAutomaticQuoteSubstitutionEnabled: Bool func toggleAutomaticQuoteSubstitution(_ sender: Any?) var isAutomaticLinkDetectionEnabled: Bool func toggleAutomaticLinkDetection(_ sender: Any?) var isAutomaticDataDetectionEnabled: Bool func toggleAutomaticDataDetection(_ sender: Any?) var isAutomaticDashSubstitutionEnabled: Bool func toggleAutomaticDashSubstitution(_ sender: Any?) var isAutomaticTextReplacementEnabled: Bool func toggleAutomaticTextReplacement(_ sender: Any?) var isAutomaticSpellingCorrectionEnabled: Bool func toggleAutomaticSpellingCorrection(_ sender: Any?) var enabledTextCheckingTypes: NSTextCheckingTypes func checkText(in range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:]) func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], orthography orthography: NSOrthography, wordCount wordCount: Int) func orderFrontSubstitutionsPanel(_ sender: Any?) func checkTextInSelection(_ sender: Any?) func checkTextInDocument(_ sender: Any?) var usesFindPanel: Bool var usesFindBar: Bool var isIncrementalSearchingEnabled: Bool var selectedRanges: [NSValue] func setSelectedRanges(_ ranges: [NSValue], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) func setSelectedRange(_ charRange: NSRange, affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) var selectionAffinity: NSSelectionAffinity { get } var selectionGranularity: NSSelectionGranularity var selectedTextAttributes: [String : Any] @NSCopying var insertionPointColor: NSColor func updateInsertionPointStateAndRestartTimer(_ restartFlag: Bool) var markedTextAttributes: [String : Any]? var linkTextAttributes: [String : Any]? var displaysLinkToolTips: Bool var acceptsGlyphInfo: Bool var usesRuler: Bool var usesInspectorBar: Bool var isContinuousSpellCheckingEnabled: Bool func toggleContinuousSpellChecking(_ sender: Any?) var spellCheckerDocumentTag: Int { get } var isGrammarCheckingEnabled: Bool func toggleGrammarChecking(_ sender: Any?) func setSpellingState(_ value: Int, range charRange: NSRange) var typingAttributes: [String : Any] func shouldChangeText(inRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool var rangesForUserTextChange: [NSValue]? { get } var rangesForUserCharacterAttributeChange: [NSValue]? { get } var rangesForUserParagraphAttributeChange: [NSValue]? { get } func shouldChangeText(in affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool func didChangeText() var rangeForUserTextChange: NSRange { get } var rangeForUserCharacterAttributeChange: NSRange { get } var rangeForUserParagraphAttributeChange: NSRange { get } var allowsDocumentBackgroundColorChange: Bool @NSCopying var defaultParagraphStyle: NSParagraphStyle? var allowsUndo: Bool func breakUndoCoalescing() var isCoalescingUndo: Bool { get } var allowsImageEditing: Bool func showFindIndicator(for charRange: NSRange) var usesRolloverButtonForSelection: Bool unowned(unsafe) var delegate: NSTextViewDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor var isFieldEditor: Bool var usesFontPanel: Bool var isRulerVisible: Bool func setSelectedRange(_ charRange: NSRange) var allowedInputSourceLocales: [String]? func dragSelection(with event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool func dragImageForSelection(with event: NSEvent, origin origin: NSPointPointer?) -> NSImage? var acceptableDragTypes: [String] { get } func dragOperation(for dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation func cleanUpAfterDragOperation() var writablePasteboardTypes: [String] { get } func writeSelection(to pboard: NSPasteboard, type type: String) -> Bool func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool var readablePasteboardTypes: [String] { get } func preferredPasteboardType(from availableTypes: [String], restrictedToTypesFrom allowedTypes: [String]?) -> String? func readSelection(from pboard: NSPasteboard, type type: String) -> Bool func readSelection(from pboard: NSPasteboard) -> Bool class func registerForServices() func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func pasteAsPlainText(_ sender: Any?) func pasteAsRichText(_ sender: Any?) func complete(_ sender: Any?) var rangeForUserCompletion: NSRange { get } func completions(forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? func insertCompletion(_ word: String, forPartialWordRange charRange: NSRange, movement movement: Int, isFinal flag: Bool) } extension NSTextView { func complete(_ sender: Any?) var rangeForUserCompletion: NSRange { get } func completions(forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? func insertCompletion(_ word: String, forPartialWordRange charRange: NSRange, movement movement: Int, isFinal flag: Bool) } extension NSTextView { var writablePasteboardTypes: [String] { get } func writeSelection(to pboard: NSPasteboard, type type: String) -> Bool func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool var readablePasteboardTypes: [String] { get } func preferredPasteboardType(from availableTypes: [String], restrictedToTypesFrom allowedTypes: [String]?) -> String? func readSelection(from pboard: NSPasteboard, type type: String) -> Bool func readSelection(from pboard: NSPasteboard) -> Bool class func registerForServices() func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func pasteAsPlainText(_ sender: Any?) func pasteAsRichText(_ sender: Any?) } extension NSTextView { func dragSelection(with event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool func dragImageForSelection(with event: NSEvent, origin origin: NSPointPointer?) -> NSImage? var acceptableDragTypes: [String] { get } func dragOperation(for dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation func cleanUpAfterDragOperation() } extension NSTextView { var selectedRanges: [NSValue] func setSelectedRanges(_ ranges: [NSValue], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) func setSelectedRange(_ charRange: NSRange, affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) var selectionAffinity: NSSelectionAffinity { get } var selectionGranularity: NSSelectionGranularity var selectedTextAttributes: [String : Any] @NSCopying var insertionPointColor: NSColor func updateInsertionPointStateAndRestartTimer(_ restartFlag: Bool) var markedTextAttributes: [String : Any]? var linkTextAttributes: [String : Any]? var displaysLinkToolTips: Bool var acceptsGlyphInfo: Bool var usesRuler: Bool var usesInspectorBar: Bool var isContinuousSpellCheckingEnabled: Bool func toggleContinuousSpellChecking(_ sender: Any?) var spellCheckerDocumentTag: Int { get } var isGrammarCheckingEnabled: Bool func toggleGrammarChecking(_ sender: Any?) func setSpellingState(_ value: Int, range charRange: NSRange) var typingAttributes: [String : Any] func shouldChangeText(inRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool var rangesForUserTextChange: [NSValue]? { get } var rangesForUserCharacterAttributeChange: [NSValue]? { get } var rangesForUserParagraphAttributeChange: [NSValue]? { get } func shouldChangeText(in affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool func didChangeText() var rangeForUserTextChange: NSRange { get } var rangeForUserCharacterAttributeChange: NSRange { get } var rangeForUserParagraphAttributeChange: NSRange { get } var allowsDocumentBackgroundColorChange: Bool @NSCopying var defaultParagraphStyle: NSParagraphStyle? var allowsUndo: Bool func breakUndoCoalescing() var isCoalescingUndo: Bool { get } var allowsImageEditing: Bool func showFindIndicator(for charRange: NSRange) var usesRolloverButtonForSelection: Bool unowned(unsafe) var delegate: NSTextViewDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor var isFieldEditor: Bool var usesFontPanel: Bool var isRulerVisible: Bool func setSelectedRange(_ charRange: NSRange) var allowedInputSourceLocales: [String]? } extension NSTextView { var smartInsertDeleteEnabled: Bool func smartDeleteRange(forProposedRange proposedCharRange: NSRange) -> NSRange func toggleSmartInsertDelete(_ sender: Any?) func smartInsert(for pasteString: String, replacing charRangeToReplace: NSRange, before beforeString: AutoreleasingUnsafeMutablePointer<NSString?>?, after afterString: AutoreleasingUnsafeMutablePointer<NSString?>?) func smartInsert(beforeStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? func smartInsert(afterStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? var isAutomaticQuoteSubstitutionEnabled: Bool func toggleAutomaticQuoteSubstitution(_ sender: Any?) var isAutomaticLinkDetectionEnabled: Bool func toggleAutomaticLinkDetection(_ sender: Any?) var isAutomaticDataDetectionEnabled: Bool func toggleAutomaticDataDetection(_ sender: Any?) var isAutomaticDashSubstitutionEnabled: Bool func toggleAutomaticDashSubstitution(_ sender: Any?) var isAutomaticTextReplacementEnabled: Bool func toggleAutomaticTextReplacement(_ sender: Any?) var isAutomaticSpellingCorrectionEnabled: Bool func toggleAutomaticSpellingCorrection(_ sender: Any?) var enabledTextCheckingTypes: NSTextCheckingTypes func checkText(in range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:]) func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], orthography orthography: NSOrthography, wordCount wordCount: Int) func orderFrontSubstitutionsPanel(_ sender: Any?) func checkTextInSelection(_ sender: Any?) func checkTextInDocument(_ sender: Any?) var usesFindPanel: Bool var usesFindBar: Bool var isIncrementalSearchingEnabled: Bool } extension NSTextView { @IBAction func toggleQuickLookPreviewPanel(_ sender: Any?) func updateQuickLookPreviewPanel() } extension NSTextView { @IBAction func orderFrontSharingServicePicker(_ sender: Any?) } extension NSTextView { func toggleBaseWritingDirection(_ sender: Any?) } | NSAccessibilityNavigableStaticText, NSDraggingSource, NSTextInput, NSTextInputClient, NSTextLayoutOrientationProvider, NSUserInterfaceValidations |
To | class NSTextView : NSText, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSTextInput, NSAccessibilityNavigableStaticText { init(frame frameRect: NSRect, textContainer container: NSTextContainer?) init?(coder coder: NSCoder) init(frame frameRect: NSRect) unowned(unsafe) var textContainer: NSTextContainer? func replaceTextContainer(_ newContainer: NSTextContainer) var textContainerInset: NSSize var textContainerOrigin: NSPoint { get } func invalidateTextContainerOrigin() unowned(unsafe) var layoutManager: NSLayoutManager? { get } unowned(unsafe) var textStorage: NSTextStorage? { get } func insertText(_ insertString: Any) func setConstrainedFrameSize(_ desiredSize: NSSize) func setAlignment(_ alignment: NSTextAlignment, range range: NSRange) func setBaseWritingDirection(_ writingDirection: NSWritingDirection, range range: NSRange) func turnOffKerning(_ sender: Any?) func tightenKerning(_ sender: Any?) func loosenKerning(_ sender: Any?) func useStandardKerning(_ sender: Any?) func turnOffLigatures(_ sender: Any?) func useStandardLigatures(_ sender: Any?) func useAllLigatures(_ sender: Any?) func raiseBaseline(_ sender: Any?) func lowerBaseline(_ sender: Any?) func toggleTraditionalCharacterShape(_ sender: Any?) func outline(_ sender: Any?) func performFindPanelAction(_ sender: Any?) func alignJustified(_ sender: Any?) func changeColor(_ sender: Any?) func changeAttributes(_ sender: Any?) func changeDocumentBackgroundColor(_ sender: Any?) func orderFrontSpacingPanel(_ sender: Any?) func orderFrontLinkPanel(_ sender: Any?) func orderFrontListPanel(_ sender: Any?) func orderFrontTablePanel(_ sender: Any?) func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func setNeedsDisplay(_ rect: NSRect, avoidAdditionalLayout flag: Bool) var shouldDrawInsertionPoint: Bool { get } func drawInsertionPoint(in rect: NSRect, color color: NSColor, turnedOn flag: Bool) func drawBackground(in rect: NSRect) func updateRuler() func updateFontPanel() func updateDragTypeRegistration() func selectionRange(forProposedRange proposedCharRange: NSRange, granularity granularity: NSSelectionGranularity) -> NSRange func clicked(onLink link: Any, at charIndex: Int) func startSpeaking(_ sender: Any?) func stopSpeaking(_ sender: Any?) func setLayoutOrientation(_ orientation: NSTextLayoutOrientation) func changeLayoutOrientation(_ sender: Any?) func characterIndexForInsertion(at point: NSPoint) -> Int class var stronglyReferencesTextStorage: Bool { get } func toggleBaseWritingDirection(_ sender: Any?) @IBAction func orderFrontSharingServicePicker(_ sender: Any?) @IBAction func toggleQuickLookPreviewPanel(_ sender: Any?) func updateQuickLookPreviewPanel() var smartInsertDeleteEnabled: Bool func smartDeleteRange(forProposedRange proposedCharRange: NSRange) -> NSRange func toggleSmartInsertDelete(_ sender: Any?) func smartInsert(for pasteString: String, replacing charRangeToReplace: NSRange, before beforeString: AutoreleasingUnsafeMutablePointer<NSString?>?, after afterString: AutoreleasingUnsafeMutablePointer<NSString?>?) func smartInsert(beforeStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? func smartInsert(afterStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? var isAutomaticQuoteSubstitutionEnabled: Bool func toggleAutomaticQuoteSubstitution(_ sender: Any?) var isAutomaticLinkDetectionEnabled: Bool func toggleAutomaticLinkDetection(_ sender: Any?) var isAutomaticDataDetectionEnabled: Bool func toggleAutomaticDataDetection(_ sender: Any?) var isAutomaticDashSubstitutionEnabled: Bool func toggleAutomaticDashSubstitution(_ sender: Any?) var isAutomaticTextReplacementEnabled: Bool func toggleAutomaticTextReplacement(_ sender: Any?) var isAutomaticSpellingCorrectionEnabled: Bool func toggleAutomaticSpellingCorrection(_ sender: Any?) var enabledTextCheckingTypes: NSTextCheckingTypes func checkText(in range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:]) func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], orthography orthography: NSOrthography, wordCount wordCount: Int) func orderFrontSubstitutionsPanel(_ sender: Any?) func checkTextInSelection(_ sender: Any?) func checkTextInDocument(_ sender: Any?) var usesFindPanel: Bool var usesFindBar: Bool var isIncrementalSearchingEnabled: Bool var selectedRanges: [NSValue] func setSelectedRanges(_ ranges: [NSValue], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) func setSelectedRange(_ charRange: NSRange, affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) var selectionAffinity: NSSelectionAffinity { get } var selectionGranularity: NSSelectionGranularity var selectedTextAttributes: [String : Any] @NSCopying var insertionPointColor: NSColor func updateInsertionPointStateAndRestartTimer(_ restartFlag: Bool) var markedTextAttributes: [String : Any]? var linkTextAttributes: [String : Any]? var displaysLinkToolTips: Bool var acceptsGlyphInfo: Bool var usesRuler: Bool var usesInspectorBar: Bool var isContinuousSpellCheckingEnabled: Bool func toggleContinuousSpellChecking(_ sender: Any?) var spellCheckerDocumentTag: Int { get } var isGrammarCheckingEnabled: Bool func toggleGrammarChecking(_ sender: Any?) func setSpellingState(_ value: Int, range charRange: NSRange) var typingAttributes: [String : Any] func shouldChangeText(inRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool var rangesForUserTextChange: [NSValue]? { get } var rangesForUserCharacterAttributeChange: [NSValue]? { get } var rangesForUserParagraphAttributeChange: [NSValue]? { get } func shouldChangeText(in affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool func didChangeText() var rangeForUserTextChange: NSRange { get } var rangeForUserCharacterAttributeChange: NSRange { get } var rangeForUserParagraphAttributeChange: NSRange { get } var allowsDocumentBackgroundColorChange: Bool @NSCopying var defaultParagraphStyle: NSParagraphStyle? var allowsUndo: Bool func breakUndoCoalescing() var isCoalescingUndo: Bool { get } var allowsImageEditing: Bool func showFindIndicator(for charRange: NSRange) var usesRolloverButtonForSelection: Bool unowned(unsafe) var delegate: NSTextViewDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor var isFieldEditor: Bool var usesFontPanel: Bool var isRulerVisible: Bool func setSelectedRange(_ charRange: NSRange) var allowedInputSourceLocales: [String]? func dragSelection(with event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool func dragImageForSelection(with event: NSEvent, origin origin: NSPointPointer?) -> NSImage? var acceptableDragTypes: [String] { get } func dragOperation(for dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation func cleanUpAfterDragOperation() var writablePasteboardTypes: [String] { get } func writeSelection(to pboard: NSPasteboard, type type: String) -> Bool func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool var readablePasteboardTypes: [String] { get } func preferredPasteboardType(from availableTypes: [String], restrictedToTypesFrom allowedTypes: [String]?) -> String? func readSelection(from pboard: NSPasteboard, type type: String) -> Bool func readSelection(from pboard: NSPasteboard) -> Bool class func registerForServices() func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func pasteAsPlainText(_ sender: Any?) func pasteAsRichText(_ sender: Any?) func complete(_ sender: Any?) var rangeForUserCompletion: NSRange { get } func completions(forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? func insertCompletion(_ word: String, forPartialWordRange charRange: NSRange, movement movement: Int, isFinal flag: Bool) } extension NSTextView : NSCandidateListTouchBarItemDelegate, NSTouchBarDelegate { var isAutomaticTextCompletionEnabled: Bool @IBAction func toggleAutomaticTextCompletion(_ sender: Any?) var allowsCharacterPickerTouchBarItem: Bool func updateTouchBarItemIdentifiers() func updateTextTouchBarItems() func updateCandidates() var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } } extension NSTextView { func complete(_ sender: Any?) var rangeForUserCompletion: NSRange { get } func completions(forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>) -> [String]? func insertCompletion(_ word: String, forPartialWordRange charRange: NSRange, movement movement: Int, isFinal flag: Bool) } extension NSTextView { var writablePasteboardTypes: [String] { get } func writeSelection(to pboard: NSPasteboard, type type: String) -> Bool func writeSelection(to pboard: NSPasteboard, types types: [String]) -> Bool var readablePasteboardTypes: [String] { get } func preferredPasteboardType(from availableTypes: [String], restrictedToTypesFrom allowedTypes: [String]?) -> String? func readSelection(from pboard: NSPasteboard, type type: String) -> Bool func readSelection(from pboard: NSPasteboard) -> Bool class func registerForServices() func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? func pasteAsPlainText(_ sender: Any?) func pasteAsRichText(_ sender: Any?) } extension NSTextView { func dragSelection(with event: NSEvent, offset mouseOffset: NSSize, slideBack slideBack: Bool) -> Bool func dragImageForSelection(with event: NSEvent, origin origin: NSPointPointer?) -> NSImage? var acceptableDragTypes: [String] { get } func dragOperation(for dragInfo: NSDraggingInfo, type type: String) -> NSDragOperation func cleanUpAfterDragOperation() } extension NSTextView { var selectedRanges: [NSValue] func setSelectedRanges(_ ranges: [NSValue], affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) func setSelectedRange(_ charRange: NSRange, affinity affinity: NSSelectionAffinity, stillSelecting stillSelectingFlag: Bool) var selectionAffinity: NSSelectionAffinity { get } var selectionGranularity: NSSelectionGranularity var selectedTextAttributes: [String : Any] @NSCopying var insertionPointColor: NSColor func updateInsertionPointStateAndRestartTimer(_ restartFlag: Bool) var markedTextAttributes: [String : Any]? var linkTextAttributes: [String : Any]? var displaysLinkToolTips: Bool var acceptsGlyphInfo: Bool var usesRuler: Bool var usesInspectorBar: Bool var isContinuousSpellCheckingEnabled: Bool func toggleContinuousSpellChecking(_ sender: Any?) var spellCheckerDocumentTag: Int { get } var isGrammarCheckingEnabled: Bool func toggleGrammarChecking(_ sender: Any?) func setSpellingState(_ value: Int, range charRange: NSRange) var typingAttributes: [String : Any] func shouldChangeText(inRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool var rangesForUserTextChange: [NSValue]? { get } var rangesForUserCharacterAttributeChange: [NSValue]? { get } var rangesForUserParagraphAttributeChange: [NSValue]? { get } func shouldChangeText(in affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool func didChangeText() var rangeForUserTextChange: NSRange { get } var rangeForUserCharacterAttributeChange: NSRange { get } var rangeForUserParagraphAttributeChange: NSRange { get } var allowsDocumentBackgroundColorChange: Bool @NSCopying var defaultParagraphStyle: NSParagraphStyle? var allowsUndo: Bool func breakUndoCoalescing() var isCoalescingUndo: Bool { get } var allowsImageEditing: Bool func showFindIndicator(for charRange: NSRange) var usesRolloverButtonForSelection: Bool unowned(unsafe) var delegate: NSTextViewDelegate? var isEditable: Bool var isSelectable: Bool var isRichText: Bool var importsGraphics: Bool var drawsBackground: Bool @NSCopying var backgroundColor: NSColor var isFieldEditor: Bool var usesFontPanel: Bool var isRulerVisible: Bool func setSelectedRange(_ charRange: NSRange) var allowedInputSourceLocales: [String]? } extension NSTextView { var smartInsertDeleteEnabled: Bool func smartDeleteRange(forProposedRange proposedCharRange: NSRange) -> NSRange func toggleSmartInsertDelete(_ sender: Any?) func smartInsert(for pasteString: String, replacing charRangeToReplace: NSRange, before beforeString: AutoreleasingUnsafeMutablePointer<NSString?>?, after afterString: AutoreleasingUnsafeMutablePointer<NSString?>?) func smartInsert(beforeStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? func smartInsert(afterStringFor pasteString: String, replacing charRangeToReplace: NSRange) -> String? var isAutomaticQuoteSubstitutionEnabled: Bool func toggleAutomaticQuoteSubstitution(_ sender: Any?) var isAutomaticLinkDetectionEnabled: Bool func toggleAutomaticLinkDetection(_ sender: Any?) var isAutomaticDataDetectionEnabled: Bool func toggleAutomaticDataDetection(_ sender: Any?) var isAutomaticDashSubstitutionEnabled: Bool func toggleAutomaticDashSubstitution(_ sender: Any?) var isAutomaticTextReplacementEnabled: Bool func toggleAutomaticTextReplacement(_ sender: Any?) var isAutomaticSpellingCorrectionEnabled: Bool func toggleAutomaticSpellingCorrection(_ sender: Any?) var enabledTextCheckingTypes: NSTextCheckingTypes func checkText(in range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:]) func handleTextCheckingResults(_ results: [NSTextCheckingResult], forRange range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], orthography orthography: NSOrthography, wordCount wordCount: Int) func orderFrontSubstitutionsPanel(_ sender: Any?) func checkTextInSelection(_ sender: Any?) func checkTextInDocument(_ sender: Any?) var usesFindPanel: Bool var usesFindBar: Bool var isIncrementalSearchingEnabled: Bool } extension NSTextView { @IBAction func toggleQuickLookPreviewPanel(_ sender: Any?) func updateQuickLookPreviewPanel() } extension NSTextView { @IBAction func orderFrontSharingServicePicker(_ sender: Any?) } extension NSTextView : NSCandidateListTouchBarItemDelegate, NSTouchBarDelegate { var isAutomaticTextCompletionEnabled: Bool @IBAction func toggleAutomaticTextCompletion(_ sender: Any?) var allowsCharacterPickerTouchBarItem: Bool func updateTouchBarItemIdentifiers() func updateTextTouchBarItems() func updateCandidates() var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } } extension NSTextView { func toggleBaseWritingDirection(_ sender: Any?) } | NSAccessibilityNavigableStaticText, NSCandidateListTouchBarItemDelegate, NSDraggingSource, NSTextInput, NSTextInputClient, NSTextLayoutOrientationProvider, NSTouchBarDelegate, NSUserInterfaceValidations |
Modified NSTextViewDelegate
Declaration | |
---|---|
From | protocol NSTextViewDelegate : NSTextDelegate { optional func textView(_ textView: NSTextView, clickedOnLink link: Any, at charIndex: Int) -> Bool optional func textView(_ textView: NSTextView, clickedOn cell: NSTextAttachmentCellProtocol, in cellFrame: NSRect, at charIndex: Int) optional func textView(_ textView: NSTextView, doubleClickedOn cell: NSTextAttachmentCellProtocol, in cellFrame: NSRect, at charIndex: Int) optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol, in rect: NSRect, event event: NSEvent, at charIndex: Int) optional func textView(_ view: NSTextView, writablePasteboardTypesFor cell: NSTextAttachmentCellProtocol, at charIndex: Int) -> [String] optional func textView(_ view: NSTextView, write cell: NSTextAttachmentCellProtocol, at charIndex: Int, to pboard: NSPasteboard, type type: String) -> Bool optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRange oldSelectedCharRange: NSRange, toCharacterRange newSelectedCharRange: NSRange) -> NSRange optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRanges oldSelectedCharRanges: [NSValue], toCharacterRanges newSelectedCharRanges: [NSValue]) -> [NSValue] optional func textView(_ textView: NSTextView, shouldChangeTextInRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [String : Any] = [:], toAttributes newTypingAttributes: [String : Any] = [:]) -> [String : Any] optional func textViewDidChangeSelection(_ notification: Notification) optional func textViewDidChangeTypingAttributes(_ notification: Notification) optional func textView(_ textView: NSTextView, willDisplayToolTip tooltip: String, forCharacterAt characterIndex: Int) -> String? optional func textView(_ textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>?) -> [String] optional func textView(_ textView: NSTextView, shouldChangeTextIn affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool optional func textView(_ textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool optional func textView(_ textView: NSTextView, shouldSetSpellingState value: Int, range affectedCharRange: NSRange) -> Int optional func textView(_ view: NSTextView, menu menu: NSMenu, for event: NSEvent, at charIndex: Int) -> NSMenu? optional func textView(_ view: NSTextView, willCheckTextIn range: NSRange, options options: [String : Any] = [:], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [String : Any] optional func textView(_ view: NSTextView, didCheckTextIn range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], results results: [NSTextCheckingResult], orthography orthography: NSOrthography, wordCount wordCount: Int) -> [NSTextCheckingResult] optional func textView(_ textView: NSTextView, urlForContentsOf textAttachment: NSTextAttachment, at charIndex: Int) -> URL? optional func textView(_ textView: NSTextView, willShow servicePicker: NSSharingServicePicker, forItems items: [Any]) -> NSSharingServicePicker? optional func undoManager(for view: NSTextView) -> UndoManager? optional func textView(_ textView: NSTextView, clickedOnLink link: Any!) -> Bool optional func textView(_ textView: NSTextView, clickedOn cell: NSTextAttachmentCellProtocol!, in cellFrame: NSRect) optional func textView(_ textView: NSTextView, doubleClickedOn cell: NSTextAttachmentCellProtocol!, in cellFrame: NSRect) optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol!, in rect: NSRect, event event: NSEvent!) } |
To | protocol NSTextViewDelegate : NSTextDelegate { optional func textView(_ textView: NSTextView, clickedOnLink link: Any, at charIndex: Int) -> Bool optional func textView(_ textView: NSTextView, clickedOn cell: NSTextAttachmentCellProtocol, in cellFrame: NSRect, at charIndex: Int) optional func textView(_ textView: NSTextView, doubleClickedOn cell: NSTextAttachmentCellProtocol, in cellFrame: NSRect, at charIndex: Int) optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol, in rect: NSRect, event event: NSEvent, at charIndex: Int) optional func textView(_ view: NSTextView, writablePasteboardTypesFor cell: NSTextAttachmentCellProtocol, at charIndex: Int) -> [String] optional func textView(_ view: NSTextView, write cell: NSTextAttachmentCellProtocol, at charIndex: Int, to pboard: NSPasteboard, type type: String) -> Bool optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRange oldSelectedCharRange: NSRange, toCharacterRange newSelectedCharRange: NSRange) -> NSRange optional func textView(_ textView: NSTextView, willChangeSelectionFromCharacterRanges oldSelectedCharRanges: [NSValue], toCharacterRanges newSelectedCharRanges: [NSValue]) -> [NSValue] optional func textView(_ textView: NSTextView, shouldChangeTextInRanges affectedRanges: [NSValue], replacementStrings replacementStrings: [String]?) -> Bool optional func textView(_ textView: NSTextView, shouldChangeTypingAttributes oldTypingAttributes: [String : Any] = [:], toAttributes newTypingAttributes: [String : Any] = [:]) -> [String : Any] optional func textViewDidChangeSelection(_ notification: Notification) optional func textViewDidChangeTypingAttributes(_ notification: Notification) optional func textView(_ textView: NSTextView, willDisplayToolTip tooltip: String, forCharacterAt characterIndex: Int) -> String? optional func textView(_ textView: NSTextView, completions words: [String], forPartialWordRange charRange: NSRange, indexOfSelectedItem index: UnsafeMutablePointer<Int>?) -> [String] optional func textView(_ textView: NSTextView, shouldChangeTextIn affectedCharRange: NSRange, replacementString replacementString: String?) -> Bool optional func textView(_ textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool optional func textView(_ textView: NSTextView, shouldSetSpellingState value: Int, range affectedCharRange: NSRange) -> Int optional func textView(_ view: NSTextView, menu menu: NSMenu, for event: NSEvent, at charIndex: Int) -> NSMenu? optional func textView(_ view: NSTextView, willCheckTextIn range: NSRange, options options: [String : Any] = [:], types checkingTypes: UnsafeMutablePointer<NSTextCheckingTypes>) -> [String : Any] optional func textView(_ view: NSTextView, didCheckTextIn range: NSRange, types checkingTypes: NSTextCheckingTypes, options options: [String : Any] = [:], results results: [NSTextCheckingResult], orthography orthography: NSOrthography, wordCount wordCount: Int) -> [NSTextCheckingResult] optional func textView(_ textView: NSTextView, urlForContentsOf textAttachment: NSTextAttachment, at charIndex: Int) -> URL? optional func textView(_ textView: NSTextView, willShow servicePicker: NSSharingServicePicker, forItems items: [Any]) -> NSSharingServicePicker? optional func undoManager(for view: NSTextView) -> UndoManager? optional func textView(_ textView: NSTextView, shouldUpdateTouchBarItemIdentifiers identifiers: [NSTouchBarItemIdentifier]) -> [NSTouchBarItemIdentifier] optional func textView(_ textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]? optional func textView(_ textView: NSTextView, candidates candidates: [NSTextCheckingResult], forSelectedRange selectedRange: NSRange) -> [NSTextCheckingResult] optional func textView(_ textView: NSTextView, shouldSelectCandidateAt index: Int) -> Bool optional func textView(_ textView: NSTextView, clickedOnLink link: Any!) -> Bool optional func textView(_ textView: NSTextView, clickedOn cell: NSTextAttachmentCellProtocol!, in cellFrame: NSRect) optional func textView(_ textView: NSTextView, doubleClickedOn cell: NSTextAttachmentCellProtocol!, in cellFrame: NSRect) optional func textView(_ view: NSTextView, draggedCell cell: NSTextAttachmentCellProtocol!, in rect: NSRect, event event: NSEvent!) } |
Modified NSTitlebarAccessoryViewController
Declaration | Protocols | |
---|---|---|
From | class NSTitlebarAccessoryViewController : NSViewController, NSAnimationDelegate, NSAnimatablePropertyContainer { var layoutAttribute: NSLayoutAttribute var fullScreenMinHeight: CGFloat var isHidden: Bool func viewWillAppear() func viewDidAppear() func viewDidDisappear() var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTitlebarAccessoryViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSTitlebarAccessoryViewController : CVarArg { } extension NSTitlebarAccessoryViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAnimatablePropertyContainer, NSAnimationDelegate, NSExtensionRequestHandling |
To | class NSTitlebarAccessoryViewController : NSViewController, NSAnimationDelegate, NSAnimatablePropertyContainer { var layoutAttribute: NSLayoutAttribute var fullScreenMinHeight: CGFloat var isHidden: Bool func viewWillAppear() func viewDidAppear() func viewDidDisappear() var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (() -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTitlebarAccessoryViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSTitlebarAccessoryViewController : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTitlebarAccessoryViewController : CVarArg { } extension NSTitlebarAccessoryViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSAnimatablePropertyContainer, NSAnimationDelegate, NSExtensionRequestHandling, NSTouchBarProvider |
Modified NSTokenField
Declaration | Protocols | |
---|---|---|
From | class NSTokenField : NSTextField { unowned(unsafe) var delegate: NSTokenFieldDelegate? var tokenStyle: NSTokenStyle var completionDelay: TimeInterval class func defaultCompletionDelay() -> TimeInterval var tokenizingCharacterSet: CharacterSet! class func defaultTokenizingCharacterSet() -> CharacterSet func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTokenField : CVarArg { } extension NSTokenField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSTokenField : NSTextField { unowned(unsafe) var delegate: NSTokenFieldDelegate? var tokenStyle: NSTokenStyle var completionDelay: TimeInterval class func defaultCompletionDelay() -> TimeInterval var tokenizingCharacterSet: CharacterSet! class func defaultTokenizingCharacterSet() -> CharacterSet func setTitleWithMnemonic(_ stringWithAmpersand: String!) var allowsEditingTextAttributes: Bool var importsGraphics: Bool convenience init(labelWithString stringValue: String) class func label(with stringValue: String) -> Self convenience init(wrappingLabelWithString stringValue: String) class func wrappingLabel(with stringValue: String) -> Self convenience init(labelWithAttributedString attributedStringValue: NSAttributedString) class func label(with attributedStringValue: NSAttributedString) -> Self convenience init(string stringValue: String?) class func withString(_ stringValue: String?) -> Self var isAutomaticTextCompletionEnabled: Bool var allowsCharacterPickerTouchBarItem: Bool func invalidateIntrinsicContentSize(for cell: NSCell) func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int) class func setCellClass(_ factoryId: AnyClass?) class func cellClass() -> AnyClass? var cell: NSCell? func selectedCell() -> NSCell? func selectedTag() -> Int func setNeedsDisplay() func calcSize() func updateCell(_ cell: NSCell) func updateCellInside(_ cell: NSCell) func drawCellInside(_ cell: NSCell) func drawCell(_ cell: NSCell) func selectCell(_ cell: NSCell) func currentEditor() -> NSText? func abortEditing() -> Bool func validateEditing() func edit(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, event event: NSEvent) func select(withFrame rect: NSRect, editor textObj: NSText, delegate delegate: Any?, start selStart: Int, length selLength: Int) func endEditing(_ textObj: NSText) var alignment: NSTextAlignment @NSCopying var font: NSFont? var lineBreakMode: NSLineBreakMode var usesSingleLineMode: Bool var baseWritingDirection: NSWritingDirection var allowsExpansionToolTips: Bool func expansionFrame(withFrame contentFrame: NSRect) -> NSRect func draw(withExpansionFrame contentFrame: NSRect, in view: NSView) func performClick(_ sender: Any?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTokenField : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSTokenField : CVarArg { } extension NSTokenField : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSTouch
Declaration | |
---|---|
From | class NSTouch : NSObject, NSCopying { var identity: NSCopying & NSObjectProtocol { get } var phase: NSTouchPhase { get } var normalizedPosition: NSPoint { get } var isResting: Bool { get } var device: Any? { get } var deviceSize: NSSize { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSTouch : CVarArg { } extension NSTouch : Equatable, Hashable { var hashValue: Int { get } } |
To | class NSTouch : NSObject, NSCopying { var identity: NSCopying & NSObjectProtocol { get } var phase: NSTouchPhase { get } var normalizedPosition: NSPoint { get } var isResting: Bool { get } var device: Any? { get } var deviceSize: NSSize { get } var type: NSTouchType { get } func location(in view: NSView?) -> NSPoint func previousLocation(in view: NSView?) -> NSPoint func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension NSTouch : CVarArg { } extension NSTouch : Equatable, Hashable { var hashValue: Int { get } } extension NSTouch { var type: NSTouchType { get } func location(in view: NSView?) -> NSPoint func previousLocation(in view: NSView?) -> NSPoint } |
Modified NSView
Declaration | Protocols | |
---|---|---|
From | class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { init(frame frameRect: NSRect) init?(coder coder: NSCoder) unowned(unsafe) var window: NSWindow? { get } unowned(unsafe) var superview: NSView? { get } var subviews: [NSView] func isDescendant(of view: NSView) -> Bool func ancestorShared(with view: NSView) -> NSView? unowned(unsafe) var opaqueAncestor: NSView? { get } var isHidden: Bool var isHiddenOrHasHiddenAncestor: Bool { get } func getRectsBeingDrawn(_ rects: UnsafeMutablePointer<UnsafePointer<NSRect>?>?, count count: UnsafeMutablePointer<Int>?) func needsToDraw(_ rect: NSRect) -> Bool var wantsDefaultClipping: Bool { get } func viewDidHide() func viewDidUnhide() func addSubview(_ view: NSView) func addSubview(_ view: NSView, positioned place: NSWindowOrderingMode, relativeTo otherView: NSView?) func sortSubviews(_ compare: (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context context: UnsafeMutableRawPointer?) func viewWillMove(toWindow newWindow: NSWindow?) func viewDidMoveToWindow() func viewWillMove(toSuperview newSuperview: NSView?) func viewDidMoveToSuperview() func didAddSubview(_ subview: NSView) func willRemoveSubview(_ subview: NSView) func removeFromSuperview() func replaceSubview(_ oldView: NSView, with newView: NSView) func removeFromSuperviewWithoutNeedingDisplay() func viewDidChangeBackingProperties() var postsFrameChangedNotifications: Bool func resizeSubviews(withOldSize oldSize: NSSize) func resize(withOldSuperviewSize oldSize: NSSize) var autoresizesSubviews: Bool var autoresizingMask: NSAutoresizingMaskOptions func setFrameOrigin(_ newOrigin: NSPoint) func setFrameSize(_ newSize: NSSize) var frame: NSRect var frameRotation: CGFloat var frameCenterRotation: CGFloat func setBoundsOrigin(_ newOrigin: NSPoint) func setBoundsSize(_ newSize: NSSize) var boundsRotation: CGFloat func translateOrigin(to translation: NSPoint) func scaleUnitSquare(to newUnitSize: NSSize) func rotate(byDegrees angle: CGFloat) var bounds: NSRect var isFlipped: Bool { get } var isRotatedFromBase: Bool { get } var isRotatedOrScaledFromBase: Bool { get } var isOpaque: Bool { get } func convert(_ point: NSPoint, from view: NSView?) -> NSPoint func convert(_ point: NSPoint, to view: NSView?) -> NSPoint func convert(_ size: NSSize, from view: NSView?) -> NSSize func convert(_ size: NSSize, to view: NSView?) -> NSSize func convert(_ rect: NSRect, from view: NSView?) -> NSRect func convert(_ rect: NSRect, to view: NSView?) -> NSRect func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect func centerScanRect(_ rect: NSRect) -> NSRect func convertToBacking(_ point: NSPoint) -> NSPoint func convertFromBacking(_ point: NSPoint) -> NSPoint func convertToBacking(_ size: NSSize) -> NSSize func convertFromBacking(_ size: NSSize) -> NSSize func convertToBacking(_ rect: NSRect) -> NSRect func convertFromBacking(_ rect: NSRect) -> NSRect func convertToLayer(_ point: NSPoint) -> NSPoint func convertFromLayer(_ point: NSPoint) -> NSPoint func convertToLayer(_ size: NSSize) -> NSSize func convertFromLayer(_ size: NSSize) -> NSSize func convertToLayer(_ rect: NSRect) -> NSRect func convertFromLayer(_ rect: NSRect) -> NSRect var canDrawConcurrently: Bool var canDraw: Bool { get } func setNeedsDisplay(_ invalidRect: NSRect) var needsDisplay: Bool func lockFocus() func unlockFocus() func lockFocusIfCanDraw() -> Bool func lockFocusIfCanDraw(in context: NSGraphicsContext) -> Bool class func focusView() -> NSView? var visibleRect: NSRect { get } func display() func displayIfNeeded() func displayIfNeededIgnoringOpacity() func display(_ rect: NSRect) func displayIfNeeded(_ rect: NSRect) func displayIgnoringOpacity(_ rect: NSRect) func displayIfNeededIgnoringOpacity(_ rect: NSRect) func draw(_ dirtyRect: NSRect) func displayIgnoringOpacity(_ rect: NSRect, in context: NSGraphicsContext) func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep? func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep) func viewWillDraw() func scroll(_ point: NSPoint) func scrollToVisible(_ rect: NSRect) -> Bool func autoscroll(with event: NSEvent) -> Bool func adjustScroll(_ newVisible: NSRect) -> NSRect func scroll(_ rect: NSRect, by delta: NSSize) func translateRectsNeedingDisplay(in clipRect: NSRect, by delta: NSSize) func hitTest(_ point: NSPoint) -> NSView? func mouse(_ point: NSPoint, in rect: NSRect) -> Bool func viewWithTag(_ tag: Int) -> NSView? var tag: Int { get } func performKeyEquivalent(with event: NSEvent) -> Bool func acceptsFirstMouse(for event: NSEvent?) -> Bool func shouldDelayWindowOrdering(for event: NSEvent) -> Bool var needsPanelToBecomeKey: Bool { get } var mouseDownCanMoveWindow: Bool { get } var acceptsTouchEvents: Bool var wantsRestingTouches: Bool func addCursorRect(_ rect: NSRect, cursor object: NSCursor) func removeCursorRect(_ rect: NSRect, cursor object: NSCursor) func discardCursorRects() func resetCursorRects() func addTrackingRect(_ rect: NSRect, owner owner: Any, userData data: UnsafeMutableRawPointer?, assumeInside flag: Bool) -> NSTrackingRectTag func removeTrackingRect(_ tag: NSTrackingRectTag) func makeBackingLayer() -> CALayer var layerContentsRedrawPolicy: NSViewLayerContentsRedrawPolicy var layerContentsPlacement: NSViewLayerContentsPlacement var wantsLayer: Bool var layer: CALayer? var wantsUpdateLayer: Bool { get } func updateLayer() var canDrawSubviewsIntoLayer: Bool var alphaValue: CGFloat var layerUsesCoreImageFilters: Bool var backgroundFilters: [CIFilter] var compositingFilter: CIFilter? var contentFilters: [CIFilter] @NSCopying var shadow: NSShadow? func addTrackingArea(_ trackingArea: NSTrackingArea) func removeTrackingArea(_ trackingArea: NSTrackingArea) var trackingAreas: [NSTrackingArea] { get } func updateTrackingAreas() var postsBoundsChangedNotifications: Bool var enclosingScrollView: NSScrollView? { get } func menu(for event: NSEvent) -> NSMenu? class func defaultMenu() -> NSMenu? func willOpenMenu(_ menu: NSMenu, with event: NSEvent) func didCloseMenu(_ menu: NSMenu, with event: NSEvent?) var toolTip: String? func addToolTip(_ rect: NSRect, owner owner: Any, userData data: UnsafeMutableRawPointer?) -> NSToolTipTag func removeToolTip(_ tag: NSToolTipTag) func removeAllToolTips() func viewWillStartLiveResize() func viewDidEndLiveResize() var inLiveResize: Bool { get } var preservesContentDuringLiveResize: Bool { get } var rectPreservedDuringLiveResize: NSRect { get } func getRectsExposedDuringLiveResize(_ exposedRects: UnsafeMutablePointer<NSRect>!, count count: UnsafeMutablePointer<Int>) var inputContext: NSTextInputContext? { get } func rectForSmartMagnification(at location: NSPoint, in visibleRect: NSRect) -> NSRect var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func prepareForReuse() class func isCompatibleWithResponsiveScrolling() -> Bool func prepareContent(in rect: NSRect) var preparedContentRect: NSRect var allowsVibrancy: Bool { get } unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) var isDrawingFindIndicator: Bool { get } var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var enclosingMenuItem: NSMenuItem? { get } var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var fittingSize: NSSize { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint var wantsBestResolutionOpenGLSurface: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var pressureConfiguration: NSPressureConfiguration? func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func changeColor(_ sender: Any?) func awakeFromNib() func prepareForInterfaceBuilder() func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? } extension NSView { func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) } extension NSView { var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) } extension NSView { func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool } extension NSView { var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool } extension NSView { func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) } extension NSView { var fittingSize: NSSize { get } } extension NSView { func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() } extension NSView { func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } } extension NSView { var enclosingMenuItem: NSMenuItem? { get } } extension NSView { var wantsBestResolutionOpenGLSurface: Bool } extension NSView { var wantsExtendedDynamicRangeOpenGLSurface: Bool } extension NSView { var pressureConfiguration: NSPressureConfiguration? } extension NSView { func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint } extension NSView : CVarArg { } extension NSView : Equatable, Hashable { var hashValue: Int { get } } extension NSView { unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() } extension NSView { func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() } extension NSView { func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool } extension NSView { func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } } extension NSView { func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) } extension NSView { var isDrawingFindIndicator: Bool { get } } extension NSView { var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) } extension NSView { func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() } extension NSView { } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSDraggingDestination, NSUserInterfaceItemIdentification |
To | class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { init(frame frameRect: NSRect) init?(coder coder: NSCoder) unowned(unsafe) var window: NSWindow? { get } unowned(unsafe) var superview: NSView? { get } var subviews: [NSView] func isDescendant(of view: NSView) -> Bool func ancestorShared(with view: NSView) -> NSView? unowned(unsafe) var opaqueAncestor: NSView? { get } var isHidden: Bool var isHiddenOrHasHiddenAncestor: Bool { get } func getRectsBeingDrawn(_ rects: UnsafeMutablePointer<UnsafePointer<NSRect>?>?, count count: UnsafeMutablePointer<Int>?) func needsToDraw(_ rect: NSRect) -> Bool var wantsDefaultClipping: Bool { get } func viewDidHide() func viewDidUnhide() func addSubview(_ view: NSView) func addSubview(_ view: NSView, positioned place: NSWindowOrderingMode, relativeTo otherView: NSView?) func sortSubviews(_ compare: (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context context: UnsafeMutableRawPointer?) func viewWillMove(toWindow newWindow: NSWindow?) func viewDidMoveToWindow() func viewWillMove(toSuperview newSuperview: NSView?) func viewDidMoveToSuperview() func didAddSubview(_ subview: NSView) func willRemoveSubview(_ subview: NSView) func removeFromSuperview() func replaceSubview(_ oldView: NSView, with newView: NSView) func removeFromSuperviewWithoutNeedingDisplay() func viewDidChangeBackingProperties() var postsFrameChangedNotifications: Bool func resizeSubviews(withOldSize oldSize: NSSize) func resize(withOldSuperviewSize oldSize: NSSize) var autoresizesSubviews: Bool var autoresizingMask: NSAutoresizingMaskOptions func setFrameOrigin(_ newOrigin: NSPoint) func setFrameSize(_ newSize: NSSize) var frame: NSRect var frameRotation: CGFloat var frameCenterRotation: CGFloat func setBoundsOrigin(_ newOrigin: NSPoint) func setBoundsSize(_ newSize: NSSize) var boundsRotation: CGFloat func translateOrigin(to translation: NSPoint) func scaleUnitSquare(to newUnitSize: NSSize) func rotate(byDegrees angle: CGFloat) var bounds: NSRect var isFlipped: Bool { get } var isRotatedFromBase: Bool { get } var isRotatedOrScaledFromBase: Bool { get } var isOpaque: Bool { get } func convert(_ point: NSPoint, from view: NSView?) -> NSPoint func convert(_ point: NSPoint, to view: NSView?) -> NSPoint func convert(_ size: NSSize, from view: NSView?) -> NSSize func convert(_ size: NSSize, to view: NSView?) -> NSSize func convert(_ rect: NSRect, from view: NSView?) -> NSRect func convert(_ rect: NSRect, to view: NSView?) -> NSRect func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect func centerScanRect(_ rect: NSRect) -> NSRect func convertToBacking(_ point: NSPoint) -> NSPoint func convertFromBacking(_ point: NSPoint) -> NSPoint func convertToBacking(_ size: NSSize) -> NSSize func convertFromBacking(_ size: NSSize) -> NSSize func convertToBacking(_ rect: NSRect) -> NSRect func convertFromBacking(_ rect: NSRect) -> NSRect func convertToLayer(_ point: NSPoint) -> NSPoint func convertFromLayer(_ point: NSPoint) -> NSPoint func convertToLayer(_ size: NSSize) -> NSSize func convertFromLayer(_ size: NSSize) -> NSSize func convertToLayer(_ rect: NSRect) -> NSRect func convertFromLayer(_ rect: NSRect) -> NSRect var canDrawConcurrently: Bool var canDraw: Bool { get } func setNeedsDisplay(_ invalidRect: NSRect) var needsDisplay: Bool func lockFocus() func unlockFocus() func lockFocusIfCanDraw() -> Bool func lockFocusIfCanDraw(in context: NSGraphicsContext) -> Bool class func focusView() -> NSView? var visibleRect: NSRect { get } func display() func displayIfNeeded() func displayIfNeededIgnoringOpacity() func display(_ rect: NSRect) func displayIfNeeded(_ rect: NSRect) func displayIgnoringOpacity(_ rect: NSRect) func displayIfNeededIgnoringOpacity(_ rect: NSRect) func draw(_ dirtyRect: NSRect) func displayIgnoringOpacity(_ rect: NSRect, in context: NSGraphicsContext) func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep? func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep) func viewWillDraw() func scroll(_ point: NSPoint) func scrollToVisible(_ rect: NSRect) -> Bool func autoscroll(with event: NSEvent) -> Bool func adjustScroll(_ newVisible: NSRect) -> NSRect func scroll(_ rect: NSRect, by delta: NSSize) func translateRectsNeedingDisplay(in clipRect: NSRect, by delta: NSSize) func hitTest(_ point: NSPoint) -> NSView? func mouse(_ point: NSPoint, in rect: NSRect) -> Bool func viewWithTag(_ tag: Int) -> NSView? var tag: Int { get } func performKeyEquivalent(with event: NSEvent) -> Bool func acceptsFirstMouse(for event: NSEvent?) -> Bool func shouldDelayWindowOrdering(for event: NSEvent) -> Bool var needsPanelToBecomeKey: Bool { get } var mouseDownCanMoveWindow: Bool { get } var acceptsTouchEvents: Bool var wantsRestingTouches: Bool func addCursorRect(_ rect: NSRect, cursor object: NSCursor) func removeCursorRect(_ rect: NSRect, cursor object: NSCursor) func discardCursorRects() func resetCursorRects() func addTrackingRect(_ rect: NSRect, owner owner: Any, userData data: UnsafeMutableRawPointer?, assumeInside flag: Bool) -> NSTrackingRectTag func removeTrackingRect(_ tag: NSTrackingRectTag) func makeBackingLayer() -> CALayer var layerContentsRedrawPolicy: NSViewLayerContentsRedrawPolicy var layerContentsPlacement: NSViewLayerContentsPlacement var wantsLayer: Bool var layer: CALayer? var wantsUpdateLayer: Bool { get } func updateLayer() var canDrawSubviewsIntoLayer: Bool var alphaValue: CGFloat var layerUsesCoreImageFilters: Bool var backgroundFilters: [CIFilter] var compositingFilter: CIFilter? var contentFilters: [CIFilter] @NSCopying var shadow: NSShadow? func addTrackingArea(_ trackingArea: NSTrackingArea) func removeTrackingArea(_ trackingArea: NSTrackingArea) var trackingAreas: [NSTrackingArea] { get } func updateTrackingAreas() var postsBoundsChangedNotifications: Bool var enclosingScrollView: NSScrollView? { get } func menu(for event: NSEvent) -> NSMenu? class func defaultMenu() -> NSMenu? func willOpenMenu(_ menu: NSMenu, with event: NSEvent) func didCloseMenu(_ menu: NSMenu, with event: NSEvent?) var toolTip: String? func addToolTip(_ rect: NSRect, owner owner: Any, userData data: UnsafeMutableRawPointer?) -> NSToolTipTag func removeToolTip(_ tag: NSToolTipTag) func removeAllToolTips() func viewWillStartLiveResize() func viewDidEndLiveResize() var inLiveResize: Bool { get } var preservesContentDuringLiveResize: Bool { get } var rectPreservedDuringLiveResize: NSRect { get } func getRectsExposedDuringLiveResize(_ exposedRects: UnsafeMutablePointer<NSRect>!, count count: UnsafeMutablePointer<Int>) var inputContext: NSTextInputContext? { get } func rectForSmartMagnification(at location: NSPoint, in visibleRect: NSRect) -> NSRect var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection func prepareForReuse() class func isCompatibleWithResponsiveScrolling() -> Bool func prepareContent(in rect: NSRect) var preparedContentRect: NSRect var allowsVibrancy: Bool { get } unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) var isDrawingFindIndicator: Bool { get } var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var allowedTouchTypes: NSTouchTypeMask func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var enclosingMenuItem: NSMenuItem? { get } var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var fittingSize: NSSize { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint var wantsBestResolutionOpenGLSurface: Bool var wantsExtendedDynamicRangeOpenGLSurface: Bool var pressureConfiguration: NSPressureConfiguration? func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func changeFont(_ sender: Any?) func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func changeColor(_ sender: Any?) func awakeFromNib() func prepareForInterfaceBuilder() func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func validateToolbarItem(_ item: NSToolbarItem) -> Bool class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) } extension NSView { var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } } extension NSView { func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) } extension NSView { var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) } extension NSView { func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool } extension NSView { var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool } extension NSView { func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) } extension NSView { var fittingSize: NSSize { get } } extension NSView { func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() } extension NSView { func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } } extension NSView { var enclosingMenuItem: NSMenuItem? { get } } extension NSView { var wantsBestResolutionOpenGLSurface: Bool } extension NSView { var wantsExtendedDynamicRangeOpenGLSurface: Bool } extension NSView { var pressureConfiguration: NSPressureConfiguration? } extension NSView { func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint } extension NSView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSView : CVarArg { } extension NSView : Equatable, Hashable { var hashValue: Int { get } } extension NSView { unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() } extension NSView { func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() } extension NSView { func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool } extension NSView { func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } } extension NSView { func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) } extension NSView { var isDrawingFindIndicator: Bool { get } } extension NSView { var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) } extension NSView { var allowedTouchTypes: NSTouchTypeMask } extension NSView { func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() } extension NSView { } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSDraggingDestination, NSTouchBarProvider, NSUserInterfaceItemIdentification |
Modified NSView.acceptsTouchEvents
Deprecation | |
---|---|
From | -- |
To | OS X 10.12.1 |
Declaration | |
---|---|
From | func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) |
To | func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) |
Modified NSViewController
Declaration | Protocols | |
---|---|---|
From | class NSViewController : NSResponder, NSCoding, NSSeguePerforming, NSUserInterfaceItemIdentification { init?(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) init?(coder coder: NSCoder) var nibName: String? { get } var nibBundle: Bundle? { get } var representedObject: Any? var title: String? var view: NSView func loadView() func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditing() -> Bool func discardEditing() func viewDidLoad() var isViewLoaded: Bool { get } func viewWillAppear() func viewDidAppear() func viewWillDisappear() func viewDidDisappear() var preferredContentSize: NSSize func updateViewConstraints() func viewWillLayout() func viewDidLayout() func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Swift.Void)? = nil) var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) var storyboard: NSStoryboard? { get } @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } } extension NSViewController : CVarArg { } extension NSViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSViewController : Equatable, Hashable { var hashValue: Int { get } } extension NSViewController { func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } } extension NSViewController { func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Swift.Void)? = nil) } extension NSViewController { var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) } extension NSViewController { var storyboard: NSStoryboard? { get } } extension NSViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSViewController { func present(inWidget viewController: NSViewController) } | CVarArg, Equatable, Hashable, NSCoding, NSExtensionRequestHandling, NSSeguePerforming, NSUserInterfaceItemIdentification |
To | class NSViewController : NSResponder, NSCoding, NSSeguePerforming, NSUserInterfaceItemIdentification { init?(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) init?(coder coder: NSCoder) var nibName: String? { get } var nibBundle: Bundle? { get } var representedObject: Any? var title: String? var view: NSView func loadView() func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditing() -> Bool func discardEditing() func viewDidLoad() var isViewLoaded: Bool { get } func viewWillAppear() func viewDidAppear() func viewWillDisappear() func viewDidDisappear() var preferredContentSize: NSSize func updateViewConstraints() func viewWillLayout() func viewDidLayout() func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (() -> Swift.Void)? = nil) var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) var storyboard: NSStoryboard? { get } @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } } extension NSViewController : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSViewController : CVarArg { } extension NSViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSViewController : Equatable, Hashable { var hashValue: Int { get } } extension NSViewController { func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } } extension NSViewController { func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (() -> Swift.Void)? = nil) } extension NSViewController { var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) } extension NSViewController { var storyboard: NSStoryboard? { get } } extension NSViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension NSViewController { func present(inWidget viewController: NSViewController) } | CVarArg, Equatable, Hashable, NSCoding, NSExtensionRequestHandling, NSSeguePerforming, NSTouchBarProvider, NSUserInterfaceItemIdentification |
Declaration | |
---|---|
From | func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Swift.Void)? = nil) |
To | func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (() -> Swift.Void)? = nil) |
Modified NSVisualEffectView
Declaration | Protocols | |
---|---|---|
From | class NSVisualEffectView : NSView { var material: NSVisualEffectMaterial var interiorBackgroundStyle: NSBackgroundStyle { get } var blendingMode: NSVisualEffectBlendingMode var state: NSVisualEffectState var maskImage: NSImage? var isEmphasized: Bool func viewDidMoveToWindow() func viewWillMove(toWindow newWindow: NSWindow?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: (@escaping (NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSVisualEffectView : CVarArg { } extension NSVisualEffectView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
To | class NSVisualEffectView : NSView { var material: NSVisualEffectMaterial var interiorBackgroundStyle: NSBackgroundStyle { get } var blendingMode: NSVisualEffectBlendingMode var state: NSVisualEffectState var maskImage: NSImage? var isEmphasized: Bool func viewDidMoveToWindow() func viewWillMove(toWindow newWindow: NSWindow?) var pressureConfiguration: NSPressureConfiguration? var wantsExtendedDynamicRangeOpenGLSurface: Bool var wantsBestResolutionOpenGLSurface: Bool func rulerView(_ ruler: NSRulerView, shouldMove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willMove marker: NSRulerMarker, toLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didMove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldRemove marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, shouldAdd marker: NSRulerMarker) -> Bool func rulerView(_ ruler: NSRulerView, willAdd marker: NSRulerMarker, atLocation location: CGFloat) -> CGFloat func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker) func rulerView(_ ruler: NSRulerView, handleMouseDownWith event: NSEvent) func rulerView(_ ruler: NSRulerView, willSetClientView newClient: NSView) func rulerView(_ ruler: NSRulerView, locationFor point: NSPoint) -> CGFloat func rulerView(_ ruler: NSRulerView, pointForLocation point: CGFloat) -> NSPoint func addLayoutGuide(_ guide: NSLayoutGuide) func removeLayoutGuide(_ guide: NSLayoutGuide) var layoutGuides: [NSLayoutGuide] { get } func constraintsAffectingLayout(for orientation: NSLayoutConstraintOrientation) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var fittingSize: NSSize { get } func alignmentRect(forFrame frame: NSRect) -> NSRect func frame(forAlignmentRect alignmentRect: NSRect) -> NSRect var alignmentRectInsets: EdgeInsets { get } var firstBaselineOffsetFromTop: CGFloat { get } var lastBaselineOffsetFromBottom: CGFloat { get } var baselineOffsetFromBottom: CGFloat { get } var intrinsicContentSize: NSSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentHuggingPriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) func contentCompressionResistancePriority(for orientation: NSLayoutConstraintOrientation) -> NSLayoutPriority func setContentCompressionResistancePriority(_ priority: NSLayoutPriority, for orientation: NSLayoutConstraintOrientation) var translatesAutoresizingMaskIntoConstraints: Bool class func requiresConstraintBasedLayout() -> Bool func updateConstraintsForSubtreeIfNeeded() func updateConstraints() var needsUpdateConstraints: Bool func layoutSubtreeIfNeeded() func layout() var needsLayout: Bool var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) var enclosingMenuItem: NSMenuItem? { get } func reflectScrolledClipView(_ clipView: NSClipView) func scroll(_ clipView: NSClipView, to point: NSPoint) var candidateListTouchBarItem: NSCandidateListTouchBarItem<AnyObject>? { get } func drag(_ image: NSImage, at viewLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func convertPoint(toBase point: NSPoint) -> NSPoint func convertPoint(fromBase point: NSPoint) -> NSPoint func convertSize(toBase size: NSSize) -> NSSize func convertSize(fromBase size: NSSize) -> NSSize func convertRect(toBase rect: NSRect) -> NSRect func convertRect(fromBase rect: NSRect) -> NSRect func performMnemonic(_ string: String) -> Bool func shouldDrawColor() -> Bool func gState() -> Int func allocateGState() func releaseGState() func setUpGState() func renewGState() var allowedTouchTypes: NSTouchTypeMask var gestureRecognizers: [NSGestureRecognizer] func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer) var isDrawingFindIndicator: Bool { get } func showDefinition(for attrString: NSAttributedString?, at textBaselineOrigin: NSPoint) func showDefinition(for attrString: NSAttributedString?, range targetRange: NSRange, options options: [String : Any]? = nil, baselineOriginProvider originProvider: ((NSRange) -> NSPoint)? = nil) func enterFullScreenMode(_ screen: NSScreen, withOptions options: [String : Any]? = nil) -> Bool func exitFullScreenMode(options options: [String : Any]? = nil) var isInFullScreenMode: Bool { get } func beginDraggingSession(with items: [NSDraggingItem], event event: NSEvent, source source: NSDraggingSource) -> NSDraggingSession var registeredDraggedTypes: [String] { get } func register(forDraggedTypes newTypes: [String]) func unregisterDraggedTypes() func dragFile(_ filename: String, from rect: NSRect, slideBack flag: Bool, event event: NSEvent) -> Bool func dragPromisedFiles(ofTypes typeArray: [String], from rect: NSRect, source sourceObject: Any, slideBack flag: Bool, event event: NSEvent) -> Bool func writeEPS(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithEPS(inside rect: NSRect) -> Data func writePDF(inside rect: NSRect, to pasteboard: NSPasteboard) func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) func knowsPageRange(_ range: NSRangePointer) -> Bool var heightAdjustLimit: CGFloat { get } var widthAdjustLimit: CGFloat { get } func adjustPageWidthNew(_ newRight: UnsafeMutablePointer<CGFloat>, left oldLeft: CGFloat, right oldRight: CGFloat, limit rightLimit: CGFloat) func adjustPageHeightNew(_ newBottom: UnsafeMutablePointer<CGFloat>, top oldTop: CGFloat, bottom oldBottom: CGFloat, limit bottomLimit: CGFloat) func rectForPage(_ page: Int) -> NSRect func locationOfPrintRect(_ rect: NSRect) -> NSPoint func drawPageBorder(with borderSize: NSSize) @NSCopying var pageHeader: NSAttributedString { get } @NSCopying var pageFooter: NSAttributedString { get } func drawSheetBorder(with borderSize: NSSize) var printJobTitle: String { get } func beginDocument() func endDocument() func beginPage(in rect: NSRect, atPlacement location: NSPoint) func endPage() unowned(unsafe) var nextKeyView: NSView? unowned(unsafe) var previousKeyView: NSView? { get } unowned(unsafe) var nextValidKeyView: NSView? { get } unowned(unsafe) var previousValidKeyView: NSView? { get } var canBecomeKeyView: Bool { get } func setKeyboardFocusRingNeedsDisplay(_ rect: NSRect) var focusRingType: NSFocusRingType class func defaultFocusRingType() -> NSFocusRingType func drawFocusRingMask() var focusRingMaskBounds: NSRect { get } func noteFocusRingMaskChanged() func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension NSVisualEffectView : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSVisualEffectView : CVarArg { } extension NSVisualEffectView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified NSWindow
Declaration | Protocols | |
---|---|---|
From | class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { class func frameRect(forContentRect cRect: NSRect, styleMask style: NSWindowStyleMask) -> NSRect class func contentRect(forFrameRect fRect: NSRect, styleMask style: NSWindowStyleMask) -> NSRect class func minFrameWidth(withTitle title: String, styleMask style: NSWindowStyleMask) -> CGFloat class func defaultDepthLimit() -> NSWindowDepth func frameRect(forContentRect contentRect: NSRect) -> NSRect func contentRect(forFrameRect frameRect: NSRect) -> NSRect init(contentRect contentRect: NSRect, styleMask style: NSWindowStyleMask, backing bufferingType: NSBackingStoreType, defer flag: Bool) convenience init(contentRect contentRect: NSRect, styleMask style: NSWindowStyleMask, backing bufferingType: NSBackingStoreType, defer flag: Bool, screen screen: NSScreen?) convenience init(coder coder: NSCoder) var title: String var titleVisibility: NSWindowTitleVisibility var titlebarAppearsTransparent: Bool var contentLayoutRect: NSRect { get } var contentLayoutGuide: Any? { get } var titlebarAccessoryViewControllers: [NSTitlebarAccessoryViewController] func addTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController) func insertTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController, at index: Int) func removeTitlebarAccessoryViewController(at index: Int) var representedURL: URL? var representedFilename: String func setTitleWithRepresentedFilename(_ filename: String) var isExcludedFromWindowsMenu: Bool var contentView: NSView? unowned(unsafe) var delegate: NSWindowDelegate? var windowNumber: Int { get } var styleMask: NSWindowStyleMask func fieldEditor(_ createFlag: Bool, for object: Any?) -> NSText? func endEditing(for object: Any?) func constrainFrameRect(_ frameRect: NSRect, to screen: NSScreen?) -> NSRect func setFrame(_ frameRect: NSRect, display flag: Bool) func setContentSize(_ size: NSSize) func setFrameOrigin(_ point: NSPoint) func setFrameTopLeftPoint(_ point: NSPoint) func cascadeTopLeft(from topLeftPoint: NSPoint) -> NSPoint var frame: NSRect { get } func animationResizeTime(_ newFrame: NSRect) -> TimeInterval func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool) var inLiveResize: Bool { get } var showsResizeIndicator: Bool var resizeIncrements: NSSize var aspectRatio: NSSize var contentResizeIncrements: NSSize var contentAspectRatio: NSSize func disableFlushing() func enableFlushing() var isFlushWindowDisabled: Bool { get } func flush() func flushIfNeeded() var viewsNeedDisplay: Bool func displayIfNeeded() func display() var isAutodisplay: Bool var preservesContentDuringLiveResize: Bool func update() func makeFirstResponder(_ responder: NSResponder?) -> Bool unowned(unsafe) var firstResponder: NSResponder { get } var resizeFlags: Int { get } func keyDown(with event: NSEvent) func close() var isReleasedWhenClosed: Bool func miniaturize(_ sender: Any?) func deminiaturize(_ sender: Any?) var isZoomed: Bool { get } func zoom(_ sender: Any?) var isMiniaturized: Bool { get } func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? @NSCopying var backgroundColor: NSColor! func setContentBorderThickness(_ thickness: CGFloat, for edge: NSRectEdge) func contentBorderThickness(for edge: NSRectEdge) -> CGFloat func setAutorecalculatesContentBorderThickness(_ flag: Bool, for edge: NSRectEdge) func autorecalculatesContentBorderThickness(for edge: NSRectEdge) -> Bool var isMovable: Bool var isMovableByWindowBackground: Bool var hidesOnDeactivate: Bool var canHide: Bool func center() func makeKeyAndOrderFront(_ sender: Any?) func orderFront(_ sender: Any?) func orderBack(_ sender: Any?) func orderOut(_ sender: Any?) func order(_ place: NSWindowOrderingMode, relativeTo otherWin: Int) func orderFrontRegardless() var miniwindowImage: NSImage? var miniwindowTitle: String! var dockTile: NSDockTile { get } var isDocumentEdited: Bool var isVisible: Bool { get } var isKeyWindow: Bool { get } var isMainWindow: Bool { get } var canBecomeKey: Bool { get } var canBecomeMain: Bool { get } func makeKey() func makeMain() func becomeKey() func resignKey() func becomeMain() func resignMain() var worksWhenModal: Bool { get } var preventsApplicationTerminationWhenModal: Bool func convertToScreen(_ rect: NSRect) -> NSRect func convertFromScreen(_ rect: NSRect) -> NSRect func convertToBacking(_ rect: NSRect) -> NSRect func convertFromBacking(_ rect: NSRect) -> NSRect func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect var backingScaleFactor: CGFloat { get } func performClose(_ sender: Any?) func performMiniaturize(_ sender: Any?) func performZoom(_ sender: Any?) var isOneShot: Bool func dataWithEPS(inside rect: NSRect) -> Data func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) var allowsToolTipsWhenApplicationIsInactive: Bool var backingType: NSBackingStoreType var level: Int var depthLimit: NSWindowDepth func setDynamicDepthLimit(_ flag: Bool) var hasDynamicDepthLimit: Bool { get } var screen: NSScreen? { get } var deepestScreen: NSScreen? { get } var hasShadow: Bool func invalidateShadow() var alphaValue: CGFloat var isOpaque: Bool var sharingType: NSWindowSharingType var preferredBackingLocation: NSWindowBackingLocation var backingLocation: NSWindowBackingLocation { get } var allowsConcurrentViewDrawing: Bool var displaysWhenScreenProfileChanges: Bool func disableScreenUpdatesUntilFlush() var canBecomeVisibleWithoutLogin: Bool var collectionBehavior: NSWindowCollectionBehavior var animationBehavior: NSWindowAnimationBehavior var isOnActiveSpace: Bool { get } func toggleFullScreen(_ sender: Any?) var stringWithSavedFrame: String { get } func setFrameFrom(_ string: String) func saveFrame(usingName name: String) func setFrameUsingName(_ name: String, force force: Bool) -> Bool func setFrameUsingName(_ name: String) -> Bool func setFrameAutosaveName(_ name: String) -> Bool var frameAutosaveName: String { get } class func removeFrame(usingName name: String) func cacheImage(in rect: NSRect) func restoreCachedImage() func discardCachedImage() var minSize: NSSize var maxSize: NSSize var contentMinSize: NSSize var contentMaxSize: NSSize var minFullScreenContentSize: NSSize var maxFullScreenContentSize: NSSize var deviceDescription: [String : Any] { get } unowned(unsafe) var windowController: NSWindowController? func beginSheet(_ sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) func beginCriticalSheet(_ sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) func endSheet(_ sheetWindow: NSWindow) func endSheet(_ sheetWindow: NSWindow, returnCode returnCode: NSModalResponse) var sheets: [NSWindow] { get } var attachedSheet: NSWindow? { get } var isSheet: Bool { get } var sheetParent: NSWindow? { get } class func standardWindowButton(_ b: NSWindowButton, for styleMask: NSWindowStyleMask) -> NSButton? func standardWindowButton(_ b: NSWindowButton) -> NSButton? func addChildWindow(_ childWin: NSWindow, ordered place: NSWindowOrderingMode) func removeChildWindow(_ childWin: NSWindow) var childWindows: [NSWindow]? { get } unowned(unsafe) var parent: NSWindow? var graphicsContext: NSGraphicsContext? { get } var colorSpace: NSColorSpace? func canRepresent(_ displayGamut: NSDisplayGamut) -> Bool class func windowNumbers(withOptions options: NSWindowNumberListOptions) -> [NSNumber]? class func windowNumber(at point: NSPoint, belowWindowWithWindowNumber windowNumber: Int) -> Int var occlusionState: NSWindowOcclusionState { get } var contentViewController: NSViewController? convenience init(contentViewController contentViewController: NSViewController) class func withContentViewController(_ contentViewController: NSViewController) -> Self func performDrag(with event: NSEvent) unowned(unsafe) var initialFirstResponder: NSView? func selectNextKeyView(_ sender: Any?) func selectPreviousKeyView(_ sender: Any?) func selectKeyView(following view: NSView) func selectKeyView(preceding view: NSView) var keyViewSelectionDirection: NSSelectionDirection { get } var defaultButtonCell: NSButtonCell? func disableKeyEquivalentForDefaultButtonCell() func enableKeyEquivalentForDefaultButtonCell() var autorecalculatesKeyViewLoop: Bool func recalculateKeyViewLoop() var toolbar: NSToolbar? func toggleToolbarShown(_ sender: Any?) func runToolbarCustomizationPalette(_ sender: Any?) var showsToolbarButton: Bool class var allowsAutomaticWindowTabbing: Bool class var userTabbingPreference: NSWindowUserTabbingPreference { get } var tabbingMode: NSWindowTabbingMode var tabbingIdentifier: String @IBAction func selectNextTab(_ sender: Any?) @IBAction func selectPreviousTab(_ sender: Any?) @IBAction func moveTabToNewWindow(_ sender: Any?) @IBAction func mergeAllWindows(_ sender: Any?) @IBAction func toggleTabBar(_ sender: Any?) var tabbedWindows: [NSWindow]? { get } func addTabbedWindow(_ window: NSWindow, ordered ordered: NSWindowOrderingMode) var windowTitlebarLayoutDirection: NSUserInterfaceLayoutDirection { get } func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool func updateConstraintsIfNeeded() func layoutIfNeeded() func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) func visualizeConstraints(_ constraints: [NSLayoutConstraint]) var drawers: [NSDrawer]? { get } var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSWindow { func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) } extension NSWindow { var drawers: [NSDrawer]? { get } } extension NSWindow { func updateConstraintsIfNeeded() func layoutIfNeeded() } extension NSWindow { func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) } extension NSWindow { func visualizeConstraints(_ constraints: [NSLayoutConstraint]) } extension NSWindow : CVarArg { } extension NSWindow : Equatable, Hashable { var hashValue: Int { get } } extension NSWindow { func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } } extension NSWindow { func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() } extension NSWindow { func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() } extension NSWindow { convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } } extension NSWindow { class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool } extension NSWindow { var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() } extension NSWindow { var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSUserInterfaceItemIdentification, NSUserInterfaceValidations |
To | class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibility { class func frameRect(forContentRect cRect: NSRect, styleMask style: NSWindowStyleMask) -> NSRect class func contentRect(forFrameRect fRect: NSRect, styleMask style: NSWindowStyleMask) -> NSRect class func minFrameWidth(withTitle title: String, styleMask style: NSWindowStyleMask) -> CGFloat class func defaultDepthLimit() -> NSWindowDepth func frameRect(forContentRect contentRect: NSRect) -> NSRect func contentRect(forFrameRect frameRect: NSRect) -> NSRect init(contentRect contentRect: NSRect, styleMask style: NSWindowStyleMask, backing bufferingType: NSBackingStoreType, defer flag: Bool) convenience init(contentRect contentRect: NSRect, styleMask style: NSWindowStyleMask, backing bufferingType: NSBackingStoreType, defer flag: Bool, screen screen: NSScreen?) convenience init(coder coder: NSCoder) var title: String var titleVisibility: NSWindowTitleVisibility var titlebarAppearsTransparent: Bool var contentLayoutRect: NSRect { get } var contentLayoutGuide: Any? { get } var titlebarAccessoryViewControllers: [NSTitlebarAccessoryViewController] func addTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController) func insertTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController, at index: Int) func removeTitlebarAccessoryViewController(at index: Int) var representedURL: URL? var representedFilename: String func setTitleWithRepresentedFilename(_ filename: String) var isExcludedFromWindowsMenu: Bool var contentView: NSView? unowned(unsafe) var delegate: NSWindowDelegate? var windowNumber: Int { get } var styleMask: NSWindowStyleMask func fieldEditor(_ createFlag: Bool, for object: Any?) -> NSText? func endEditing(for object: Any?) func constrainFrameRect(_ frameRect: NSRect, to screen: NSScreen?) -> NSRect func setFrame(_ frameRect: NSRect, display flag: Bool) func setContentSize(_ size: NSSize) func setFrameOrigin(_ point: NSPoint) func setFrameTopLeftPoint(_ point: NSPoint) func cascadeTopLeft(from topLeftPoint: NSPoint) -> NSPoint var frame: NSRect { get } func animationResizeTime(_ newFrame: NSRect) -> TimeInterval func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool) var inLiveResize: Bool { get } var showsResizeIndicator: Bool var resizeIncrements: NSSize var aspectRatio: NSSize var contentResizeIncrements: NSSize var contentAspectRatio: NSSize func disableFlushing() func enableFlushing() var isFlushWindowDisabled: Bool { get } func flush() func flushIfNeeded() var viewsNeedDisplay: Bool func displayIfNeeded() func display() var isAutodisplay: Bool var preservesContentDuringLiveResize: Bool func update() func makeFirstResponder(_ responder: NSResponder?) -> Bool unowned(unsafe) var firstResponder: NSResponder { get } var resizeFlags: Int { get } func keyDown(with event: NSEvent) func close() var isReleasedWhenClosed: Bool func miniaturize(_ sender: Any?) func deminiaturize(_ sender: Any?) var isZoomed: Bool { get } func zoom(_ sender: Any?) var isMiniaturized: Bool { get } func `try`(toPerform action: Selector, with object: Any?) -> Bool func validRequestor(forSendType sendType: String, returnType returnType: String) -> Any? @NSCopying var backgroundColor: NSColor! func setContentBorderThickness(_ thickness: CGFloat, for edge: NSRectEdge) func contentBorderThickness(for edge: NSRectEdge) -> CGFloat func setAutorecalculatesContentBorderThickness(_ flag: Bool, for edge: NSRectEdge) func autorecalculatesContentBorderThickness(for edge: NSRectEdge) -> Bool var isMovable: Bool var isMovableByWindowBackground: Bool var hidesOnDeactivate: Bool var canHide: Bool func center() func makeKeyAndOrderFront(_ sender: Any?) func orderFront(_ sender: Any?) func orderBack(_ sender: Any?) func orderOut(_ sender: Any?) func order(_ place: NSWindowOrderingMode, relativeTo otherWin: Int) func orderFrontRegardless() var miniwindowImage: NSImage? var miniwindowTitle: String! var dockTile: NSDockTile { get } var isDocumentEdited: Bool var isVisible: Bool { get } var isKeyWindow: Bool { get } var isMainWindow: Bool { get } var canBecomeKey: Bool { get } var canBecomeMain: Bool { get } func makeKey() func makeMain() func becomeKey() func resignKey() func becomeMain() func resignMain() var worksWhenModal: Bool { get } var preventsApplicationTerminationWhenModal: Bool func convertToScreen(_ rect: NSRect) -> NSRect func convertFromScreen(_ rect: NSRect) -> NSRect func convertToBacking(_ rect: NSRect) -> NSRect func convertFromBacking(_ rect: NSRect) -> NSRect func backingAlignedRect(_ rect: NSRect, options options: AlignmentOptions = []) -> NSRect var backingScaleFactor: CGFloat { get } func performClose(_ sender: Any?) func performMiniaturize(_ sender: Any?) func performZoom(_ sender: Any?) var isOneShot: Bool func dataWithEPS(inside rect: NSRect) -> Data func dataWithPDF(inside rect: NSRect) -> Data @warn_unqualified_access func print(_ sender: Any?) var allowsToolTipsWhenApplicationIsInactive: Bool var backingType: NSBackingStoreType var level: Int var depthLimit: NSWindowDepth func setDynamicDepthLimit(_ flag: Bool) var hasDynamicDepthLimit: Bool { get } var screen: NSScreen? { get } var deepestScreen: NSScreen? { get } var hasShadow: Bool func invalidateShadow() var alphaValue: CGFloat var isOpaque: Bool var sharingType: NSWindowSharingType var preferredBackingLocation: NSWindowBackingLocation var backingLocation: NSWindowBackingLocation { get } var allowsConcurrentViewDrawing: Bool var displaysWhenScreenProfileChanges: Bool func disableScreenUpdatesUntilFlush() var canBecomeVisibleWithoutLogin: Bool var collectionBehavior: NSWindowCollectionBehavior var animationBehavior: NSWindowAnimationBehavior var isOnActiveSpace: Bool { get } func toggleFullScreen(_ sender: Any?) var stringWithSavedFrame: String { get } func setFrameFrom(_ string: String) func saveFrame(usingName name: String) func setFrameUsingName(_ name: String, force force: Bool) -> Bool func setFrameUsingName(_ name: String) -> Bool func setFrameAutosaveName(_ name: String) -> Bool var frameAutosaveName: String { get } class func removeFrame(usingName name: String) func cacheImage(in rect: NSRect) func restoreCachedImage() func discardCachedImage() var minSize: NSSize var maxSize: NSSize var contentMinSize: NSSize var contentMaxSize: NSSize var minFullScreenContentSize: NSSize var maxFullScreenContentSize: NSSize var deviceDescription: [String : Any] { get } unowned(unsafe) var windowController: NSWindowController? func beginSheet(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Swift.Void)? = nil) func beginCriticalSheet(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Swift.Void)? = nil) func endSheet(_ sheetWindow: NSWindow) func endSheet(_ sheetWindow: NSWindow, returnCode returnCode: NSModalResponse) var sheets: [NSWindow] { get } var attachedSheet: NSWindow? { get } var isSheet: Bool { get } var sheetParent: NSWindow? { get } class func standardWindowButton(_ b: NSWindowButton, for styleMask: NSWindowStyleMask) -> NSButton? func standardWindowButton(_ b: NSWindowButton) -> NSButton? func addChildWindow(_ childWin: NSWindow, ordered place: NSWindowOrderingMode) func removeChildWindow(_ childWin: NSWindow) var childWindows: [NSWindow]? { get } unowned(unsafe) var parent: NSWindow? var graphicsContext: NSGraphicsContext? { get } var colorSpace: NSColorSpace? func canRepresent(_ displayGamut: NSDisplayGamut) -> Bool class func windowNumbers(withOptions options: NSWindowNumberListOptions) -> [NSNumber]? class func windowNumber(at point: NSPoint, belowWindowWithWindowNumber windowNumber: Int) -> Int var occlusionState: NSWindowOcclusionState { get } var contentViewController: NSViewController? convenience init(contentViewController contentViewController: NSViewController) class func withContentViewController(_ contentViewController: NSViewController) -> Self func performDrag(with event: NSEvent) unowned(unsafe) var initialFirstResponder: NSView? func selectNextKeyView(_ sender: Any?) func selectPreviousKeyView(_ sender: Any?) func selectKeyView(following view: NSView) func selectKeyView(preceding view: NSView) var keyViewSelectionDirection: NSSelectionDirection { get } var defaultButtonCell: NSButtonCell? func disableKeyEquivalentForDefaultButtonCell() func enableKeyEquivalentForDefaultButtonCell() var autorecalculatesKeyViewLoop: Bool func recalculateKeyViewLoop() var toolbar: NSToolbar? func toggleToolbarShown(_ sender: Any?) func runToolbarCustomizationPalette(_ sender: Any?) var showsToolbarButton: Bool class var allowsAutomaticWindowTabbing: Bool class var userTabbingPreference: NSWindowUserTabbingPreference { get } var tabbingMode: NSWindowTabbingMode var tabbingIdentifier: String @IBAction func selectNextTab(_ sender: Any?) @IBAction func selectPreviousTab(_ sender: Any?) @IBAction func moveTabToNewWindow(_ sender: Any?) @IBAction func mergeAllWindows(_ sender: Any?) @IBAction func toggleTabBar(_ sender: Any?) var tabbedWindows: [NSWindow]? { get } func addTabbedWindow(_ window: NSWindow, ordered ordered: NSWindowOrderingMode) var windowTitlebarLayoutDirection: NSUserInterfaceLayoutDirection { get } func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool func updateConstraintsIfNeeded() func layoutIfNeeded() func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) func visualizeConstraints(_ constraints: [NSLayoutConstraint]) var drawers: [NSDrawer]? { get } var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) var undoManager: UndoManager? { get } func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func performTextFinderAction(_ sender: Any?) @IBAction func newWindowForTab(_ sender: Any?) func performMnemonic(_ string: String) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension NSWindow { func trackEvents(matching mask: NSEventMask, timeout timeout: TimeInterval, mode mode: RunLoopMode, handler trackingHandler: @escaping (NSEvent, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) } extension NSWindow { var drawers: [NSDrawer]? { get } } extension NSWindow { func updateConstraintsIfNeeded() func layoutIfNeeded() } extension NSWindow { func anchorAttribute(for orientation: NSLayoutConstraintOrientation) -> NSLayoutAttribute func setAnchorAttribute(_ attr: NSLayoutAttribute, for orientation: NSLayoutConstraintOrientation) } extension NSWindow { func visualizeConstraints(_ constraints: [NSLayoutConstraint]) } extension NSWindow : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSWindow : CVarArg { } extension NSWindow : Equatable, Hashable { var hashValue: Int { get } } extension NSWindow { func nextEvent(matching mask: NSEventMask) -> NSEvent? func nextEvent(matching mask: NSEventMask, until expiration: Date?, inMode mode: RunLoopMode, dequeue deqFlag: Bool) -> NSEvent? func discardEvents(matching mask: NSEventMask, before lastEvent: NSEvent?) func postEvent(_ event: NSEvent, atStart flag: Bool) func sendEvent(_ event: NSEvent) var currentEvent: NSEvent? { get } var acceptsMouseMovedEvents: Bool var ignoresMouseEvents: Bool var mouseLocationOutsideOfEventStream: NSPoint { get } } extension NSWindow { func disableCursorRects() func enableCursorRects() func discardCursorRects() var areCursorRectsEnabled: Bool { get } func invalidateCursorRects(for view: NSView) func resetCursorRects() } extension NSWindow { func drag(_ image: NSImage, at baseLocation: NSPoint, offset initialOffset: NSSize, event event: NSEvent, pasteboard pboard: NSPasteboard, source sourceObj: Any, slideBack slideFlag: Bool) func registerForDraggedTypes(_ newTypes: [String]) func unregisterDraggedTypes() } extension NSWindow { convenience init?(windowRef windowRef: UnsafeMutableRawPointer) var windowRef: UnsafeMutableRawPointer { get } } extension NSWindow { class func menuChanged(_ menu: NSMenu) func gState() -> Int func convertBase(toScreen point: NSPoint) -> NSPoint func convertScreen(toBase point: NSPoint) -> NSPoint func canBeVisibleOnAllSpaces() -> Bool func setCanBeVisibleOnAllSpaces(_ flag: Bool) func userSpaceScaleFactor() -> CGFloat func useOptimizedDrawing(_ flag: Bool) func canStoreColor() -> Bool } extension NSWindow { var isRestorable: Bool var restorationClass: NSWindowRestoration.Type? func disableSnapshotRestoration() func enableSnapshotRestoration() } extension NSWindow { var hasCloseBox: Bool { get } var hasTitleBar: Bool { get } var isFloatingPanel: Bool { get } var isMiniaturizable: Bool { get } var isModalPanel: Bool { get } var isResizable: Bool { get } var isZoomable: Bool { get } var orderedIndex: Int func setIsMiniaturized(_ flag: Bool) func setIsVisible(_ flag: Bool) func setIsZoomed(_ flag: Bool) func handleClose(_ command: NSCloseCommand) -> Any? func handlePrint(_ command: NSScriptCommand) -> Any? func handleSave(_ command: NSScriptCommand) -> Any? } | CVarArg, Equatable, Hashable, NSAccessibility, NSAccessibilityElementProtocol, NSAnimatablePropertyContainer, NSAppearanceCustomization, NSTouchBarProvider, NSUserInterfaceItemIdentification, NSUserInterfaceValidations |
Modified NSWindow.beginCriticalSheet(_: NSWindow, completionHandler: ((NSModalResponse) -> Swift.Void)?)
Declaration | |
---|---|
From | func beginCriticalSheet(_ sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) |
To | func beginCriticalSheet(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func beginSheet(_ sheetWindow: NSWindow, completionHandler handler: (@escaping (NSModalResponse) -> Swift.Void)? = nil) |
To | func beginSheet(_ sheetWindow: NSWindow, completionHandler handler: ((NSModalResponse) -> Swift.Void)? = nil) |
Modified NSWindowController
Declaration | Protocols | |
---|---|---|
From | class NSWindowController : NSResponder, NSCoding, NSSeguePerforming { init(window window: NSWindow?) init?(coder coder: NSCoder) convenience init(windowNibName windowNibName: String) convenience init(windowNibName windowNibName: String, owner owner: Any) convenience init(windowNibPath windowNibPath: String, owner owner: Any) var windowNibName: String? { get } var windowNibPath: String? { get } unowned(unsafe) var owner: AnyObject { get } var windowFrameAutosaveName: String? var shouldCascadeWindows: Bool unowned(unsafe) var document: AnyObject? func setDocumentEdited(_ dirtyFlag: Bool) var shouldCloseDocument: Bool func synchronizeWindowTitleWithDocumentName() func windowTitle(forDocumentDisplayName displayName: String) -> String var contentViewController: NSViewController? var window: NSWindow? var isWindowLoaded: Bool { get } func windowWillLoad() func windowDidLoad() func loadWindow() func close() @IBAction func showWindow(_ sender: Any?) var storyboard: NSStoryboard? { get } @IBAction func dismissController(_ sender: Any?) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool } extension NSWindowController : CVarArg { } extension NSWindowController : Equatable, Hashable { var hashValue: Int { get } } extension NSWindowController { var storyboard: NSStoryboard? { get } } extension NSWindowController { @IBAction func dismissController(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSCoding, NSSeguePerforming |
To | class NSWindowController : NSResponder, NSCoding, NSSeguePerforming { init(window window: NSWindow?) init?(coder coder: NSCoder) convenience init(windowNibName windowNibName: String) convenience init(windowNibName windowNibName: String, owner owner: Any) convenience init(windowNibPath windowNibPath: String, owner owner: Any) var windowNibName: String? { get } var windowNibPath: String? { get } unowned(unsafe) var owner: AnyObject { get } var windowFrameAutosaveName: String? var shouldCascadeWindows: Bool unowned(unsafe) var document: AnyObject? func setDocumentEdited(_ dirtyFlag: Bool) var shouldCloseDocument: Bool func synchronizeWindowTitleWithDocumentName() func windowTitle(forDocumentDisplayName displayName: String) -> String var contentViewController: NSViewController? var window: NSWindow? var isWindowLoaded: Bool { get } func windowWillLoad() func windowDidLoad() func loadWindow() func close() @IBAction func showWindow(_ sender: Any?) var storyboard: NSStoryboard? { get } @IBAction func dismissController(_ sender: Any?) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool } extension NSWindowController : NSTouchBarProvider { var touchBar: NSTouchBar? func makeTouchBar() -> NSTouchBar? } extension NSWindowController : CVarArg { } extension NSWindowController : Equatable, Hashable { var hashValue: Int { get } } extension NSWindowController { var storyboard: NSStoryboard? { get } } extension NSWindowController { @IBAction func dismissController(_ sender: Any?) } | CVarArg, Equatable, Hashable, NSCoding, NSSeguePerforming, NSTouchBarProvider |
Modified NSWorkspace
Declaration | |
---|---|
From | class NSWorkspace : NSObject { class func shared() -> NSWorkspace var notificationCenter: NotificationCenter { get } func openFile(_ fullPath: String) -> Bool func openFile(_ fullPath: String, withApplication appName: String?) -> Bool func openFile(_ fullPath: String, withApplication appName: String?, andDeactivate flag: Bool) -> Bool func open(_ url: URL) -> Bool func launchApplication(_ appName: String) -> Bool func launchApplication(at url: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func open(_ url: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func open(_ urls: [URL], withApplicationAt applicationURL: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func launchApplication(_ appName: String, showIcon showIcon: Bool, autolaunch autolaunch: Bool) -> Bool func fullPath(forApplication appName: String) -> String? func selectFile(_ fullPath: String?, inFileViewerRootedAtPath rootFullPath: String) -> Bool func activateFileViewerSelecting(_ fileURLs: [URL]) func showSearchResults(forQueryString queryString: String) -> Bool func noteFileSystemChanged(_ path: String) func getInfoForFile(_ fullPath: String, application appName: AutoreleasingUnsafeMutablePointer<NSString?>?, type type: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool func isFilePackage(atPath fullPath: String) -> Bool func icon(forFile fullPath: String) -> NSImage func icon(forFiles fullPaths: [String]) -> NSImage? func icon(forFileType fileType: String) -> NSImage func setIcon(_ image: NSImage?, forFile fullPath: String, options options: NSWorkspaceIconCreationOptions = []) -> Bool var fileLabels: [String] { get } var fileLabelColors: [NSColor] { get } func recycle(_ URLs: [URL], completionHandler handler: (@escaping ([URL : URL], Error?) -> Swift.Void)? = nil) func duplicate(_ URLs: [URL], completionHandler handler: (@escaping ([URL : URL], Error?) -> Swift.Void)? = nil) func getFileSystemInfo(forPath fullPath: String, isRemovable removableFlag: UnsafeMutablePointer<ObjCBool>?, isWritable writableFlag: UnsafeMutablePointer<ObjCBool>?, isUnmountable unmountableFlag: UnsafeMutablePointer<ObjCBool>?, description description: AutoreleasingUnsafeMutablePointer<NSString?>?, type fileSystemType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool func unmountAndEjectDevice(atPath path: String) -> Bool func unmountAndEjectDevice(at url: URL) throws func extendPowerOff(by requested: Int) -> Int func hideOtherApplications() func urlForApplication(withBundleIdentifier bundleIdentifier: String) -> URL? func urlForApplication(toOpen url: URL) -> URL? func absolutePathForApplication(withBundleIdentifier bundleIdentifier: String) -> String? func launchApplication(withBundleIdentifier bundleIdentifier: String, options options: NSWorkspaceLaunchOptions = [], additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifier identifier: AutoreleasingUnsafeMutablePointer<NSNumber?>?) -> Bool func open(_ urls: [URL], withAppBundleIdentifier bundleIdentifier: String?, options options: NSWorkspaceLaunchOptions = [], additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifiers identifiers: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> Bool var frontmostApplication: NSRunningApplication? { get } var menuBarOwningApplication: NSRunningApplication? { get } func type(ofFile absoluteFilePath: String) throws -> String func localizedDescription(forType typeName: String) -> String? func preferredFilenameExtension(forType typeName: String) -> String? func filenameExtension(_ filenameExtension: String, isValidForType typeName: String) -> Bool func type(_ firstTypeName: String, conformsToType secondTypeName: String) -> Bool func setDesktopImageURL(_ url: URL, for screen: NSScreen, options options: [String : Any] = [:]) throws func desktopImageURL(for screen: NSScreen) -> URL? func desktopImageOptions(for screen: NSScreen) -> [String : Any]? func openTempFile(_ fullPath: String) -> Bool func findApplications() func noteUserDefaultsChanged() func slideImage(_ image: NSImage, from fromPoint: NSPoint, to toPoint: NSPoint) func checkForRemovableMedia() func noteFileSystemChanged() func fileSystemChanged() -> Bool func userDefaultsChanged() -> Bool func mountNewRemovableMedia() -> [Any]? func activeApplication() -> [AnyHashable : Any]? func mountedLocalVolumePaths() -> [Any]? func mountedRemovableMedia() -> [Any]? func launchedApplications() -> [Any]? func openFile(_ fullPath: String, from image: NSImage?, at point: NSPoint, in view: NSView?) -> Bool func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [Any], tag tag: UnsafeMutablePointer<Int>?) -> Bool var accessibilityDisplayShouldIncreaseContrast: Bool { get } var accessibilityDisplayShouldDifferentiateWithoutColor: Bool { get } var accessibilityDisplayShouldReduceTransparency: Bool { get } var accessibilityDisplayShouldReduceMotion: Bool { get } var accessibilityDisplayShouldInvertColors: Bool { get } var runningApplications: [NSRunningApplication] { get } func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classCode: FourCharCode { get } var className: String { get } } extension NSWorkspace { var accessibilityDisplayShouldIncreaseContrast: Bool { get } var accessibilityDisplayShouldDifferentiateWithoutColor: Bool { get } var accessibilityDisplayShouldReduceTransparency: Bool { get } var accessibilityDisplayShouldReduceMotion: Bool { get } var accessibilityDisplayShouldInvertColors: Bool { get } } extension NSWorkspace { var runningApplications: [NSRunningApplication] { get } } extension NSWorkspace : CVarArg { } extension NSWorkspace : Equatable, Hashable { var hashValue: Int { get } } extension NSWorkspace { func setDesktopImageURL(_ url: URL, for screen: NSScreen, options options: [String : Any] = [:]) throws func desktopImageURL(for screen: NSScreen) -> URL? func desktopImageOptions(for screen: NSScreen) -> [String : Any]? } extension NSWorkspace { func openTempFile(_ fullPath: String) -> Bool func findApplications() func noteUserDefaultsChanged() func slideImage(_ image: NSImage, from fromPoint: NSPoint, to toPoint: NSPoint) func checkForRemovableMedia() func noteFileSystemChanged() func fileSystemChanged() -> Bool func userDefaultsChanged() -> Bool func mountNewRemovableMedia() -> [Any]? func activeApplication() -> [AnyHashable : Any]? func mountedLocalVolumePaths() -> [Any]? func mountedRemovableMedia() -> [Any]? func launchedApplications() -> [Any]? func openFile(_ fullPath: String, from image: NSImage?, at point: NSPoint, in view: NSView?) -> Bool func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [Any], tag tag: UnsafeMutablePointer<Int>?) -> Bool } |
To | class NSWorkspace : NSObject { class func shared() -> NSWorkspace var notificationCenter: NotificationCenter { get } func openFile(_ fullPath: String) -> Bool func openFile(_ fullPath: String, withApplication appName: String?) -> Bool func openFile(_ fullPath: String, withApplication appName: String?, andDeactivate flag: Bool) -> Bool func open(_ url: URL) -> Bool func launchApplication(_ appName: String) -> Bool func launchApplication(at url: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func open(_ url: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func open(_ urls: [URL], withApplicationAt applicationURL: URL, options options: NSWorkspaceLaunchOptions = [], configuration configuration: [String : Any]) throws -> NSRunningApplication func launchApplication(_ appName: String, showIcon showIcon: Bool, autolaunch autolaunch: Bool) -> Bool func fullPath(forApplication appName: String) -> String? func selectFile(_ fullPath: String?, inFileViewerRootedAtPath rootFullPath: String) -> Bool func activateFileViewerSelecting(_ fileURLs: [URL]) func showSearchResults(forQueryString queryString: String) -> Bool func noteFileSystemChanged(_ path: String) func getInfoForFile(_ fullPath: String, application appName: AutoreleasingUnsafeMutablePointer<NSString?>?, type type: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool func isFilePackage(atPath fullPath: String) -> Bool func icon(forFile fullPath: String) -> NSImage func icon(forFiles fullPaths: [String]) -> NSImage? func icon(forFileType fileType: String) -> NSImage func setIcon(_ image: NSImage?, forFile fullPath: String, options options: NSWorkspaceIconCreationOptions = []) -> Bool var fileLabels: [String] { get } var fileLabelColors: [NSColor] { get } func recycle(_ URLs: [URL], completionHandler handler: (([URL : URL], Error?) -> Swift.Void)? = nil) func duplicate(_ URLs: [URL], completionHandler handler: (([URL : URL], Error?) -> Swift.Void)? = nil) func getFileSystemInfo(forPath fullPath: String, isRemovable removableFlag: UnsafeMutablePointer<ObjCBool>?, isWritable writableFlag: UnsafeMutablePointer<ObjCBool>?, isUnmountable unmountableFlag: UnsafeMutablePointer<ObjCBool>?, description description: AutoreleasingUnsafeMutablePointer<NSString?>?, type fileSystemType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool func unmountAndEjectDevice(atPath path: String) -> Bool func unmountAndEjectDevice(at url: URL) throws func extendPowerOff(by requested: Int) -> Int func hideOtherApplications() func urlForApplication(withBundleIdentifier bundleIdentifier: String) -> URL? func urlForApplication(toOpen url: URL) -> URL? func absolutePathForApplication(withBundleIdentifier bundleIdentifier: String) -> String? func launchApplication(withBundleIdentifier bundleIdentifier: String, options options: NSWorkspaceLaunchOptions = [], additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifier identifier: AutoreleasingUnsafeMutablePointer<NSNumber?>?) -> Bool func open(_ urls: [URL], withAppBundleIdentifier bundleIdentifier: String?, options options: NSWorkspaceLaunchOptions = [], additionalEventParamDescriptor descriptor: NSAppleEventDescriptor?, launchIdentifiers identifiers: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> Bool var frontmostApplication: NSRunningApplication? { get } var menuBarOwningApplication: NSRunningApplication? { get } func type(ofFile absoluteFilePath: String) throws -> String func localizedDescription(forType typeName: String) -> String? func preferredFilenameExtension(forType typeName: String) -> String? func filenameExtension(_ filenameExtension: String, isValidForType typeName: String) -> Bool func type(_ firstTypeName: String, conformsToType secondTypeName: String) -> Bool func setDesktopImageURL(_ url: URL, for screen: NSScreen, options options: [String : Any] = [:]) throws func desktopImageURL(for screen: NSScreen) -> URL? func desktopImageOptions(for screen: NSScreen) -> [String : Any]? func openTempFile(_ fullPath: String) -> Bool func findApplications() func noteUserDefaultsChanged() func slideImage(_ image: NSImage, from fromPoint: NSPoint, to toPoint: NSPoint) func checkForRemovableMedia() func noteFileSystemChanged() func fileSystemChanged() -> Bool func userDefaultsChanged() -> Bool func mountNewRemovableMedia() -> [Any]? func activeApplication() -> [AnyHashable : Any]? func mountedLocalVolumePaths() -> [Any]? func mountedRemovableMedia() -> [Any]? func launchedApplications() -> [Any]? func openFile(_ fullPath: String, from image: NSImage?, at point: NSPoint, in view: NSView?) -> Bool func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [Any], tag tag: UnsafeMutablePointer<Int>?) -> Bool var accessibilityDisplayShouldIncreaseContrast: Bool { get } var accessibilityDisplayShouldDifferentiateWithoutColor: Bool { get } var accessibilityDisplayShouldReduceTransparency: Bool { get } var accessibilityDisplayShouldReduceMotion: Bool { get } var accessibilityDisplayShouldInvertColors: Bool { get } var runningApplications: [NSRunningApplication] { get } func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String) class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) var classCode: FourCharCode { get } var className: String { get } } extension NSWorkspace { var accessibilityDisplayShouldIncreaseContrast: Bool { get } var accessibilityDisplayShouldDifferentiateWithoutColor: Bool { get } var accessibilityDisplayShouldReduceTransparency: Bool { get } var accessibilityDisplayShouldReduceMotion: Bool { get } var accessibilityDisplayShouldInvertColors: Bool { get } } extension NSWorkspace { var runningApplications: [NSRunningApplication] { get } } extension NSWorkspace : CVarArg { } extension NSWorkspace : Equatable, Hashable { var hashValue: Int { get } } extension NSWorkspace { func setDesktopImageURL(_ url: URL, for screen: NSScreen, options options: [String : Any] = [:]) throws func desktopImageURL(for screen: NSScreen) -> URL? func desktopImageOptions(for screen: NSScreen) -> [String : Any]? } extension NSWorkspace { func openTempFile(_ fullPath: String) -> Bool func findApplications() func noteUserDefaultsChanged() func slideImage(_ image: NSImage, from fromPoint: NSPoint, to toPoint: NSPoint) func checkForRemovableMedia() func noteFileSystemChanged() func fileSystemChanged() -> Bool func userDefaultsChanged() -> Bool func mountNewRemovableMedia() -> [Any]? func activeApplication() -> [AnyHashable : Any]? func mountedLocalVolumePaths() -> [Any]? func mountedRemovableMedia() -> [Any]? func launchedApplications() -> [Any]? func openFile(_ fullPath: String, from image: NSImage?, at point: NSPoint, in view: NSView?) -> Bool func performFileOperation(_ operation: String, source source: String, destination destination: String, files files: [Any], tag tag: UnsafeMutablePointer<Int>?) -> Bool } |
Declaration | |
---|---|
From | func duplicate(_ URLs: [URL], completionHandler handler: (@escaping ([URL : URL], Error?) -> Swift.Void)? = nil) |
To | func duplicate(_ URLs: [URL], completionHandler handler: (([URL : URL], Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func recycle(_ URLs: [URL], completionHandler handler: (@escaping ([URL : URL], Error?) -> Swift.Void)? = nil) |
To | func recycle(_ URLs: [URL], completionHandler handler: (([URL : URL], Error?) -> Swift.Void)? = nil) |