WebKit Changes for Swift
WebKit
Modified WebFrameView
| Declaration | Protocols | |
|---|---|---|
| From | class WebFrameView : NSView {
var webFrame: WebFrame! { get }
var documentView: NSView! { get }
var allowsScrolling: Bool
var canPrintHeadersAndFooters: Bool { get }
func printOperation(with printInfo: NSPrintInfo!) -> NSPrintOperation!
var documentViewShouldHandlePrint: Bool { get }
func printDocumentView()
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 webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!)
func webPlugInContainerShowStatus(_ message: String!)
var webPlugInContainerSelectionColor: NSColor! { get }
var webFrame: WebFrame! { get }
func webPlugInInitialize()
func webPlugInStart()
func webPlugInStop()
func webPlugInDestroy()
func webPlugInSetIsSelected(_ isSelected: Bool)
var objectForWebScript: Any! { get }
func webPlugInMainResourceDidReceive(_ response: URLResponse!)
func webPlugInMainResourceDidReceive(_ data: Data!)
func webPlugInMainResourceDidFailWithError(_ error: Error!)
func webPlugInMainResourceDidFinishLoading()
class func webScriptName(for selector: Selector!) -> String!
class func isSelectorExcluded(fromWebScript selector: Selector!) -> Bool
class func webScriptName(forKey name: UnsafePointer<Int8>!) -> String!
class func isKeyExcluded(fromWebScript name: UnsafePointer<Int8>!) -> Bool
func invokeUndefinedMethod(fromWebScript name: String!, withArguments arguments: [Any]!) -> Any!
func invokeDefaultMethod(withArguments arguments: [Any]!) -> Any!
func finalizeForWebScript()
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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension WebFrameView : CVarArg {
}
extension WebFrameView : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| To | class WebFrameView : NSView {
var webFrame: WebFrame! { get }
var documentView: NSView! { get }
var allowsScrolling: Bool
var canPrintHeadersAndFooters: Bool { get }
func printOperation(with printInfo: NSPrintInfo!) -> NSPrintOperation!
var documentViewShouldHandlePrint: Bool { get }
func printDocumentView()
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 webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!)
func webPlugInContainerShowStatus(_ message: String!)
var webPlugInContainerSelectionColor: NSColor! { get }
var webFrame: WebFrame! { get }
func webPlugInInitialize()
func webPlugInStart()
func webPlugInStop()
func webPlugInDestroy()
func webPlugInSetIsSelected(_ isSelected: Bool)
var objectForWebScript: Any! { get }
func webPlugInMainResourceDidReceive(_ response: URLResponse!)
func webPlugInMainResourceDidReceive(_ data: Data!)
func webPlugInMainResourceDidFailWithError(_ error: Error!)
func webPlugInMainResourceDidFinishLoading()
class func webScriptName(for selector: Selector!) -> String!
class func isSelectorExcluded(fromWebScript selector: Selector!) -> Bool
class func webScriptName(forKey name: UnsafePointer<Int8>!) -> String!
class func isKeyExcluded(fromWebScript name: UnsafePointer<Int8>!) -> Bool
func invokeUndefinedMethod(fromWebScript name: String!, withArguments arguments: [Any]!) -> Any!
func invokeDefaultMethod(withArguments arguments: [Any]!) -> Any!
func finalizeForWebScript()
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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
}
extension WebFrameView : NSTouchBarProvider {
var touchBar: NSTouchBar?
func makeTouchBar() -> NSTouchBar?
}
extension WebFrameView : CVarArg {
}
extension WebFrameView : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSTouchBarProvider |
Modified WebView
| Declaration | Protocols | |
|---|---|---|
| From | class WebView : NSView {
class func canShowMIMEType(_ MIMEType: String!) -> Bool
class func canShowMIMEType(asHTML MIMEType: String!) -> Bool
class func mimeTypesShownAsHTML() -> [Any]!
class func setMIMETypesShownAsHTML(_ MIMETypes: [Any]!)
class func url(from pasteboard: NSPasteboard!) -> URL!
class func urlTitle(from pasteboard: NSPasteboard!) -> String!
class func registerURLScheme(asLocal scheme: String!)
init!(frame frame: NSRect, frameName frameName: String!, groupName groupName: String!)
func close()
var shouldCloseWithWindow: Bool
unowned(unsafe) var uiDelegate: WebUIDelegate!
unowned(unsafe) var resourceLoadDelegate: WebResourceLoadDelegate!
unowned(unsafe) var downloadDelegate: WebDownloadDelegate!
unowned(unsafe) var frameLoadDelegate: WebFrameLoadDelegate!
unowned(unsafe) var policyDelegate: WebPolicyDelegate!
var mainFrame: WebFrame! { get }
var selectedFrame: WebFrame! { get }
var backForwardList: WebBackForwardList! { get }
func setMaintainsBackForwardList(_ flag: Bool)
func goBack() -> Bool
func goForward() -> Bool
func go(toBackForwardItem item: WebHistoryItem!) -> Bool
var textSizeMultiplier: Float
var applicationNameForUserAgent: String!
var customUserAgent: String!
func userAgent(for URL: URL!) -> String!
var supportsTextEncoding: Bool { get }
var customTextEncodingName: String!
var mediaStyle: String!
func stringByEvaluatingJavaScript(from script: String!) -> String!
var windowScriptObject: WebScriptObject! { get }
var preferences: WebPreferences!
var preferencesIdentifier: String!
var hostWindow: NSWindow!
func search(for string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool
class func registerClass(_ viewClass: Swift.AnyClass!, representationClass representationClass: Swift.AnyClass!, forMIMEType MIMEType: String!)
var groupName: String!
var estimatedProgress: Double { get }
var isLoading: Bool { get }
func element(at point: NSPoint) -> [AnyHashable : Any]!
var pasteboardTypesForSelection: [Any]! { get }
func writeSelection(withPasteboardTypes types: [Any]!, to pasteboard: NSPasteboard!)
func pasteboardTypes(forElement element: [AnyHashable : Any]!) -> [Any]!
func writeElement(_ element: [AnyHashable : Any]!, withPasteboardTypes types: [Any]!, to pasteboard: NSPasteboard!)
func moveDragCaret(to point: NSPoint)
func removeDragCaret()
var drawsBackground: Bool
var shouldUpdateWhileOffscreen: Bool
var mainFrameURL: String!
var mainFrameDocument: DOMDocument! { get }
var mainFrameTitle: String! { get }
var mainFrameIcon: NSImage! { get }
func computedStyle(for element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
func editableDOMRange(for point: NSPoint) -> DOMRange!
func setSelectedDOMRange(_ range: DOMRange!, affinity selectionAffinity: NSSelectionAffinity)
var selectedDOMRange: DOMRange! { get }
var selectionAffinity: NSSelectionAffinity { get }
var maintainsInactiveSelection: Bool { get }
var isEditable: Bool
var typingStyle: DOMCSSStyleDeclaration!
var smartInsertDeleteEnabled: Bool
var isContinuousSpellCheckingEnabled: Bool
var spellCheckerDocumentTag: Int { get }
var undoManager: UndoManager! { get }
unowned(unsafe) var editingDelegate: WebEditingDelegate!
func styleDeclaration(withText text: String!) -> DOMCSSStyleDeclaration!
func replaceSelection(with node: DOMNode!)
func replaceSelection(withText text: String!)
func replaceSelection(withMarkupString markupString: String!)
func replaceSelection(with archive: WebArchive!)
func deleteSelection()
func applyStyle(_ style: DOMCSSStyleDeclaration!)
func copy(_ sender: Any?)
func cut(_ sender: Any?)
func paste(_ sender: Any?)
func copyFont(_ sender: Any?)
func pasteFont(_ sender: Any?)
func delete(_ sender: Any?)
func pasteAsPlainText(_ sender: Any?)
func pasteAsRichText(_ sender: Any?)
func changeFont(_ sender: Any?)
func changeAttributes(_ sender: Any?)
func changeDocumentBackgroundColor(_ sender: Any?)
func changeColor(_ sender: Any?)
func alignCenter(_ sender: Any?)
func alignJustified(_ sender: Any?)
func alignLeft(_ sender: Any?)
func alignRight(_ sender: Any?)
func checkSpelling(_ sender: Any?)
func showGuessPanel(_ sender: Any?)
func performFindPanelAction(_ sender: Any?)
func startSpeaking(_ sender: Any?)
func stopSpeaking(_ sender: Any?)
func moveToBeginningOfSentence(_ sender: Any?)
func moveToBeginningOfSentenceAndModifySelection(_ sender: Any?)
func moveToEndOfSentence(_ sender: Any?)
func moveToEndOfSentenceAndModifySelection(_ sender: Any?)
func selectSentence(_ sender: Any?)
func overWrite(_ sender: 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
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 webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!)
func webPlugInContainerShowStatus(_ message: String!)
var webPlugInContainerSelectionColor: NSColor! { get }
var webFrame: WebFrame! { get }
func webPlugInInitialize()
func webPlugInStart()
func webPlugInStop()
func webPlugInDestroy()
func webPlugInSetIsSelected(_ isSelected: Bool)
var objectForWebScript: Any! { get }
func webPlugInMainResourceDidReceive(_ response: URLResponse!)
func webPlugInMainResourceDidReceive(_ data: Data!)
func webPlugInMainResourceDidFailWithError(_ error: Error!)
func webPlugInMainResourceDidFinishLoading()
class func webScriptName(for selector: Selector!) -> String!
class func isSelectorExcluded(fromWebScript selector: Selector!) -> Bool
class func webScriptName(forKey name: UnsafePointer<Int8>!) -> String!
class func isKeyExcluded(fromWebScript name: UnsafePointer<Int8>!) -> Bool
func invokeUndefinedMethod(fromWebScript name: String!, withArguments arguments: [Any]!) -> Any!
func invokeDefaultMethod(withArguments arguments: [Any]!) -> Any!
func finalizeForWebScript()
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 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 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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
var wantsBestResolutionOpenGLSurface: Bool
var wantsExtendedDynamicRangeOpenGLSurface: Bool
var pressureConfiguration: NSPressureConfiguration?
var classForArchiver: AnyClass? { get }
func replacementObject(for archiver: NSArchiver) -> Any?
}
extension WebView : CVarArg {
}
extension WebView : NSUserInterfaceValidations {
@IBAction func takeStringURLFrom(_ sender: Any?)
@IBAction func stopLoading(_ sender: Any?)
@IBAction func reload(_ sender: Any?)
@IBAction func reloadFromOrigin(_ sender: Any?)
var canGoBack: Bool { get }
@IBAction func goBack(_ sender: Any?)
var canGoForward: Bool { get }
@IBAction func goForward(_ sender: Any?)
var canMakeTextLarger: Bool { get }
@IBAction func makeTextLarger(_ sender: Any?)
var canMakeTextSmaller: Bool { get }
@IBAction func makeTextSmaller(_ sender: Any?)
var canMakeTextStandardSize: Bool { get }
@IBAction func makeTextStandardSize(_ sender: Any?)
@IBAction func toggleContinuousSpellChecking(_ sender: Any?)
@IBAction func toggleSmartInsertDelete(_ sender: Any?)
}
extension WebView : Equatable, Hashable {
var hashValue: Int { get }
}
extension WebView : NSUserInterfaceValidations {
@IBAction func takeStringURLFrom(_ sender: Any?)
@IBAction func stopLoading(_ sender: Any?)
@IBAction func reload(_ sender: Any?)
@IBAction func reloadFromOrigin(_ sender: Any?)
var canGoBack: Bool { get }
@IBAction func goBack(_ sender: Any?)
var canGoForward: Bool { get }
@IBAction func goForward(_ sender: Any?)
var canMakeTextLarger: Bool { get }
@IBAction func makeTextLarger(_ sender: Any?)
var canMakeTextSmaller: Bool { get }
@IBAction func makeTextSmaller(_ sender: Any?)
var canMakeTextStandardSize: Bool { get }
@IBAction func makeTextStandardSize(_ sender: Any?)
@IBAction func toggleContinuousSpellChecking(_ sender: Any?)
@IBAction func toggleSmartInsertDelete(_ sender: Any?)
}
extension WebView {
func computedStyle(for element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
}
extension WebView {
func editableDOMRange(for point: NSPoint) -> DOMRange!
func setSelectedDOMRange(_ range: DOMRange!, affinity selectionAffinity: NSSelectionAffinity)
var selectedDOMRange: DOMRange! { get }
var selectionAffinity: NSSelectionAffinity { get }
var maintainsInactiveSelection: Bool { get }
var isEditable: Bool
var typingStyle: DOMCSSStyleDeclaration!
var smartInsertDeleteEnabled: Bool
var isContinuousSpellCheckingEnabled: Bool
var spellCheckerDocumentTag: Int { get }
var undoManager: UndoManager! { get }
unowned(unsafe) var editingDelegate: WebEditingDelegate!
func styleDeclaration(withText text: String!) -> DOMCSSStyleDeclaration!
}
extension WebView {
func replaceSelection(with node: DOMNode!)
func replaceSelection(withText text: String!)
func replaceSelection(withMarkupString markupString: String!)
func replaceSelection(with archive: WebArchive!)
func deleteSelection()
func applyStyle(_ style: DOMCSSStyleDeclaration!)
}
extension WebView {
func copy(_ sender: Any?)
func cut(_ sender: Any?)
func paste(_ sender: Any?)
func copyFont(_ sender: Any?)
func pasteFont(_ sender: Any?)
func delete(_ sender: Any?)
func pasteAsPlainText(_ sender: Any?)
func pasteAsRichText(_ sender: Any?)
func changeFont(_ sender: Any?)
func changeAttributes(_ sender: Any?)
func changeDocumentBackgroundColor(_ sender: Any?)
func changeColor(_ sender: Any?)
func alignCenter(_ sender: Any?)
func alignJustified(_ sender: Any?)
func alignLeft(_ sender: Any?)
func alignRight(_ sender: Any?)
func checkSpelling(_ sender: Any?)
func showGuessPanel(_ sender: Any?)
func performFindPanelAction(_ sender: Any?)
func startSpeaking(_ sender: Any?)
func stopSpeaking(_ sender: Any?)
func moveToBeginningOfSentence(_ sender: Any?)
func moveToBeginningOfSentenceAndModifySelection(_ sender: Any?)
func moveToEndOfSentence(_ sender: Any?)
func moveToEndOfSentenceAndModifySelection(_ sender: Any?)
func selectSentence(_ sender: Any?)
func overWrite(_ sender: Any?)
} | CVarArg, Equatable, Hashable, NSUserInterfaceValidations |
| To | class WebView : NSView {
class func canShowMIMEType(_ MIMEType: String!) -> Bool
class func canShowMIMEType(asHTML MIMEType: String!) -> Bool
class func mimeTypesShownAsHTML() -> [Any]!
class func setMIMETypesShownAsHTML(_ MIMETypes: [Any]!)
class func url(from pasteboard: NSPasteboard!) -> URL!
class func urlTitle(from pasteboard: NSPasteboard!) -> String!
class func registerURLScheme(asLocal scheme: String!)
init!(frame frame: NSRect, frameName frameName: String!, groupName groupName: String!)
func close()
var shouldCloseWithWindow: Bool
unowned(unsafe) var uiDelegate: WebUIDelegate!
unowned(unsafe) var resourceLoadDelegate: WebResourceLoadDelegate!
unowned(unsafe) var downloadDelegate: WebDownloadDelegate!
unowned(unsafe) var frameLoadDelegate: WebFrameLoadDelegate!
unowned(unsafe) var policyDelegate: WebPolicyDelegate!
var mainFrame: WebFrame! { get }
var selectedFrame: WebFrame! { get }
var backForwardList: WebBackForwardList! { get }
func setMaintainsBackForwardList(_ flag: Bool)
func goBack() -> Bool
func goForward() -> Bool
func go(toBackForwardItem item: WebHistoryItem!) -> Bool
var textSizeMultiplier: Float
var applicationNameForUserAgent: String!
var customUserAgent: String!
func userAgent(for URL: URL!) -> String!
var supportsTextEncoding: Bool { get }
var customTextEncodingName: String!
var mediaStyle: String!
func stringByEvaluatingJavaScript(from script: String!) -> String!
var windowScriptObject: WebScriptObject! { get }
var preferences: WebPreferences!
var preferencesIdentifier: String!
var hostWindow: NSWindow!
func search(for string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool
class func registerClass(_ viewClass: Swift.AnyClass!, representationClass representationClass: Swift.AnyClass!, forMIMEType MIMEType: String!)
var groupName: String!
var estimatedProgress: Double { get }
var isLoading: Bool { get }
func element(at point: NSPoint) -> [AnyHashable : Any]!
var pasteboardTypesForSelection: [Any]! { get }
func writeSelection(withPasteboardTypes types: [Any]!, to pasteboard: NSPasteboard!)
func pasteboardTypes(forElement element: [AnyHashable : Any]!) -> [Any]!
func writeElement(_ element: [AnyHashable : Any]!, withPasteboardTypes types: [Any]!, to pasteboard: NSPasteboard!)
func moveDragCaret(to point: NSPoint)
func removeDragCaret()
var drawsBackground: Bool
var shouldUpdateWhileOffscreen: Bool
var mainFrameURL: String!
var mainFrameDocument: DOMDocument! { get }
var mainFrameTitle: String! { get }
var mainFrameIcon: NSImage! { get }
func computedStyle(for element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
func editableDOMRange(for point: NSPoint) -> DOMRange!
func setSelectedDOMRange(_ range: DOMRange!, affinity selectionAffinity: NSSelectionAffinity)
var selectedDOMRange: DOMRange! { get }
var selectionAffinity: NSSelectionAffinity { get }
var maintainsInactiveSelection: Bool { get }
var isEditable: Bool
var typingStyle: DOMCSSStyleDeclaration!
var smartInsertDeleteEnabled: Bool
var isContinuousSpellCheckingEnabled: Bool
var spellCheckerDocumentTag: Int { get }
var undoManager: UndoManager! { get }
unowned(unsafe) var editingDelegate: WebEditingDelegate!
func styleDeclaration(withText text: String!) -> DOMCSSStyleDeclaration!
func replaceSelection(with node: DOMNode!)
func replaceSelection(withText text: String!)
func replaceSelection(withMarkupString markupString: String!)
func replaceSelection(with archive: WebArchive!)
func deleteSelection()
func applyStyle(_ style: DOMCSSStyleDeclaration!)
func copy(_ sender: Any?)
func cut(_ sender: Any?)
func paste(_ sender: Any?)
func copyFont(_ sender: Any?)
func pasteFont(_ sender: Any?)
func delete(_ sender: Any?)
func pasteAsPlainText(_ sender: Any?)
func pasteAsRichText(_ sender: Any?)
func changeFont(_ sender: Any?)
func changeAttributes(_ sender: Any?)
func changeDocumentBackgroundColor(_ sender: Any?)
func changeColor(_ sender: Any?)
func alignCenter(_ sender: Any?)
func alignJustified(_ sender: Any?)
func alignLeft(_ sender: Any?)
func alignRight(_ sender: Any?)
func checkSpelling(_ sender: Any?)
func showGuessPanel(_ sender: Any?)
func performFindPanelAction(_ sender: Any?)
func startSpeaking(_ sender: Any?)
func stopSpeaking(_ sender: Any?)
func moveToBeginningOfSentence(_ sender: Any?)
func moveToBeginningOfSentenceAndModifySelection(_ sender: Any?)
func moveToEndOfSentence(_ sender: Any?)
func moveToEndOfSentenceAndModifySelection(_ sender: Any?)
func selectSentence(_ sender: Any?)
func overWrite(_ sender: 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
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 webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!)
func webPlugInContainerShowStatus(_ message: String!)
var webPlugInContainerSelectionColor: NSColor! { get }
var webFrame: WebFrame! { get }
func webPlugInInitialize()
func webPlugInStart()
func webPlugInStop()
func webPlugInDestroy()
func webPlugInSetIsSelected(_ isSelected: Bool)
var objectForWebScript: Any! { get }
func webPlugInMainResourceDidReceive(_ response: URLResponse!)
func webPlugInMainResourceDidReceive(_ data: Data!)
func webPlugInMainResourceDidFailWithError(_ error: Error!)
func webPlugInMainResourceDidFinishLoading()
class func webScriptName(for selector: Selector!) -> String!
class func isSelectorExcluded(fromWebScript selector: Selector!) -> Bool
class func webScriptName(forKey name: UnsafePointer<Int8>!) -> String!
class func isKeyExcluded(fromWebScript name: UnsafePointer<Int8>!) -> Bool
func invokeUndefinedMethod(fromWebScript name: String!, withArguments arguments: [Any]!) -> Any!
func invokeDefaultMethod(withArguments arguments: [Any]!) -> Any!
func finalizeForWebScript()
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 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 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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
var wantsBestResolutionOpenGLSurface: Bool
var wantsExtendedDynamicRangeOpenGLSurface: Bool
var pressureConfiguration: NSPressureConfiguration?
var classForPortCoder: AnyClass { get }
func replacementObject(for coder: NSPortCoder) -> Any?
}
extension WebView : NSTouchBarProvider {
var touchBar: NSTouchBar?
func makeTouchBar() -> NSTouchBar?
}
extension WebView : CVarArg {
}
extension WebView : NSUserInterfaceValidations {
@IBAction func takeStringURLFrom(_ sender: Any?)
@IBAction func stopLoading(_ sender: Any?)
@IBAction func reload(_ sender: Any?)
@IBAction func reloadFromOrigin(_ sender: Any?)
var canGoBack: Bool { get }
@IBAction func goBack(_ sender: Any?)
var canGoForward: Bool { get }
@IBAction func goForward(_ sender: Any?)
var canMakeTextLarger: Bool { get }
@IBAction func makeTextLarger(_ sender: Any?)
var canMakeTextSmaller: Bool { get }
@IBAction func makeTextSmaller(_ sender: Any?)
var canMakeTextStandardSize: Bool { get }
@IBAction func makeTextStandardSize(_ sender: Any?)
@IBAction func toggleContinuousSpellChecking(_ sender: Any?)
@IBAction func toggleSmartInsertDelete(_ sender: Any?)
}
extension WebView : Equatable, Hashable {
var hashValue: Int { get }
}
extension WebView : NSUserInterfaceValidations {
@IBAction func takeStringURLFrom(_ sender: Any?)
@IBAction func stopLoading(_ sender: Any?)
@IBAction func reload(_ sender: Any?)
@IBAction func reloadFromOrigin(_ sender: Any?)
var canGoBack: Bool { get }
@IBAction func goBack(_ sender: Any?)
var canGoForward: Bool { get }
@IBAction func goForward(_ sender: Any?)
var canMakeTextLarger: Bool { get }
@IBAction func makeTextLarger(_ sender: Any?)
var canMakeTextSmaller: Bool { get }
@IBAction func makeTextSmaller(_ sender: Any?)
var canMakeTextStandardSize: Bool { get }
@IBAction func makeTextStandardSize(_ sender: Any?)
@IBAction func toggleContinuousSpellChecking(_ sender: Any?)
@IBAction func toggleSmartInsertDelete(_ sender: Any?)
}
extension WebView {
func computedStyle(for element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
}
extension WebView {
func editableDOMRange(for point: NSPoint) -> DOMRange!
func setSelectedDOMRange(_ range: DOMRange!, affinity selectionAffinity: NSSelectionAffinity)
var selectedDOMRange: DOMRange! { get }
var selectionAffinity: NSSelectionAffinity { get }
var maintainsInactiveSelection: Bool { get }
var isEditable: Bool
var typingStyle: DOMCSSStyleDeclaration!
var smartInsertDeleteEnabled: Bool
var isContinuousSpellCheckingEnabled: Bool
var spellCheckerDocumentTag: Int { get }
var undoManager: UndoManager! { get }
unowned(unsafe) var editingDelegate: WebEditingDelegate!
func styleDeclaration(withText text: String!) -> DOMCSSStyleDeclaration!
}
extension WebView {
func replaceSelection(with node: DOMNode!)
func replaceSelection(withText text: String!)
func replaceSelection(withMarkupString markupString: String!)
func replaceSelection(with archive: WebArchive!)
func deleteSelection()
func applyStyle(_ style: DOMCSSStyleDeclaration!)
}
extension WebView {
func copy(_ sender: Any?)
func cut(_ sender: Any?)
func paste(_ sender: Any?)
func copyFont(_ sender: Any?)
func pasteFont(_ sender: Any?)
func delete(_ sender: Any?)
func pasteAsPlainText(_ sender: Any?)
func pasteAsRichText(_ sender: Any?)
func changeFont(_ sender: Any?)
func changeAttributes(_ sender: Any?)
func changeDocumentBackgroundColor(_ sender: Any?)
func changeColor(_ sender: Any?)
func alignCenter(_ sender: Any?)
func alignJustified(_ sender: Any?)
func alignLeft(_ sender: Any?)
func alignRight(_ sender: Any?)
func checkSpelling(_ sender: Any?)
func showGuessPanel(_ sender: Any?)
func performFindPanelAction(_ sender: Any?)
func startSpeaking(_ sender: Any?)
func stopSpeaking(_ sender: Any?)
func moveToBeginningOfSentence(_ sender: Any?)
func moveToBeginningOfSentenceAndModifySelection(_ sender: Any?)
func moveToEndOfSentence(_ sender: Any?)
func moveToEndOfSentenceAndModifySelection(_ sender: Any?)
func selectSentence(_ sender: Any?)
func overWrite(_ sender: Any?)
} | CVarArg, Equatable, Hashable, NSTouchBarProvider, NSUserInterfaceValidations |
Modified WKWebView
| Declaration | Protocols | |
|---|---|---|
| From | class WKWebView : NSView {
@NSCopying var configuration: WKWebViewConfiguration { get }
weak var navigationDelegate: WKNavigationDelegate?
weak var uiDelegate: WKUIDelegate?
var backForwardList: WKBackForwardList { get }
init(frame frame: CGRect, configuration configuration: WKWebViewConfiguration)
init?(coder coder: NSCoder)
func load(_ request: URLRequest) -> WKNavigation?
func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?
func loadHTMLString(_ string: String, baseURL baseURL: URL?) -> WKNavigation?
func load(_ data: Data, mimeType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: URL) -> WKNavigation?
func go(to item: WKBackForwardListItem) -> WKNavigation?
var title: String? { get }
var url: URL? { get }
var isLoading: Bool { get }
var estimatedProgress: Double { get }
var hasOnlySecureContent: Bool { get }
var serverTrust: SecTrust? { get }
var canGoBack: Bool { get }
var canGoForward: Bool { get }
func goBack() -> WKNavigation?
func goForward() -> WKNavigation?
func reload() -> WKNavigation?
func reloadFromOrigin() -> WKNavigation?
func stopLoading()
func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: (@escaping (Any?, Error?) -> Swift.Void)? = nil)
var allowsBackForwardNavigationGestures: Bool
var customUserAgent: String?
var allowsLinkPreview: Bool
var allowsMagnification: Bool
var magnification: CGFloat
func setMagnification(_ magnification: CGFloat, centeredAt point: CGPoint)
var certificateChain: [Any] { 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 webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!)
func webPlugInContainerShowStatus(_ message: String!)
var webPlugInContainerSelectionColor: NSColor! { get }
var webFrame: WebFrame! { get }
func webPlugInInitialize()
func webPlugInStart()
func webPlugInStop()
func webPlugInDestroy()
func webPlugInSetIsSelected(_ isSelected: Bool)
var objectForWebScript: Any! { get }
func webPlugInMainResourceDidReceive(_ response: URLResponse!)
func webPlugInMainResourceDidReceive(_ data: Data!)
func webPlugInMainResourceDidFailWithError(_ error: Error!)
func webPlugInMainResourceDidFinishLoading()
class func webScriptName(for selector: Selector!) -> String!
class func isSelectorExcluded(fromWebScript selector: Selector!) -> Bool
class func webScriptName(forKey name: UnsafePointer<Int8>!) -> String!
class func isKeyExcluded(fromWebScript name: UnsafePointer<Int8>!) -> Bool
func invokeUndefinedMethod(fromWebScript name: String!, withArguments arguments: [Any]!) -> Any!
func invokeDefaultMethod(withArguments arguments: [Any]!) -> Any!
func finalizeForWebScript()
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 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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
var classForPortCoder: AnyClass { get }
func replacementObject(for coder: NSPortCoder) -> Any?
}
extension WKWebView : CVarArg {
}
extension WKWebView : NSUserInterfaceValidations {
@IBAction func goBack(_ sender: Any?)
@IBAction func goForward(_ sender: Any?)
@IBAction func reload(_ sender: Any?)
@IBAction func reloadFromOrigin(_ sender: Any?)
@IBAction func stopLoading(_ sender: Any?)
}
extension WKWebView : Equatable, Hashable {
var hashValue: Int { get }
}
extension WKWebView : NSUserInterfaceValidations {
@IBAction func goBack(_ sender: Any?)
@IBAction func goForward(_ sender: Any?)
@IBAction func reload(_ sender: Any?)
@IBAction func reloadFromOrigin(_ sender: Any?)
@IBAction func stopLoading(_ sender: Any?)
}
extension WKWebView {
var certificateChain: [Any] { get }
} | CVarArg, Equatable, Hashable, NSUserInterfaceValidations |
| To | class WKWebView : NSView {
@NSCopying var configuration: WKWebViewConfiguration { get }
weak var navigationDelegate: WKNavigationDelegate?
weak var uiDelegate: WKUIDelegate?
var backForwardList: WKBackForwardList { get }
init(frame frame: CGRect, configuration configuration: WKWebViewConfiguration)
init?(coder coder: NSCoder)
func load(_ request: URLRequest) -> WKNavigation?
func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?
func loadHTMLString(_ string: String, baseURL baseURL: URL?) -> WKNavigation?
func load(_ data: Data, mimeType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: URL) -> WKNavigation?
func go(to item: WKBackForwardListItem) -> WKNavigation?
var title: String? { get }
var url: URL? { get }
var isLoading: Bool { get }
var estimatedProgress: Double { get }
var hasOnlySecureContent: Bool { get }
var serverTrust: SecTrust? { get }
var canGoBack: Bool { get }
var canGoForward: Bool { get }
func goBack() -> WKNavigation?
func goForward() -> WKNavigation?
func reload() -> WKNavigation?
func reloadFromOrigin() -> WKNavigation?
func stopLoading()
func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: ((Any?, Error?) -> Swift.Void)? = nil)
var allowsBackForwardNavigationGestures: Bool
var customUserAgent: String?
var allowsLinkPreview: Bool
var allowsMagnification: Bool
var magnification: CGFloat
func setMagnification(_ magnification: CGFloat, centeredAt point: CGPoint)
var certificateChain: [Any] { 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 webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!)
func webPlugInContainerShowStatus(_ message: String!)
var webPlugInContainerSelectionColor: NSColor! { get }
var webFrame: WebFrame! { get }
func webPlugInInitialize()
func webPlugInStart()
func webPlugInStop()
func webPlugInDestroy()
func webPlugInSetIsSelected(_ isSelected: Bool)
var objectForWebScript: Any! { get }
func webPlugInMainResourceDidReceive(_ response: URLResponse!)
func webPlugInMainResourceDidReceive(_ data: Data!)
func webPlugInMainResourceDidFailWithError(_ error: Error!)
func webPlugInMainResourceDidFinishLoading()
class func webScriptName(for selector: Selector!) -> String!
class func isSelectorExcluded(fromWebScript selector: Selector!) -> Bool
class func webScriptName(forKey name: UnsafePointer<Int8>!) -> String!
class func isKeyExcluded(fromWebScript name: UnsafePointer<Int8>!) -> Bool
func invokeUndefinedMethod(fromWebScript name: String!, withArguments arguments: [Any]!) -> Any!
func invokeDefaultMethod(withArguments arguments: [Any]!) -> Any!
func finalizeForWebScript()
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?
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 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 provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
@NSCopying var classDescription: NSClassDescription { get }
var attributeKeys: [String] { get }
var toOneRelationshipKeys: [String] { get }
var toManyRelationshipKeys: [String] { get }
func inverse(forRelationshipKey relationshipKey: String) -> String?
}
extension WKWebView : NSTouchBarProvider {
var touchBar: NSTouchBar?
func makeTouchBar() -> NSTouchBar?
}
extension WKWebView : CVarArg {
}
extension WKWebView : NSUserInterfaceValidations {
@IBAction func goBack(_ sender: Any?)
@IBAction func goForward(_ sender: Any?)
@IBAction func reload(_ sender: Any?)
@IBAction func reloadFromOrigin(_ sender: Any?)
@IBAction func stopLoading(_ sender: Any?)
}
extension WKWebView : Equatable, Hashable {
var hashValue: Int { get }
}
extension WKWebView : NSUserInterfaceValidations {
@IBAction func goBack(_ sender: Any?)
@IBAction func goForward(_ sender: Any?)
@IBAction func reload(_ sender: Any?)
@IBAction func reloadFromOrigin(_ sender: Any?)
@IBAction func stopLoading(_ sender: Any?)
}
extension WKWebView {
var certificateChain: [Any] { get }
} | CVarArg, Equatable, Hashable, NSTouchBarProvider, NSUserInterfaceValidations |
Modified WKWebView.evaluateJavaScript(_: String, completionHandler: ((Any?, Error?) -> Swift.Void)?)
| Declaration | |
|---|---|
| From | func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: (@escaping (Any?, Error?) -> Swift.Void)? = nil) |
| To | func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: ((Any?, Error?) -> Swift.Void)? = nil) |