WebKit Changes for Swift
WebKit
Removed NSObject.undoManagerForWebView(_: WebView!) -> NSUndoManager!
Removed NSObject.webView(_: WebView!, doCommandBySelector: Selector) -> Bool
Removed NSObject.webView(_: WebView!, shouldApplyStyle: DOMCSSStyleDeclaration!, toElementsInDOMRange: DOMRange!) -> Bool
Removed NSObject.webView(_: WebView!, shouldBeginEditingInDOMRange: DOMRange!) -> Bool
Removed NSObject.webView(_: WebView!, shouldChangeSelectedDOMRange: DOMRange!, toDOMRange: DOMRange!, affinity: NSSelectionAffinity, stillSelecting: Bool) -> Bool
Removed NSObject.webView(_: WebView!, shouldChangeTypingStyle: DOMCSSStyleDeclaration!, toStyle: DOMCSSStyleDeclaration!) -> Bool
Removed NSObject.webView(_: WebView!, shouldDeleteDOMRange: DOMRange!) -> Bool
Removed NSObject.webView(_: WebView!, shouldEndEditingInDOMRange: DOMRange!) -> Bool
Removed NSObject.webView(_: WebView!, shouldInsertNode: DOMNode!, replacingDOMRange: DOMRange!, givenAction: WebViewInsertAction) -> Bool
Removed NSObject.webView(_: WebView!, shouldInsertText: String!, replacingDOMRange: DOMRange!, givenAction: WebViewInsertAction) -> Bool
Removed NSObject.webViewDidBeginEditing(_: NSNotification!)
Removed NSObject.webViewDidChange(_: NSNotification!)
Removed NSObject.webViewDidChangeSelection(_: NSNotification!)
Removed NSObject.webViewDidChangeTypingStyle(_: NSNotification!)
Removed NSObject.webViewDidEndEditing(_: NSNotification!)
Removed WebDragDestinationAction.None
Removed WebDragSourceAction.None
Added WKError [struct]
Added WKError.init(_nsError: NSError)
Added WKError.unknown
Added WKOpenPanelParameters
Added WKWebView.serverTrust
Modified DOMAbstractView
| Declaration | |
|---|---|
| From | class DOMAbstractView : DOMObject {
var document: DOMDocument! { get }
} |
| To | class DOMAbstractView : DOMObject {
var document: DOMDocument! { get }
var sheet: DOMStyleSheet! { get }
} |
Modified DOMAttr
| Declaration | |
|---|---|
| From | class DOMAttr : DOMNode {
var name: String! { get }
var specified: Bool { get }
var value: String!
var ownerElement: DOMElement! { get }
var style: DOMCSSStyleDeclaration! { get }
} |
| To | class DOMAttr : DOMNode {
var name: String! { get }
var specified: Bool { get }
var value: String!
var ownerElement: DOMElement! { get }
var style: DOMCSSStyleDeclaration! { get }
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMBlob
| Declaration | |
|---|---|
| From | class DOMBlob : DOMObject {
var size: UInt64 { get }
} |
| To | class DOMBlob : DOMObject {
var size: UInt64 { get }
var sheet: DOMStyleSheet! { get }
} |
Modified DOMCharacterData
| Declaration | |
|---|---|
| From | class DOMCharacterData : DOMNode {
var data: String!
var length: UInt32 { get }
func substringData(_ offset: UInt32, length length: UInt32) -> String!
func appendData(_ data: String!)
func insertData(_ offset: UInt32, data data: String!)
func deleteData(_ offset: UInt32, length length: UInt32)
func replaceData(_ offset: UInt32, length length: UInt32, data data: String!)
}
extension DOMCharacterData {
func substringData(_ offset: UInt32, _ length: UInt32) -> String!
func insertData(_ offset: UInt32, _ data: String!)
func deleteData(_ offset: UInt32, _ length: UInt32)
func replaceData(_ offset: UInt32, _ length: UInt32, _ data: String!)
} |
| To | class DOMCharacterData : DOMNode {
var data: String!
var length: UInt32 { get }
func substringData(_ offset: UInt32, length length: UInt32) -> String!
func appendData(_ data: String!)
func insertData(_ offset: UInt32, data data: String!)
func deleteData(_ offset: UInt32, length length: UInt32)
func replaceData(_ offset: UInt32, length length: UInt32, data data: String!)
func substringData(_ offset: UInt32, _ length: UInt32) -> String!
func insertData(_ offset: UInt32, _ data: String!)
func deleteData(_ offset: UInt32, _ length: UInt32)
func replaceData(_ offset: UInt32, _ length: UInt32, _ data: String!)
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
}
extension DOMCharacterData {
func substringData(_ offset: UInt32, _ length: UInt32) -> String!
func insertData(_ offset: UInt32, _ data: String!)
func deleteData(_ offset: UInt32, _ length: UInt32)
func replaceData(_ offset: UInt32, _ length: UInt32, _ data: String!)
} |
Modified DOMComment
| Declaration | |
|---|---|
| From | class DOMComment : DOMCharacterData {
} |
| To | class DOMComment : DOMCharacterData {
func substringData(_ offset: UInt32, _ length: UInt32) -> String!
func insertData(_ offset: UInt32, _ data: String!)
func deleteData(_ offset: UInt32, _ length: UInt32)
func replaceData(_ offset: UInt32, _ length: UInt32, _ data: String!)
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMCounter
| Declaration | |
|---|---|
| From | class DOMCounter : DOMObject {
var identifier: String! { get }
var listStyle: String! { get }
var separator: String! { get }
} |
| To | class DOMCounter : DOMObject {
var identifier: String! { get }
var listStyle: String! { get }
var separator: String! { get }
var sheet: DOMStyleSheet! { get }
} |
Modified DOMCSSMediaRule
| Declaration | |
|---|---|
| From | class DOMCSSMediaRule : DOMCSSRule {
var media: DOMMediaList! { get }
var cssRules: DOMCSSRuleList! { get }
func insertRule(_ rule: String!, index index: UInt32) -> UInt32
func deleteRule(_ index: UInt32)
}
extension DOMCSSMediaRule {
func insertRule(_ rule: String!, _ index: UInt32) -> UInt32
} |
| To | class DOMCSSMediaRule : DOMCSSRule {
var media: DOMMediaList! { get }
var cssRules: DOMCSSRuleList! { get }
func insert(_ rule: String!, index index: UInt32) -> UInt32
func delete(_ index: UInt32)
func insert(_ rule: String!, _ index: UInt32) -> UInt32
}
extension DOMCSSMediaRule {
func insert(_ rule: String!, _ index: UInt32) -> UInt32
} |
Modified DOMCSSMediaRule.delete(_: UInt32)
| Declaration | |
|---|---|
| From | func deleteRule(_ index: UInt32) |
| To | func delete(_ index: UInt32) |
| Declaration | |
|---|---|
| From | func insertRule(_ rule: String!, index index: UInt32) -> UInt32 |
| To | func insert(_ rule: String!, index index: UInt32) -> UInt32 |
Modified DOMCSSPrimitiveValue
| Declaration | |
|---|---|
| From | class DOMCSSPrimitiveValue : DOMCSSValue {
var primitiveType: UInt16 { get }
func setFloatValue(_ unitType: UInt16, floatValue floatValue: Float)
func getFloatValue(_ unitType: UInt16) -> Float
func setStringValue(_ stringType: UInt16, stringValue stringValue: String!)
func getStringValue() -> String!
func getCounterValue() -> DOMCounter!
func getRectValue() -> DOMRect!
func getRGBColorValue() -> DOMRGBColor!
}
extension DOMCSSPrimitiveValue {
func setFloatValue(_ unitType: UInt16, _ floatValue: Float)
func setStringValue(_ stringType: UInt16, _ stringValue: String!)
} |
| To | class DOMCSSPrimitiveValue : DOMCSSValue {
var primitiveType: UInt16 { get }
func setFloat(_ unitType: UInt16, floatValue floatValue: Float)
func getFloat(_ unitType: UInt16) -> Float
func setString(_ stringType: UInt16, stringValue stringValue: String!)
func getStringValue() -> String!
func getCounterValue() -> DOMCounter!
func getRectValue() -> DOMRect!
func getRGBColorValue() -> DOMRGBColor!
func setFloat(_ unitType: UInt16, _ floatValue: Float)
func setString(_ stringType: UInt16, _ stringValue: String!)
}
extension DOMCSSPrimitiveValue {
func setFloat(_ unitType: UInt16, _ floatValue: Float)
func setString(_ stringType: UInt16, _ stringValue: String!)
} |
| Declaration | |
|---|---|
| From | func getFloatValue(_ unitType: UInt16) -> Float |
| To | func getFloat(_ unitType: UInt16) -> Float |
| Declaration | |
|---|---|
| From | func setFloatValue(_ unitType: UInt16, floatValue floatValue: Float) |
| To | func setFloat(_ unitType: UInt16, floatValue floatValue: Float) |
| Declaration | |
|---|---|
| From | func setStringValue(_ stringType: UInt16, stringValue stringValue: String!) |
| To | func setString(_ stringType: UInt16, stringValue stringValue: String!) |
Modified DOMCSSRule
| Declaration | |
|---|---|
| From | class DOMCSSRule : DOMObject {
var type: UInt16 { get }
var cssText: String!
var parentStyleSheet: DOMCSSStyleSheet! { get }
var parentRule: DOMCSSRule! { get }
} |
| To | class DOMCSSRule : DOMObject {
var type: UInt16 { get }
var cssText: String!
var parentStyleSheet: DOMCSSStyleSheet! { get }
var parent: DOMCSSRule! { get }
var sheet: DOMStyleSheet! { get }
} |
Modified DOMCSSRule.parent
| Declaration | |
|---|---|
| From | var parentRule: DOMCSSRule! { get } |
| To | var parent: DOMCSSRule! { get } |
Modified DOMCSSRuleList
| Declaration | |
|---|---|
| From | class DOMCSSRuleList : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMCSSRule!
} |
| To | class DOMCSSRuleList : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMCSSRule!
var sheet: DOMStyleSheet! { get }
} |
Modified DOMCSSStyleDeclaration
| Declaration | |
|---|---|
| From | class DOMCSSStyleDeclaration : DOMObject {
var cssText: String!
var length: UInt32 { get }
var parentRule: DOMCSSRule! { get }
func getPropertyValue(_ propertyName: String!) -> String!
func getPropertyCSSValue(_ propertyName: String!) -> DOMCSSValue!
func removeProperty(_ propertyName: String!) -> String!
func getPropertyPriority(_ propertyName: String!) -> String!
func setProperty(_ propertyName: String!, value value: String!, priority priority: String!)
func item(_ index: UInt32) -> String!
func getPropertyShorthand(_ propertyName: String!) -> String!
func isPropertyImplicit(_ propertyName: String!) -> Bool
}
extension DOMCSSStyleDeclaration {
func azimuth() -> String!
func setAzimuth(_ azimuth: String!)
func background() -> String!
func setBackground(_ background: String!)
func backgroundAttachment() -> String!
func setBackgroundAttachment(_ backgroundAttachment: String!)
func backgroundColor() -> String!
func setBackgroundColor(_ backgroundColor: String!)
func backgroundImage() -> String!
func setBackgroundImage(_ backgroundImage: String!)
func backgroundPosition() -> String!
func setBackgroundPosition(_ backgroundPosition: String!)
func backgroundRepeat() -> String!
func setBackgroundRepeat(_ backgroundRepeat: String!)
func border() -> String!
func setBorder(_ border: String!)
func borderCollapse() -> String!
func setBorderCollapse(_ borderCollapse: String!)
func borderColor() -> String!
func setBorderColor(_ borderColor: String!)
func borderSpacing() -> String!
func setBorderSpacing(_ borderSpacing: String!)
func borderStyle() -> String!
func setBorderStyle(_ borderStyle: String!)
func borderTop() -> String!
func setBorderTop(_ borderTop: String!)
func borderRight() -> String!
func setBorderRight(_ borderRight: String!)
func borderBottom() -> String!
func setBorderBottom(_ borderBottom: String!)
func borderLeft() -> String!
func setBorderLeft(_ borderLeft: String!)
func borderTopColor() -> String!
func setBorderTopColor(_ borderTopColor: String!)
func borderRightColor() -> String!
func setBorderRightColor(_ borderRightColor: String!)
func borderBottomColor() -> String!
func setBorderBottomColor(_ borderBottomColor: String!)
func borderLeftColor() -> String!
func setBorderLeftColor(_ borderLeftColor: String!)
func borderTopStyle() -> String!
func setBorderTopStyle(_ borderTopStyle: String!)
func borderRightStyle() -> String!
func setBorderRightStyle(_ borderRightStyle: String!)
func borderBottomStyle() -> String!
func setBorderBottomStyle(_ borderBottomStyle: String!)
func borderLeftStyle() -> String!
func setBorderLeftStyle(_ borderLeftStyle: String!)
func borderTopWidth() -> String!
func setBorderTopWidth(_ borderTopWidth: String!)
func borderRightWidth() -> String!
func setBorderRightWidth(_ borderRightWidth: String!)
func borderBottomWidth() -> String!
func setBorderBottomWidth(_ borderBottomWidth: String!)
func borderLeftWidth() -> String!
func setBorderLeftWidth(_ borderLeftWidth: String!)
func borderWidth() -> String!
func setBorderWidth(_ borderWidth: String!)
func bottom() -> String!
func setBottom(_ bottom: String!)
func captionSide() -> String!
func setCaptionSide(_ captionSide: String!)
func clear() -> String!
func setClear(_ clear: String!)
func clip() -> String!
func setClip(_ clip: String!)
func color() -> String!
func setColor(_ color: String!)
func content() -> String!
func setContent(_ content: String!)
func counterIncrement() -> String!
func setCounterIncrement(_ counterIncrement: String!)
func counterReset() -> String!
func setCounterReset(_ counterReset: String!)
func cue() -> String!
func setCue(_ cue: String!)
func cueAfter() -> String!
func setCueAfter(_ cueAfter: String!)
func cueBefore() -> String!
func setCueBefore(_ cueBefore: String!)
func cursor() -> String!
func setCursor(_ cursor: String!)
func direction() -> String!
func setDirection(_ direction: String!)
func display() -> String!
func setDisplay(_ display: String!)
func elevation() -> String!
func setElevation(_ elevation: String!)
func emptyCells() -> String!
func setEmptyCells(_ emptyCells: String!)
func cssFloat() -> String!
func setCssFloat(_ cssFloat: String!)
func font() -> String!
func setFont(_ font: String!)
func fontFamily() -> String!
func setFontFamily(_ fontFamily: String!)
func fontSize() -> String!
func setFontSize(_ fontSize: String!)
func fontSizeAdjust() -> String!
func setFontSizeAdjust(_ fontSizeAdjust: String!)
func fontStretch() -> String!
func setFontStretch(_ fontStretch: String!)
func fontStyle() -> String!
func setFontStyle(_ fontStyle: String!)
func fontVariant() -> String!
func setFontVariant(_ fontVariant: String!)
func fontWeight() -> String!
func setFontWeight(_ fontWeight: String!)
func height() -> String!
func setHeight(_ height: String!)
func left() -> String!
func setLeft(_ left: String!)
func letterSpacing() -> String!
func setLetterSpacing(_ letterSpacing: String!)
func lineHeight() -> String!
func setLineHeight(_ lineHeight: String!)
func listStyle() -> String!
func setListStyle(_ listStyle: String!)
func listStyleImage() -> String!
func setListStyleImage(_ listStyleImage: String!)
func listStylePosition() -> String!
func setListStylePosition(_ listStylePosition: String!)
func listStyleType() -> String!
func setListStyleType(_ listStyleType: String!)
func margin() -> String!
func setMargin(_ margin: String!)
func marginTop() -> String!
func setMarginTop(_ marginTop: String!)
func marginRight() -> String!
func setMarginRight(_ marginRight: String!)
func marginBottom() -> String!
func setMarginBottom(_ marginBottom: String!)
func marginLeft() -> String!
func setMarginLeft(_ marginLeft: String!)
func markerOffset() -> String!
func setMarkerOffset(_ markerOffset: String!)
func marks() -> String!
func setMarks(_ marks: String!)
func maxHeight() -> String!
func setMaxHeight(_ maxHeight: String!)
func maxWidth() -> String!
func setMaxWidth(_ maxWidth: String!)
func minHeight() -> String!
func setMinHeight(_ minHeight: String!)
func minWidth() -> String!
func setMinWidth(_ minWidth: String!)
func orphans() -> String!
func setOrphans(_ orphans: String!)
func outline() -> String!
func setOutline(_ outline: String!)
func outlineColor() -> String!
func setOutlineColor(_ outlineColor: String!)
func outlineStyle() -> String!
func setOutlineStyle(_ outlineStyle: String!)
func outlineWidth() -> String!
func setOutlineWidth(_ outlineWidth: String!)
func overflow() -> String!
func setOverflow(_ overflow: String!)
func padding() -> String!
func setPadding(_ padding: String!)
func paddingTop() -> String!
func setPaddingTop(_ paddingTop: String!)
func paddingRight() -> String!
func setPaddingRight(_ paddingRight: String!)
func paddingBottom() -> String!
func setPaddingBottom(_ paddingBottom: String!)
func paddingLeft() -> String!
func setPaddingLeft(_ paddingLeft: String!)
func page() -> String!
func setPage(_ page: String!)
func pageBreakAfter() -> String!
func setPageBreakAfter(_ pageBreakAfter: String!)
func pageBreakBefore() -> String!
func setPageBreakBefore(_ pageBreakBefore: String!)
func pageBreakInside() -> String!
func setPageBreakInside(_ pageBreakInside: String!)
func pause() -> String!
func setPause(_ pause: String!)
func pauseAfter() -> String!
func setPauseAfter(_ pauseAfter: String!)
func pauseBefore() -> String!
func setPauseBefore(_ pauseBefore: String!)
func pitch() -> String!
func setPitch(_ pitch: String!)
func pitchRange() -> String!
func setPitchRange(_ pitchRange: String!)
func playDuring() -> String!
func setPlayDuring(_ playDuring: String!)
func position() -> String!
func setPosition(_ position: String!)
func quotes() -> String!
func setQuotes(_ quotes: String!)
func richness() -> String!
func setRichness(_ richness: String!)
func right() -> String!
func setRight(_ right: String!)
func size() -> String!
func setSize(_ size: String!)
func speak() -> String!
func setSpeak(_ speak: String!)
func speakHeader() -> String!
func setSpeakHeader(_ speakHeader: String!)
func speakNumeral() -> String!
func setSpeakNumeral(_ speakNumeral: String!)
func speakPunctuation() -> String!
func setSpeakPunctuation(_ speakPunctuation: String!)
func speechRate() -> String!
func setSpeechRate(_ speechRate: String!)
func stress() -> String!
func setStress(_ stress: String!)
func tableLayout() -> String!
func setTableLayout(_ tableLayout: String!)
func textAlign() -> String!
func setTextAlign(_ textAlign: String!)
func textDecoration() -> String!
func setTextDecoration(_ textDecoration: String!)
func textIndent() -> String!
func setTextIndent(_ textIndent: String!)
func textShadow() -> String!
func setTextShadow(_ textShadow: String!)
func textTransform() -> String!
func setTextTransform(_ textTransform: String!)
func top() -> String!
func setTop(_ top: String!)
func unicodeBidi() -> String!
func setUnicodeBidi(_ unicodeBidi: String!)
func verticalAlign() -> String!
func setVerticalAlign(_ verticalAlign: String!)
func visibility() -> String!
func setVisibility(_ visibility: String!)
func voiceFamily() -> String!
func setVoiceFamily(_ voiceFamily: String!)
func volume() -> String!
func setVolume(_ volume: String!)
func whiteSpace() -> String!
func setWhiteSpace(_ whiteSpace: String!)
func widows() -> String!
func setWidows(_ widows: String!)
func width() -> String!
func setWidth(_ width: String!)
func wordSpacing() -> String!
func setWordSpacing(_ wordSpacing: String!)
func zIndex() -> String!
func setZIndex(_ zIndex: String!)
}
extension DOMCSSStyleDeclaration {
func setProperty(_ propertyName: String!, _ value: String!, _ priority: String!)
} |
| To | class DOMCSSStyleDeclaration : DOMObject {
var cssText: String!
var length: UInt32 { get }
var parentRule: DOMCSSRule! { get }
func getPropertyValue(_ propertyName: String!) -> String!
func getPropertyCSSValue(_ propertyName: String!) -> DOMCSSValue!
func removeProperty(_ propertyName: String!) -> String!
func getPropertyPriority(_ propertyName: String!) -> String!
func setProperty(_ propertyName: String!, value value: String!, priority priority: String!)
func item(_ index: UInt32) -> String!
func getPropertyShorthand(_ propertyName: String!) -> String!
func isPropertyImplicit(_ propertyName: String!) -> Bool
func azimuth() -> String!
func setAzimuth(_ azimuth: String!)
func background() -> String!
func setBackground(_ background: String!)
func backgroundAttachment() -> String!
func setBackgroundAttachment(_ backgroundAttachment: String!)
func backgroundColor() -> String!
func setBackgroundColor(_ backgroundColor: String!)
func backgroundImage() -> String!
func setBackgroundImage(_ backgroundImage: String!)
func backgroundPosition() -> String!
func setBackgroundPosition(_ backgroundPosition: String!)
func backgroundRepeat() -> String!
func setBackgroundRepeat(_ backgroundRepeat: String!)
func border() -> String!
func setBorder(_ border: String!)
func borderCollapse() -> String!
func setBorderCollapse(_ borderCollapse: String!)
func borderColor() -> String!
func setBorderColor(_ borderColor: String!)
func borderSpacing() -> String!
func setBorderSpacing(_ borderSpacing: String!)
func borderStyle() -> String!
func setBorderStyle(_ borderStyle: String!)
func borderTop() -> String!
func setBorderTop(_ borderTop: String!)
func borderRight() -> String!
func setBorderRight(_ borderRight: String!)
func borderBottom() -> String!
func setBorderBottom(_ borderBottom: String!)
func borderLeft() -> String!
func setBorderLeft(_ borderLeft: String!)
func borderTopColor() -> String!
func setBorderTopColor(_ borderTopColor: String!)
func borderRightColor() -> String!
func setBorderRightColor(_ borderRightColor: String!)
func borderBottomColor() -> String!
func setBorderBottomColor(_ borderBottomColor: String!)
func borderLeftColor() -> String!
func setBorderLeftColor(_ borderLeftColor: String!)
func borderTopStyle() -> String!
func setBorderTopStyle(_ borderTopStyle: String!)
func borderRightStyle() -> String!
func setBorderRightStyle(_ borderRightStyle: String!)
func borderBottomStyle() -> String!
func setBorderBottomStyle(_ borderBottomStyle: String!)
func borderLeftStyle() -> String!
func setBorderLeftStyle(_ borderLeftStyle: String!)
func borderTopWidth() -> String!
func setBorderTopWidth(_ borderTopWidth: String!)
func borderRightWidth() -> String!
func setBorderRightWidth(_ borderRightWidth: String!)
func borderBottomWidth() -> String!
func setBorderBottomWidth(_ borderBottomWidth: String!)
func borderLeftWidth() -> String!
func setBorderLeftWidth(_ borderLeftWidth: String!)
func borderWidth() -> String!
func setBorderWidth(_ borderWidth: String!)
func bottom() -> String!
func setBottom(_ bottom: String!)
func captionSide() -> String!
func setCaptionSide(_ captionSide: String!)
func clear() -> String!
func setClear(_ clear: String!)
func clip() -> String!
func setClip(_ clip: String!)
func color() -> String!
func setColor(_ color: String!)
func content() -> String!
func setContent(_ content: String!)
func counterIncrement() -> String!
func setCounterIncrement(_ counterIncrement: String!)
func counterReset() -> String!
func setCounterReset(_ counterReset: String!)
func cue() -> String!
func setCue(_ cue: String!)
func cueAfter() -> String!
func setCueAfter(_ cueAfter: String!)
func cueBefore() -> String!
func setCueBefore(_ cueBefore: String!)
func cursor() -> String!
func setCursor(_ cursor: String!)
func direction() -> String!
func setDirection(_ direction: String!)
func display() -> String!
func setDisplay(_ display: String!)
func elevation() -> String!
func setElevation(_ elevation: String!)
func emptyCells() -> String!
func setEmptyCells(_ emptyCells: String!)
func cssFloat() -> String!
func setCssFloat(_ cssFloat: String!)
func font() -> String!
func setFont(_ font: String!)
func fontFamily() -> String!
func setFontFamily(_ fontFamily: String!)
func fontSize() -> String!
func setFontSize(_ fontSize: String!)
func fontSizeAdjust() -> String!
func setFontSizeAdjust(_ fontSizeAdjust: String!)
func fontStretch() -> String!
func setFontStretch(_ fontStretch: String!)
func fontStyle() -> String!
func setFontStyle(_ fontStyle: String!)
func fontVariant() -> String!
func setFontVariant(_ fontVariant: String!)
func fontWeight() -> String!
func setFontWeight(_ fontWeight: String!)
func height() -> String!
func setHeight(_ height: String!)
func left() -> String!
func setLeft(_ left: String!)
func letterSpacing() -> String!
func setLetterSpacing(_ letterSpacing: String!)
func lineHeight() -> String!
func setLineHeight(_ lineHeight: String!)
func listStyle() -> String!
func setListStyle(_ listStyle: String!)
func listStyleImage() -> String!
func setListStyleImage(_ listStyleImage: String!)
func listStylePosition() -> String!
func setListStylePosition(_ listStylePosition: String!)
func listStyleType() -> String!
func setListStyleType(_ listStyleType: String!)
func margin() -> String!
func setMargin(_ margin: String!)
func marginTop() -> String!
func setMarginTop(_ marginTop: String!)
func marginRight() -> String!
func setMarginRight(_ marginRight: String!)
func marginBottom() -> String!
func setMarginBottom(_ marginBottom: String!)
func marginLeft() -> String!
func setMarginLeft(_ marginLeft: String!)
func markerOffset() -> String!
func setMarkerOffset(_ markerOffset: String!)
func marks() -> String!
func setMarks(_ marks: String!)
func maxHeight() -> String!
func setMaxHeight(_ maxHeight: String!)
func maxWidth() -> String!
func setMaxWidth(_ maxWidth: String!)
func minHeight() -> String!
func setMinHeight(_ minHeight: String!)
func minWidth() -> String!
func setMinWidth(_ minWidth: String!)
func orphans() -> String!
func setOrphans(_ orphans: String!)
func outline() -> String!
func setOutline(_ outline: String!)
func outlineColor() -> String!
func setOutlineColor(_ outlineColor: String!)
func outlineStyle() -> String!
func setOutlineStyle(_ outlineStyle: String!)
func outlineWidth() -> String!
func setOutlineWidth(_ outlineWidth: String!)
func overflow() -> String!
func setOverflow(_ overflow: String!)
func padding() -> String!
func setPadding(_ padding: String!)
func paddingTop() -> String!
func setPaddingTop(_ paddingTop: String!)
func paddingRight() -> String!
func setPaddingRight(_ paddingRight: String!)
func paddingBottom() -> String!
func setPaddingBottom(_ paddingBottom: String!)
func paddingLeft() -> String!
func setPaddingLeft(_ paddingLeft: String!)
func page() -> String!
func setPage(_ page: String!)
func pageBreakAfter() -> String!
func setPageBreakAfter(_ pageBreakAfter: String!)
func pageBreakBefore() -> String!
func setPageBreakBefore(_ pageBreakBefore: String!)
func pageBreakInside() -> String!
func setPageBreakInside(_ pageBreakInside: String!)
func pause() -> String!
func setPause(_ pause: String!)
func pauseAfter() -> String!
func setPauseAfter(_ pauseAfter: String!)
func pauseBefore() -> String!
func setPauseBefore(_ pauseBefore: String!)
func pitch() -> String!
func setPitch(_ pitch: String!)
func pitchRange() -> String!
func setPitchRange(_ pitchRange: String!)
func playDuring() -> String!
func setPlayDuring(_ playDuring: String!)
func position() -> String!
func setPosition(_ position: String!)
func quotes() -> String!
func setQuotes(_ quotes: String!)
func richness() -> String!
func setRichness(_ richness: String!)
func right() -> String!
func setRight(_ right: String!)
func size() -> String!
func setSize(_ size: String!)
func speak() -> String!
func setSpeak(_ speak: String!)
func speakHeader() -> String!
func setSpeakHeader(_ speakHeader: String!)
func speakNumeral() -> String!
func setSpeakNumeral(_ speakNumeral: String!)
func speakPunctuation() -> String!
func setSpeakPunctuation(_ speakPunctuation: String!)
func speechRate() -> String!
func setSpeechRate(_ speechRate: String!)
func stress() -> String!
func setStress(_ stress: String!)
func tableLayout() -> String!
func setTableLayout(_ tableLayout: String!)
func textAlign() -> String!
func setTextAlign(_ textAlign: String!)
func textDecoration() -> String!
func setTextDecoration(_ textDecoration: String!)
func textIndent() -> String!
func setTextIndent(_ textIndent: String!)
func textShadow() -> String!
func setTextShadow(_ textShadow: String!)
func textTransform() -> String!
func setTextTransform(_ textTransform: String!)
func top() -> String!
func setTop(_ top: String!)
func unicodeBidi() -> String!
func setUnicodeBidi(_ unicodeBidi: String!)
func verticalAlign() -> String!
func setVerticalAlign(_ verticalAlign: String!)
func visibility() -> String!
func setVisibility(_ visibility: String!)
func voiceFamily() -> String!
func setVoiceFamily(_ voiceFamily: String!)
func volume() -> String!
func setVolume(_ volume: String!)
func whiteSpace() -> String!
func setWhiteSpace(_ whiteSpace: String!)
func widows() -> String!
func setWidows(_ widows: String!)
func width() -> String!
func setWidth(_ width: String!)
func wordSpacing() -> String!
func setWordSpacing(_ wordSpacing: String!)
func zIndex() -> String!
func setZIndex(_ zIndex: String!)
func setProperty(_ propertyName: String!, _ value: String!, _ priority: String!)
var sheet: DOMStyleSheet! { get }
}
extension DOMCSSStyleDeclaration {
func azimuth() -> String!
func setAzimuth(_ azimuth: String!)
func background() -> String!
func setBackground(_ background: String!)
func backgroundAttachment() -> String!
func setBackgroundAttachment(_ backgroundAttachment: String!)
func backgroundColor() -> String!
func setBackgroundColor(_ backgroundColor: String!)
func backgroundImage() -> String!
func setBackgroundImage(_ backgroundImage: String!)
func backgroundPosition() -> String!
func setBackgroundPosition(_ backgroundPosition: String!)
func backgroundRepeat() -> String!
func setBackgroundRepeat(_ backgroundRepeat: String!)
func border() -> String!
func setBorder(_ border: String!)
func borderCollapse() -> String!
func setBorderCollapse(_ borderCollapse: String!)
func borderColor() -> String!
func setBorderColor(_ borderColor: String!)
func borderSpacing() -> String!
func setBorderSpacing(_ borderSpacing: String!)
func borderStyle() -> String!
func setBorderStyle(_ borderStyle: String!)
func borderTop() -> String!
func setBorderTop(_ borderTop: String!)
func borderRight() -> String!
func setBorderRight(_ borderRight: String!)
func borderBottom() -> String!
func setBorderBottom(_ borderBottom: String!)
func borderLeft() -> String!
func setBorderLeft(_ borderLeft: String!)
func borderTopColor() -> String!
func setBorderTopColor(_ borderTopColor: String!)
func borderRightColor() -> String!
func setBorderRightColor(_ borderRightColor: String!)
func borderBottomColor() -> String!
func setBorderBottomColor(_ borderBottomColor: String!)
func borderLeftColor() -> String!
func setBorderLeftColor(_ borderLeftColor: String!)
func borderTopStyle() -> String!
func setBorderTopStyle(_ borderTopStyle: String!)
func borderRightStyle() -> String!
func setBorderRightStyle(_ borderRightStyle: String!)
func borderBottomStyle() -> String!
func setBorderBottomStyle(_ borderBottomStyle: String!)
func borderLeftStyle() -> String!
func setBorderLeftStyle(_ borderLeftStyle: String!)
func borderTopWidth() -> String!
func setBorderTopWidth(_ borderTopWidth: String!)
func borderRightWidth() -> String!
func setBorderRightWidth(_ borderRightWidth: String!)
func borderBottomWidth() -> String!
func setBorderBottomWidth(_ borderBottomWidth: String!)
func borderLeftWidth() -> String!
func setBorderLeftWidth(_ borderLeftWidth: String!)
func borderWidth() -> String!
func setBorderWidth(_ borderWidth: String!)
func bottom() -> String!
func setBottom(_ bottom: String!)
func captionSide() -> String!
func setCaptionSide(_ captionSide: String!)
func clear() -> String!
func setClear(_ clear: String!)
func clip() -> String!
func setClip(_ clip: String!)
func color() -> String!
func setColor(_ color: String!)
func content() -> String!
func setContent(_ content: String!)
func counterIncrement() -> String!
func setCounterIncrement(_ counterIncrement: String!)
func counterReset() -> String!
func setCounterReset(_ counterReset: String!)
func cue() -> String!
func setCue(_ cue: String!)
func cueAfter() -> String!
func setCueAfter(_ cueAfter: String!)
func cueBefore() -> String!
func setCueBefore(_ cueBefore: String!)
func cursor() -> String!
func setCursor(_ cursor: String!)
func direction() -> String!
func setDirection(_ direction: String!)
func display() -> String!
func setDisplay(_ display: String!)
func elevation() -> String!
func setElevation(_ elevation: String!)
func emptyCells() -> String!
func setEmptyCells(_ emptyCells: String!)
func cssFloat() -> String!
func setCssFloat(_ cssFloat: String!)
func font() -> String!
func setFont(_ font: String!)
func fontFamily() -> String!
func setFontFamily(_ fontFamily: String!)
func fontSize() -> String!
func setFontSize(_ fontSize: String!)
func fontSizeAdjust() -> String!
func setFontSizeAdjust(_ fontSizeAdjust: String!)
func fontStretch() -> String!
func setFontStretch(_ fontStretch: String!)
func fontStyle() -> String!
func setFontStyle(_ fontStyle: String!)
func fontVariant() -> String!
func setFontVariant(_ fontVariant: String!)
func fontWeight() -> String!
func setFontWeight(_ fontWeight: String!)
func height() -> String!
func setHeight(_ height: String!)
func left() -> String!
func setLeft(_ left: String!)
func letterSpacing() -> String!
func setLetterSpacing(_ letterSpacing: String!)
func lineHeight() -> String!
func setLineHeight(_ lineHeight: String!)
func listStyle() -> String!
func setListStyle(_ listStyle: String!)
func listStyleImage() -> String!
func setListStyleImage(_ listStyleImage: String!)
func listStylePosition() -> String!
func setListStylePosition(_ listStylePosition: String!)
func listStyleType() -> String!
func setListStyleType(_ listStyleType: String!)
func margin() -> String!
func setMargin(_ margin: String!)
func marginTop() -> String!
func setMarginTop(_ marginTop: String!)
func marginRight() -> String!
func setMarginRight(_ marginRight: String!)
func marginBottom() -> String!
func setMarginBottom(_ marginBottom: String!)
func marginLeft() -> String!
func setMarginLeft(_ marginLeft: String!)
func markerOffset() -> String!
func setMarkerOffset(_ markerOffset: String!)
func marks() -> String!
func setMarks(_ marks: String!)
func maxHeight() -> String!
func setMaxHeight(_ maxHeight: String!)
func maxWidth() -> String!
func setMaxWidth(_ maxWidth: String!)
func minHeight() -> String!
func setMinHeight(_ minHeight: String!)
func minWidth() -> String!
func setMinWidth(_ minWidth: String!)
func orphans() -> String!
func setOrphans(_ orphans: String!)
func outline() -> String!
func setOutline(_ outline: String!)
func outlineColor() -> String!
func setOutlineColor(_ outlineColor: String!)
func outlineStyle() -> String!
func setOutlineStyle(_ outlineStyle: String!)
func outlineWidth() -> String!
func setOutlineWidth(_ outlineWidth: String!)
func overflow() -> String!
func setOverflow(_ overflow: String!)
func padding() -> String!
func setPadding(_ padding: String!)
func paddingTop() -> String!
func setPaddingTop(_ paddingTop: String!)
func paddingRight() -> String!
func setPaddingRight(_ paddingRight: String!)
func paddingBottom() -> String!
func setPaddingBottom(_ paddingBottom: String!)
func paddingLeft() -> String!
func setPaddingLeft(_ paddingLeft: String!)
func page() -> String!
func setPage(_ page: String!)
func pageBreakAfter() -> String!
func setPageBreakAfter(_ pageBreakAfter: String!)
func pageBreakBefore() -> String!
func setPageBreakBefore(_ pageBreakBefore: String!)
func pageBreakInside() -> String!
func setPageBreakInside(_ pageBreakInside: String!)
func pause() -> String!
func setPause(_ pause: String!)
func pauseAfter() -> String!
func setPauseAfter(_ pauseAfter: String!)
func pauseBefore() -> String!
func setPauseBefore(_ pauseBefore: String!)
func pitch() -> String!
func setPitch(_ pitch: String!)
func pitchRange() -> String!
func setPitchRange(_ pitchRange: String!)
func playDuring() -> String!
func setPlayDuring(_ playDuring: String!)
func position() -> String!
func setPosition(_ position: String!)
func quotes() -> String!
func setQuotes(_ quotes: String!)
func richness() -> String!
func setRichness(_ richness: String!)
func right() -> String!
func setRight(_ right: String!)
func size() -> String!
func setSize(_ size: String!)
func speak() -> String!
func setSpeak(_ speak: String!)
func speakHeader() -> String!
func setSpeakHeader(_ speakHeader: String!)
func speakNumeral() -> String!
func setSpeakNumeral(_ speakNumeral: String!)
func speakPunctuation() -> String!
func setSpeakPunctuation(_ speakPunctuation: String!)
func speechRate() -> String!
func setSpeechRate(_ speechRate: String!)
func stress() -> String!
func setStress(_ stress: String!)
func tableLayout() -> String!
func setTableLayout(_ tableLayout: String!)
func textAlign() -> String!
func setTextAlign(_ textAlign: String!)
func textDecoration() -> String!
func setTextDecoration(_ textDecoration: String!)
func textIndent() -> String!
func setTextIndent(_ textIndent: String!)
func textShadow() -> String!
func setTextShadow(_ textShadow: String!)
func textTransform() -> String!
func setTextTransform(_ textTransform: String!)
func top() -> String!
func setTop(_ top: String!)
func unicodeBidi() -> String!
func setUnicodeBidi(_ unicodeBidi: String!)
func verticalAlign() -> String!
func setVerticalAlign(_ verticalAlign: String!)
func visibility() -> String!
func setVisibility(_ visibility: String!)
func voiceFamily() -> String!
func setVoiceFamily(_ voiceFamily: String!)
func volume() -> String!
func setVolume(_ volume: String!)
func whiteSpace() -> String!
func setWhiteSpace(_ whiteSpace: String!)
func widows() -> String!
func setWidows(_ widows: String!)
func width() -> String!
func setWidth(_ width: String!)
func wordSpacing() -> String!
func setWordSpacing(_ wordSpacing: String!)
func zIndex() -> String!
func setZIndex(_ zIndex: String!)
}
extension DOMCSSStyleDeclaration {
func setProperty(_ propertyName: String!, _ value: String!, _ priority: String!)
} |
Modified DOMCSSStyleSheet
| Declaration | |
|---|---|
| From | class DOMCSSStyleSheet : DOMStyleSheet {
var ownerRule: DOMCSSRule! { get }
var cssRules: DOMCSSRuleList! { get }
var rules: DOMCSSRuleList! { get }
func insertRule(_ rule: String!, index index: UInt32) -> UInt32
func deleteRule(_ index: UInt32)
func addRule(_ selector: String!, style style: String!, index index: UInt32) -> Int32
func removeRule(_ index: UInt32)
}
extension DOMCSSStyleSheet {
func insertRule(_ rule: String!, _ index: UInt32) -> UInt32
} |
| To | class DOMCSSStyleSheet : DOMStyleSheet {
var ownerRule: DOMCSSRule! { get }
var cssRules: DOMCSSRuleList! { get }
var rules: DOMCSSRuleList! { get }
func insertRule(_ rule: String!, index index: UInt32) -> UInt32
func deleteRule(_ index: UInt32)
func addRule(_ selector: String!, style style: String!, index index: UInt32) -> Int32
func removeRule(_ index: UInt32)
func insertRule(_ rule: String!, _ index: UInt32) -> UInt32
}
extension DOMCSSStyleSheet {
func insertRule(_ rule: String!, _ index: UInt32) -> UInt32
} |
Modified DOMCSSValue
| Declaration | |
|---|---|
| From | class DOMCSSValue : DOMObject {
var cssText: String!
var cssValueType: UInt16 { get }
} |
| To | class DOMCSSValue : DOMObject {
var cssText: String!
var cssValueType: UInt16 { get }
var sheet: DOMStyleSheet! { get }
} |
Modified DOMDocument
| Declaration | |
|---|---|
| From | class DOMDocument : DOMNode {
var doctype: DOMDocumentType! { get }
var implementation: DOMImplementation! { get }
var documentElement: DOMElement! { get }
var inputEncoding: String! { get }
var xmlEncoding: String! { get }
var xmlVersion: String!
var xmlStandalone: Bool
var documentURI: String!
var defaultView: DOMAbstractView! { get }
var styleSheets: DOMStyleSheetList! { get }
var title: String!
var referrer: String! { get }
var domain: String! { get }
var URL: String! { get }
var cookie: String!
var body: DOMHTMLElement!
var images: DOMHTMLCollection! { get }
var applets: DOMHTMLCollection! { get }
var links: DOMHTMLCollection! { get }
var forms: DOMHTMLCollection! { get }
var anchors: DOMHTMLCollection! { get }
var lastModified: String! { get }
var charset: String!
var defaultCharset: String! { get }
var readyState: String! { get }
var characterSet: String! { get }
var preferredStylesheetSet: String! { get }
var selectedStylesheetSet: String!
var activeElement: DOMElement! { get }
func createElement(_ tagName: String!) -> DOMElement!
func createDocumentFragment() -> DOMDocumentFragment!
func createTextNode(_ data: String!) -> DOMText!
func createComment(_ data: String!) -> DOMComment!
func createCDATASection(_ data: String!) -> DOMCDATASection!
func createProcessingInstruction(_ target: String!, data data: String!) -> DOMProcessingInstruction!
func createAttribute(_ name: String!) -> DOMAttr!
func createEntityReference(_ name: String!) -> DOMEntityReference!
func getElementsByTagName(_ tagname: String!) -> DOMNodeList!
func importNode(_ importedNode: DOMNode!, deep deep: Bool) -> DOMNode!
func createElementNS(_ namespaceURI: String!, qualifiedName qualifiedName: String!) -> DOMElement!
func createAttributeNS(_ namespaceURI: String!, qualifiedName qualifiedName: String!) -> DOMAttr!
func getElementsByTagNameNS(_ namespaceURI: String!, localName localName: String!) -> DOMNodeList!
func adoptNode(_ source: DOMNode!) -> DOMNode!
func createEvent(_ eventType: String!) -> DOMEvent!
func createRange() -> DOMRange!
func createNodeIterator(_ root: DOMNode!, whatToShow whatToShow: UInt32, filter filter: DOMNodeFilter!, expandEntityReferences expandEntityReferences: Bool) -> DOMNodeIterator!
func createTreeWalker(_ root: DOMNode!, whatToShow whatToShow: UInt32, filter filter: DOMNodeFilter!, expandEntityReferences expandEntityReferences: Bool) -> DOMTreeWalker!
func getOverrideStyle(_ element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
func createExpression(_ expression: String!, resolver resolver: DOMXPathNSResolver!) -> DOMXPathExpression!
func createNSResolver(_ nodeResolver: DOMNode!) -> DOMXPathNSResolver!
func evaluate(_ expression: String!, contextNode contextNode: DOMNode!, resolver resolver: DOMXPathNSResolver!, type type: UInt16, inResult inResult: DOMXPathResult!) -> DOMXPathResult!
func execCommand(_ command: String!, userInterface userInterface: Bool, value value: String!) -> Bool
func execCommand(_ command: String!, userInterface userInterface: Bool) -> Bool
func execCommand(_ command: String!) -> Bool
func queryCommandEnabled(_ command: String!) -> Bool
func queryCommandIndeterm(_ command: String!) -> Bool
func queryCommandState(_ command: String!) -> Bool
func queryCommandSupported(_ command: String!) -> Bool
func queryCommandValue(_ command: String!) -> String!
func getElementsByName(_ elementName: String!) -> DOMNodeList!
func elementFromPoint(_ x: Int32, y y: Int32) -> DOMElement!
func createCSSStyleDeclaration() -> DOMCSSStyleDeclaration!
func getComputedStyle(_ element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
func getMatchedCSSRules(_ element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSRuleList!
func getMatchedCSSRules(_ element: DOMElement!, pseudoElement pseudoElement: String!, authorOnly authorOnly: Bool) -> DOMCSSRuleList!
func getElementsByClassName(_ classNames: String!) -> DOMNodeList!
func hasFocus() -> Bool
func webkitCancelFullScreen()
func getElementById(_ elementId: String!) -> DOMElement!
func querySelector(_ selectors: String!) -> DOMElement!
func querySelectorAll(_ selectors: String!) -> DOMNodeList!
}
extension DOMDocument {
func createProcessingInstruction(_ target: String!, _ data: String!) -> DOMProcessingInstruction!
func importNode(_ importedNode: DOMNode!, _ deep: Bool) -> DOMNode!
func createElementNS(_ namespaceURI: String!, _ qualifiedName: String!) -> DOMElement!
func createAttributeNS(_ namespaceURI: String!, _ qualifiedName: String!) -> DOMAttr!
func getElementsByTagNameNS(_ namespaceURI: String!, _ localName: String!) -> DOMNodeList!
func createNodeIterator(_ root: DOMNode!, _ whatToShow: UInt32, _ filter: DOMNodeFilter!, _ expandEntityReferences: Bool) -> DOMNodeIterator!
func createTreeWalker(_ root: DOMNode!, _ whatToShow: UInt32, _ filter: DOMNodeFilter!, _ expandEntityReferences: Bool) -> DOMTreeWalker!
func getOverrideStyle(_ element: DOMElement!, _ pseudoElement: String!) -> DOMCSSStyleDeclaration!
func createExpression(_ expression: String!, _ resolver: DOMXPathNSResolver!) -> DOMXPathExpression!
func evaluate(_ expression: String!, _ contextNode: DOMNode!, _ resolver: DOMXPathNSResolver!, _ type: UInt16, _ inResult: DOMXPathResult!) -> DOMXPathResult!
func getComputedStyle(_ element: DOMElement!, _ pseudoElement: String!) -> DOMCSSStyleDeclaration!
}
extension DOMDocument {
var webFrame: WebFrame! { get }
func URLWithAttributeString(_ string: String!) -> NSURL!
} |
| To | class DOMDocument : DOMNode {
var doctype: DOMDocumentType! { get }
var implementation: DOMImplementation! { get }
var documentElement: DOMElement! { get }
var inputEncoding: String! { get }
var xmlEncoding: String! { get }
var xmlVersion: String!
var xmlStandalone: Bool
var documentURI: String!
var defaultView: DOMAbstractView! { get }
var styleSheets: DOMStyleSheetList! { get }
var title: String!
var referrer: String! { get }
var domain: String! { get }
var url: String! { get }
var cookie: String!
var body: DOMHTMLElement!
var images: DOMHTMLCollection! { get }
var applets: DOMHTMLCollection! { get }
var links: DOMHTMLCollection! { get }
var forms: DOMHTMLCollection! { get }
var anchors: DOMHTMLCollection! { get }
var lastModified: String! { get }
var charset: String!
var defaultCharset: String! { get }
var readyState: String! { get }
var characterSet: String! { get }
var preferredStylesheetSet: String! { get }
var selectedStylesheetSet: String!
var activeElement: DOMElement! { get }
func createElement(_ tagName: String!) -> DOMElement!
func createDocumentFragment() -> DOMDocumentFragment!
func createTextNode(_ data: String!) -> DOMText!
func createComment(_ data: String!) -> DOMComment!
func createCDATASection(_ data: String!) -> DOMCDATASection!
func createProcessingInstruction(_ target: String!, data data: String!) -> DOMProcessingInstruction!
func createAttribute(_ name: String!) -> DOMAttr!
func createEntityReference(_ name: String!) -> DOMEntityReference!
func getElementsByTagName(_ tagname: String!) -> DOMNodeList!
func `import`(_ importedNode: DOMNode!, deep deep: Bool) -> DOMNode!
func createElementNS(_ namespaceURI: String!, qualifiedName qualifiedName: String!) -> DOMElement!
func createAttributeNS(_ namespaceURI: String!, qualifiedName qualifiedName: String!) -> DOMAttr!
func getElementsByTagNameNS(_ namespaceURI: String!, localName localName: String!) -> DOMNodeList!
func adoptNode(_ source: DOMNode!) -> DOMNode!
func createEvent(_ eventType: String!) -> DOMEvent!
func createRange() -> DOMRange!
func createNodeIterator(_ root: DOMNode!, whatToShow whatToShow: UInt32, filter filter: DOMNodeFilter!, expandEntityReferences expandEntityReferences: Bool) -> DOMNodeIterator!
func createTreeWalker(_ root: DOMNode!, whatToShow whatToShow: UInt32, filter filter: DOMNodeFilter!, expandEntityReferences expandEntityReferences: Bool) -> DOMTreeWalker!
func getOverrideStyle(_ element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
func createExpression(_ expression: String!, resolver resolver: DOMXPathNSResolver!) -> DOMXPathExpression!
func createNSResolver(_ nodeResolver: DOMNode!) -> DOMXPathNSResolver!
func evaluate(_ expression: String!, contextNode contextNode: DOMNode!, resolver resolver: DOMXPathNSResolver!, type type: UInt16, in inResult: DOMXPathResult!) -> DOMXPathResult!
func execCommand(_ command: String!, userInterface userInterface: Bool, value value: String!) -> Bool
func execCommand(_ command: String!, userInterface userInterface: Bool) -> Bool
func execCommand(_ command: String!) -> Bool
func queryCommandEnabled(_ command: String!) -> Bool
func queryCommandIndeterm(_ command: String!) -> Bool
func queryCommandState(_ command: String!) -> Bool
func queryCommandSupported(_ command: String!) -> Bool
func queryCommandValue(_ command: String!) -> String!
func getElementsByName(_ elementName: String!) -> DOMNodeList!
func element(fromPoint x: Int32, y y: Int32) -> DOMElement!
func createCSSStyleDeclaration() -> DOMCSSStyleDeclaration!
func getComputedStyle(_ element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
func getMatchedCSSRules(_ element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSRuleList!
func getMatchedCSSRules(_ element: DOMElement!, pseudoElement pseudoElement: String!, authorOnly authorOnly: Bool) -> DOMCSSRuleList!
func getElementsByClassName(_ classNames: String!) -> DOMNodeList!
func hasFocus() -> Bool
func webkitCancelFullScreen()
func getElementById(_ elementId: String!) -> DOMElement!
func querySelector(_ selectors: String!) -> DOMElement!
func querySelectorAll(_ selectors: String!) -> DOMNodeList!
var webFrame: WebFrame! { get }
func url(withAttributeString string: String!) -> URL!
func createProcessingInstruction(_ target: String!, _ data: String!) -> DOMProcessingInstruction!
func `import`(_ importedNode: DOMNode!, _ deep: Bool) -> DOMNode!
func createElementNS(_ namespaceURI: String!, _ qualifiedName: String!) -> DOMElement!
func createAttributeNS(_ namespaceURI: String!, _ qualifiedName: String!) -> DOMAttr!
func getElementsByTagNameNS(_ namespaceURI: String!, _ localName: String!) -> DOMNodeList!
func createNodeIterator(_ root: DOMNode!, _ whatToShow: UInt32, _ filter: DOMNodeFilter!, _ expandEntityReferences: Bool) -> DOMNodeIterator!
func createTreeWalker(_ root: DOMNode!, _ whatToShow: UInt32, _ filter: DOMNodeFilter!, _ expandEntityReferences: Bool) -> DOMTreeWalker!
func getOverrideStyle(_ element: DOMElement!, _ pseudoElement: String!) -> DOMCSSStyleDeclaration!
func createExpression(_ expression: String!, _ resolver: DOMXPathNSResolver!) -> DOMXPathExpression!
func evaluate(_ expression: String!, _ contextNode: DOMNode!, _ resolver: DOMXPathNSResolver!, _ type: UInt16, _ inResult: DOMXPathResult!) -> DOMXPathResult!
func getComputedStyle(_ element: DOMElement!, _ pseudoElement: String!) -> DOMCSSStyleDeclaration!
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
}
extension DOMDocument {
func createProcessingInstruction(_ target: String!, _ data: String!) -> DOMProcessingInstruction!
func `import`(_ importedNode: DOMNode!, _ deep: Bool) -> DOMNode!
func createElementNS(_ namespaceURI: String!, _ qualifiedName: String!) -> DOMElement!
func createAttributeNS(_ namespaceURI: String!, _ qualifiedName: String!) -> DOMAttr!
func getElementsByTagNameNS(_ namespaceURI: String!, _ localName: String!) -> DOMNodeList!
func createNodeIterator(_ root: DOMNode!, _ whatToShow: UInt32, _ filter: DOMNodeFilter!, _ expandEntityReferences: Bool) -> DOMNodeIterator!
func createTreeWalker(_ root: DOMNode!, _ whatToShow: UInt32, _ filter: DOMNodeFilter!, _ expandEntityReferences: Bool) -> DOMTreeWalker!
func getOverrideStyle(_ element: DOMElement!, _ pseudoElement: String!) -> DOMCSSStyleDeclaration!
func createExpression(_ expression: String!, _ resolver: DOMXPathNSResolver!) -> DOMXPathExpression!
func evaluate(_ expression: String!, _ contextNode: DOMNode!, _ resolver: DOMXPathNSResolver!, _ type: UInt16, _ inResult: DOMXPathResult!) -> DOMXPathResult!
func getComputedStyle(_ element: DOMElement!, _ pseudoElement: String!) -> DOMCSSStyleDeclaration!
}
extension DOMDocument {
var webFrame: WebFrame! { get }
func url(withAttributeString string: String!) -> URL!
} |
| Declaration | |
|---|---|
| From | func elementFromPoint(_ x: Int32, y y: Int32) -> DOMElement! |
| To | func element(fromPoint x: Int32, y y: Int32) -> DOMElement! |
| Declaration | |
|---|---|
| From | func evaluate(_ expression: String!, contextNode contextNode: DOMNode!, resolver resolver: DOMXPathNSResolver!, type type: UInt16, inResult inResult: DOMXPathResult!) -> DOMXPathResult! |
| To | func evaluate(_ expression: String!, contextNode contextNode: DOMNode!, resolver resolver: DOMXPathNSResolver!, type type: UInt16, in inResult: DOMXPathResult!) -> DOMXPathResult! |
| Declaration | |
|---|---|
| From | func importNode(_ importedNode: DOMNode!, deep deep: Bool) -> DOMNode! |
| To | func `import`(_ importedNode: DOMNode!, deep deep: Bool) -> DOMNode! |
Modified DOMDocument.url
| Declaration | |
|---|---|
| From | var URL: String! { get } |
| To | var url: String! { get } |
| Declaration | |
|---|---|
| From | func URLWithAttributeString(_ string: String!) -> NSURL! |
| To | func url(withAttributeString string: String!) -> URL! |
Modified DOMDocumentFragment
| Declaration | |
|---|---|
| From | class DOMDocumentFragment : DOMNode {
} |
| To | class DOMDocumentFragment : DOMNode {
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMDocumentType
| Declaration | |
|---|---|
| From | class DOMDocumentType : DOMNode {
var name: String! { get }
var entities: DOMNamedNodeMap! { get }
var notations: DOMNamedNodeMap! { get }
var publicId: String! { get }
var systemId: String! { get }
var internalSubset: String! { get }
} |
| To | class DOMDocumentType : DOMNode {
var name: String! { get }
var entities: DOMNamedNodeMap! { get }
var notations: DOMNamedNodeMap! { get }
var publicId: String! { get }
var systemId: String! { get }
var internalSubset: String! { get }
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMElement
| Declaration | |
|---|---|
| From | class DOMElement : DOMNode {
var tagName: String! { get }
var style: DOMCSSStyleDeclaration! { get }
var offsetLeft: Int32 { get }
var offsetTop: Int32 { get }
var offsetWidth: Int32 { get }
var offsetHeight: Int32 { get }
var clientLeft: Int32 { get }
var clientTop: Int32 { get }
var clientWidth: Int32 { get }
var clientHeight: Int32 { get }
var scrollLeft: Int32
var scrollTop: Int32
var scrollWidth: Int32 { get }
var scrollHeight: Int32 { get }
var offsetParent: DOMElement! { get }
var innerHTML: String!
var outerHTML: String!
var className: String!
var innerText: String! { get }
var previousElementSibling: DOMElement! { get }
var nextElementSibling: DOMElement! { get }
var firstElementChild: DOMElement! { get }
var lastElementChild: DOMElement! { get }
var childElementCount: UInt32 { get }
func getAttribute(_ name: String!) -> String!
func setAttribute(_ name: String!, value value: String!)
func removeAttribute(_ name: String!)
func getAttributeNode(_ name: String!) -> DOMAttr!
func setAttributeNode(_ newAttr: DOMAttr!) -> DOMAttr!
func removeAttributeNode(_ oldAttr: DOMAttr!) -> DOMAttr!
func getElementsByTagName(_ name: String!) -> DOMNodeList!
func getAttributeNS(_ namespaceURI: String!, localName localName: String!) -> String!
func setAttributeNS(_ namespaceURI: String!, qualifiedName qualifiedName: String!, value value: String!)
func removeAttributeNS(_ namespaceURI: String!, localName localName: String!)
func getElementsByTagNameNS(_ namespaceURI: String!, localName localName: String!) -> DOMNodeList!
func getAttributeNodeNS(_ namespaceURI: String!, localName localName: String!) -> DOMAttr!
func setAttributeNodeNS(_ newAttr: DOMAttr!) -> DOMAttr!
func hasAttribute(_ name: String!) -> Bool
func hasAttributeNS(_ namespaceURI: String!, localName localName: String!) -> Bool
func focus()
func blur()
func scrollIntoView(_ alignWithTop: Bool)
func scrollIntoViewIfNeeded(_ centerIfNeeded: Bool)
func scrollByLines(_ lines: Int32)
func scrollByPages(_ pages: Int32)
func getElementsByClassName(_ name: String!) -> DOMNodeList!
func webkitRequestFullScreen(_ flags: UInt16)
func querySelector(_ selectors: String!) -> DOMElement!
func querySelectorAll(_ selectors: String!) -> DOMNodeList!
}
extension DOMElement {
func setAttribute(_ name: String!, _ value: String!)
func getAttributeNS(_ namespaceURI: String!, _ localName: String!) -> String!
func setAttributeNS(_ namespaceURI: String!, _ qualifiedName: String!, _ value: String!)
func removeAttributeNS(_ namespaceURI: String!, _ localName: String!)
func getElementsByTagNameNS(_ namespaceURI: String!, _ localName: String!) -> DOMNodeList!
func getAttributeNodeNS(_ namespaceURI: String!, _ localName: String!) -> DOMAttr!
func hasAttributeNS(_ namespaceURI: String!, _ localName: String!) -> Bool
}
extension DOMElement {
func image() -> NSImage!
} |
| To | class DOMElement : DOMNode {
var tagName: String! { get }
var style: DOMCSSStyleDeclaration! { get }
var offsetLeft: Int32 { get }
var offsetTop: Int32 { get }
var offsetWidth: Int32 { get }
var offsetHeight: Int32 { get }
var clientLeft: Int32 { get }
var clientTop: Int32 { get }
var clientWidth: Int32 { get }
var clientHeight: Int32 { get }
var scrollLeft: Int32
var scrollTop: Int32
var scrollWidth: Int32 { get }
var scrollHeight: Int32 { get }
var offsetParent: DOMElement! { get }
var innerHTML: String!
var outerHTML: String!
var className: String!
var innerText: String! { get }
var previousElementSibling: DOMElement! { get }
var nextElementSibling: DOMElement! { get }
var firstElementChild: DOMElement! { get }
var lastElementChild: DOMElement! { get }
var childElementCount: UInt32 { get }
func getAttribute(_ name: String!) -> String!
func setAttribute(_ name: String!, value value: String!)
func removeAttribute(_ name: String!)
func getAttributeNode(_ name: String!) -> DOMAttr!
func setAttributeNode(_ newAttr: DOMAttr!) -> DOMAttr!
func removeAttributeNode(_ oldAttr: DOMAttr!) -> DOMAttr!
func getElementsByTagName(_ name: String!) -> DOMNodeList!
func getAttributeNS(_ namespaceURI: String!, localName localName: String!) -> String!
func setAttributeNS(_ namespaceURI: String!, qualifiedName qualifiedName: String!, value value: String!)
func removeAttributeNS(_ namespaceURI: String!, localName localName: String!)
func getElementsByTagNameNS(_ namespaceURI: String!, localName localName: String!) -> DOMNodeList!
func getAttributeNodeNS(_ namespaceURI: String!, localName localName: String!) -> DOMAttr!
func setAttributeNodeNS(_ newAttr: DOMAttr!) -> DOMAttr!
func hasAttribute(_ name: String!) -> Bool
func hasAttributeNS(_ namespaceURI: String!, localName localName: String!) -> Bool
func focus()
func blur()
func scroll(intoView alignWithTop: Bool)
func scroll(intoViewIfNeeded centerIfNeeded: Bool)
func scroll(byLines lines: Int32)
func scroll(byPages pages: Int32)
func getElementsByClassName(_ name: String!) -> DOMNodeList!
func webkitRequestFullScreen(_ flags: UInt16)
func querySelector(_ selectors: String!) -> DOMElement!
func querySelectorAll(_ selectors: String!) -> DOMNodeList!
func image() -> NSImage!
func setAttribute(_ name: String!, _ value: String!)
func getAttributeNS(_ namespaceURI: String!, _ localName: String!) -> String!
func setAttributeNS(_ namespaceURI: String!, _ qualifiedName: String!, _ value: String!)
func removeAttributeNS(_ namespaceURI: String!, _ localName: String!)
func getElementsByTagNameNS(_ namespaceURI: String!, _ localName: String!) -> DOMNodeList!
func getAttributeNodeNS(_ namespaceURI: String!, _ localName: String!) -> DOMAttr!
func hasAttributeNS(_ namespaceURI: String!, _ localName: String!) -> Bool
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
}
extension DOMElement {
func setAttribute(_ name: String!, _ value: String!)
func getAttributeNS(_ namespaceURI: String!, _ localName: String!) -> String!
func setAttributeNS(_ namespaceURI: String!, _ qualifiedName: String!, _ value: String!)
func removeAttributeNS(_ namespaceURI: String!, _ localName: String!)
func getElementsByTagNameNS(_ namespaceURI: String!, _ localName: String!) -> DOMNodeList!
func getAttributeNodeNS(_ namespaceURI: String!, _ localName: String!) -> DOMAttr!
func hasAttributeNS(_ namespaceURI: String!, _ localName: String!) -> Bool
}
extension DOMElement {
func image() -> NSImage!
} |
Modified DOMElement.scroll(byLines: Int32)
| Declaration | |
|---|---|
| From | func scrollByLines(_ lines: Int32) |
| To | func scroll(byLines lines: Int32) |
Modified DOMElement.scroll(byPages: Int32)
| Declaration | |
|---|---|
| From | func scrollByPages(_ pages: Int32) |
| To | func scroll(byPages pages: Int32) |
Modified DOMElement.scroll(intoView: Bool)
| Declaration | |
|---|---|
| From | func scrollIntoView(_ alignWithTop: Bool) |
| To | func scroll(intoView alignWithTop: Bool) |
| Declaration | |
|---|---|
| From | func scrollIntoViewIfNeeded(_ centerIfNeeded: Bool) |
| To | func scroll(intoViewIfNeeded centerIfNeeded: Bool) |
Modified DOMEntity
| Declaration | |
|---|---|
| From | class DOMEntity : DOMNode {
var publicId: String! { get }
var systemId: String! { get }
var notationName: String! { get }
} |
| To | class DOMEntity : DOMNode {
var publicId: String! { get }
var systemId: String! { get }
var notationName: String! { get }
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMEntityReference
| Declaration | |
|---|---|
| From | class DOMEntityReference : DOMNode {
} |
| To | class DOMEntityReference : DOMNode {
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMEvent
| Declaration | |
|---|---|
| From | class DOMEvent : DOMObject {
var type: String! { get }
var target: DOMEventTarget! { get }
var currentTarget: DOMEventTarget! { get }
var eventPhase: UInt16 { get }
var bubbles: Bool { get }
var cancelable: Bool { get }
var timeStamp: DOMTimeStamp { get }
var srcElement: DOMEventTarget! { get }
var returnValue: Bool
var cancelBubble: Bool
func stopPropagation()
func preventDefault()
func initEvent(_ eventTypeArg: String!, canBubbleArg canBubbleArg: Bool, cancelableArg cancelableArg: Bool)
}
extension DOMEvent {
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
} |
| To | class DOMEvent : DOMObject {
var type: String! { get }
var target: DOMEventTarget! { get }
var currentTarget: DOMEventTarget! { get }
var eventPhase: UInt16 { get }
var bubbles: Bool { get }
var cancelable: Bool { get }
var timeStamp: DOMTimeStamp { get }
var srcElement: DOMEventTarget! { get }
var returnValue: Bool
var cancelBubble: Bool
func stopPropagation()
func preventDefault()
func initEvent(_ eventTypeArg: String!, canBubbleArg canBubbleArg: Bool, cancelableArg cancelableArg: Bool)
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
var sheet: DOMStyleSheet! { get }
}
extension DOMEvent {
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
} |
Modified DOMEventListener
| Declaration | |
|---|---|
| From | protocol DOMEventListener : NSObjectProtocol {
func handleEvent(_ event: DOMEvent!)
} |
| To | protocol DOMEventListener : NSObjectProtocol {
func handle(_ event: DOMEvent!)
} |
| Declaration | |
|---|---|
| From | func handleEvent(_ event: DOMEvent!) |
| To | func handle(_ event: DOMEvent!) |
Modified DOMFileList
| Declaration | |
|---|---|
| From | class DOMFileList : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMFile!
} |
| To | class DOMFileList : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMFile!
var sheet: DOMStyleSheet! { get }
} |
Modified DOMHTMLAnchorElement
| Declaration | |
|---|---|
| From | class DOMHTMLAnchorElement : DOMHTMLElement {
var charset: String!
var coords: String!
var href: String!
var hreflang: String!
var name: String!
var rel: String!
var rev: String!
var shape: String!
var target: String!
var type: String!
var accessKey: String!
var hashName: String! { get }
var host: String! { get }
var hostname: String! { get }
var pathname: String! { get }
var port: String! { get }
var `protocol`: String! { get }
var search: String! { get }
var text: String! { get }
@NSCopying var absoluteLinkURL: NSURL! { get }
} |
| To | class DOMHTMLAnchorElement : DOMHTMLElement {
var charset: String!
var coords: String!
var hreflang: String!
var name: String!
var rel: String!
var rev: String!
var shape: String!
var target: String!
var type: String!
var accessKey: String!
var text: String! { get }
var absoluteLinkURL: URL! { get }
var href: String!
var `protocol`: String! { get }
var host: String! { get }
var hostname: String! { get }
var port: String! { get }
var pathname: String! { get }
var search: String! { get }
var hashName: String! { get }
} |
Modified DOMHTMLAnchorElement.absoluteLinkURL
| Declaration | |
|---|---|
| From | @NSCopying var absoluteLinkURL: NSURL! { get } |
| To | var absoluteLinkURL: URL! { get } |
Modified DOMHTMLAreaElement
| Declaration | |
|---|---|
| From | class DOMHTMLAreaElement : DOMHTMLElement {
var alt: String!
var coords: String!
var href: String!
var noHref: Bool
var shape: String!
var target: String!
var accessKey: String!
var hashName: String! { get }
var host: String! { get }
var hostname: String! { get }
var pathname: String! { get }
var port: String! { get }
var `protocol`: String! { get }
var search: String! { get }
@NSCopying var absoluteLinkURL: NSURL! { get }
} |
| To | class DOMHTMLAreaElement : DOMHTMLElement {
var alt: String!
var coords: String!
var noHref: Bool
var shape: String!
var target: String!
var accessKey: String!
var absoluteLinkURL: URL! { get }
var href: String!
var `protocol`: String! { get }
var host: String! { get }
var hostname: String! { get }
var port: String! { get }
var pathname: String! { get }
var search: String! { get }
var hashName: String! { get }
} |
Modified DOMHTMLAreaElement.absoluteLinkURL
| Declaration | |
|---|---|
| From | @NSCopying var absoluteLinkURL: NSURL! { get } |
| To | var absoluteLinkURL: URL! { get } |
Modified DOMHTMLButtonElement
| Declaration | |
|---|---|
| From | class DOMHTMLButtonElement : DOMHTMLElement {
var autofocus: Bool
var disabled: Bool
var form: DOMHTMLFormElement! { get }
var name: String!
var type: String!
var value: String!
var willValidate: Bool { get }
var accessKey: String!
func click()
} |
| To | class DOMHTMLButtonElement : DOMHTMLElement {
var autofocus: Bool
var disabled: Bool
var form: DOMHTMLFormElement! { get }
var type: String!
var name: String!
var value: String!
var willValidate: Bool { get }
var accessKey: String!
func click()
} |
Modified DOMHTMLCollection
| Declaration | |
|---|---|
| From | class DOMHTMLCollection : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMNode!
func namedItem(_ name: String!) -> DOMNode!
func tags(_ name: String!) -> DOMNodeList!
} |
| To | class DOMHTMLCollection : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMNode!
func namedItem(_ name: String!) -> DOMNode!
func tags(_ name: String!) -> DOMNodeList!
var sheet: DOMStyleSheet! { get }
} |
Modified DOMHTMLDocument
| Declaration | |
|---|---|
| From | class DOMHTMLDocument : DOMDocument {
var embeds: DOMHTMLCollection! { get }
var plugins: DOMHTMLCollection! { get }
var scripts: DOMHTMLCollection! { get }
var width: Int32 { get }
var height: Int32 { get }
var dir: String!
var designMode: String!
var compatMode: String! { get }
var bgColor: String!
var fgColor: String!
var alinkColor: String!
var linkColor: String!
var vlinkColor: String!
func open()
func close()
func write(_ text: String!)
func writeln(_ text: String!)
func clear()
func captureEvents()
func releaseEvents()
}
extension DOMHTMLDocument {
func createDocumentFragmentWithMarkupString(_ markupString: String!, baseURL baseURL: NSURL!) -> DOMDocumentFragment!
func createDocumentFragmentWithText(_ text: String!) -> DOMDocumentFragment!
} |
| To | class DOMHTMLDocument : DOMDocument {
var embeds: DOMHTMLCollection! { get }
var plugins: DOMHTMLCollection! { get }
var scripts: DOMHTMLCollection! { get }
var width: Int32 { get }
var height: Int32 { get }
var dir: String!
var designMode: String!
var compatMode: String! { get }
var bgColor: String!
var fgColor: String!
var alinkColor: String!
var linkColor: String!
var vlinkColor: String!
func open()
func close()
func write(_ text: String!)
func writeln(_ text: String!)
func clear()
func captureEvents()
func releaseEvents()
func createDocumentFragment(withMarkupString markupString: String!, baseURL baseURL: URL!) -> DOMDocumentFragment!
func createDocumentFragment(withText text: String!) -> DOMDocumentFragment!
var webFrame: WebFrame! { get }
func url(withAttributeString string: String!) -> URL!
func createProcessingInstruction(_ target: String!, _ data: String!) -> DOMProcessingInstruction!
func `import`(_ importedNode: DOMNode!, _ deep: Bool) -> DOMNode!
func createElementNS(_ namespaceURI: String!, _ qualifiedName: String!) -> DOMElement!
func createAttributeNS(_ namespaceURI: String!, _ qualifiedName: String!) -> DOMAttr!
func getElementsByTagNameNS(_ namespaceURI: String!, _ localName: String!) -> DOMNodeList!
func createNodeIterator(_ root: DOMNode!, _ whatToShow: UInt32, _ filter: DOMNodeFilter!, _ expandEntityReferences: Bool) -> DOMNodeIterator!
func createTreeWalker(_ root: DOMNode!, _ whatToShow: UInt32, _ filter: DOMNodeFilter!, _ expandEntityReferences: Bool) -> DOMTreeWalker!
func getOverrideStyle(_ element: DOMElement!, _ pseudoElement: String!) -> DOMCSSStyleDeclaration!
func createExpression(_ expression: String!, _ resolver: DOMXPathNSResolver!) -> DOMXPathExpression!
func evaluate(_ expression: String!, _ contextNode: DOMNode!, _ resolver: DOMXPathNSResolver!, _ type: UInt16, _ inResult: DOMXPathResult!) -> DOMXPathResult!
func getComputedStyle(_ element: DOMElement!, _ pseudoElement: String!) -> DOMCSSStyleDeclaration!
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
}
extension DOMHTMLDocument {
func createDocumentFragment(withMarkupString markupString: String!, baseURL baseURL: URL!) -> DOMDocumentFragment!
func createDocumentFragment(withText text: String!) -> DOMDocumentFragment!
} |
| Declaration | |
|---|---|
| From | func createDocumentFragmentWithMarkupString(_ markupString: String!, baseURL baseURL: NSURL!) -> DOMDocumentFragment! |
| To | func createDocumentFragment(withMarkupString markupString: String!, baseURL baseURL: URL!) -> DOMDocumentFragment! |
| Declaration | |
|---|---|
| From | func createDocumentFragmentWithText(_ text: String!) -> DOMDocumentFragment! |
| To | func createDocumentFragment(withText text: String!) -> DOMDocumentFragment! |
Modified DOMHTMLElement
| Declaration | |
|---|---|
| From | class DOMHTMLElement : DOMElement {
var idName: String!
var title: String!
var lang: String!
var dir: String!
var tabIndex: Int32
var accessKey: String!
var innerText: String!
var outerText: String!
var children: DOMHTMLCollection! { get }
var contentEditable: String!
var isContentEditable: Bool { get }
var titleDisplayString: String! { get }
func click()
} |
| To | class DOMHTMLElement : DOMElement {
var title: String!
var lang: String!
var dir: String!
var tabIndex: Int32
var accessKey: String!
var innerText: String!
var outerText: String!
var contentEditable: String!
var isContentEditable: Bool { get }
var idName: String!
var children: DOMHTMLCollection! { get }
var titleDisplayString: String! { get }
func click()
func image() -> NSImage!
func setAttribute(_ name: String!, _ value: String!)
func getAttributeNS(_ namespaceURI: String!, _ localName: String!) -> String!
func setAttributeNS(_ namespaceURI: String!, _ qualifiedName: String!, _ value: String!)
func removeAttributeNS(_ namespaceURI: String!, _ localName: String!)
func getElementsByTagNameNS(_ namespaceURI: String!, _ localName: String!) -> DOMNodeList!
func getAttributeNodeNS(_ namespaceURI: String!, _ localName: String!) -> DOMAttr!
func hasAttributeNS(_ namespaceURI: String!, _ localName: String!) -> Bool
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMHTMLFrameElement
| Declaration | |
|---|---|
| From | class DOMHTMLFrameElement : DOMHTMLElement {
var frameBorder: String!
var longDesc: String!
var marginHeight: String!
var marginWidth: String!
var name: String!
var noResize: Bool
var scrolling: String!
var src: String!
var contentDocument: DOMDocument! { get }
var contentWindow: DOMAbstractView! { get }
var location: String!
var width: Int32 { get }
var height: Int32 { get }
}
extension DOMHTMLFrameElement {
var contentFrame: WebFrame! { get }
} |
| To | class DOMHTMLFrameElement : DOMHTMLElement {
var frameBorder: String!
var longDesc: String!
var marginHeight: String!
var marginWidth: String!
var name: String!
var noResize: Bool
var scrolling: String!
var src: String!
var contentDocument: DOMDocument! { get }
var contentWindow: DOMAbstractView! { get }
var location: String!
var width: Int32 { get }
var height: Int32 { get }
var contentFrame: WebFrame! { get }
}
extension DOMHTMLFrameElement {
var contentFrame: WebFrame! { get }
} |
Modified DOMHTMLIFrameElement
| Declaration | |
|---|---|
| From | class DOMHTMLIFrameElement : DOMHTMLElement {
var align: String!
var frameBorder: String!
var height: String!
var longDesc: String!
var marginHeight: String!
var marginWidth: String!
var name: String!
var scrolling: String!
var src: String!
var width: String!
var contentDocument: DOMDocument! { get }
var contentWindow: DOMAbstractView! { get }
}
extension DOMHTMLIFrameElement {
var contentFrame: WebFrame! { get }
} |
| To | class DOMHTMLIFrameElement : DOMHTMLElement {
var align: String!
var frameBorder: String!
var height: String!
var longDesc: String!
var marginHeight: String!
var marginWidth: String!
var name: String!
var scrolling: String!
var src: String!
var width: String!
var contentDocument: DOMDocument! { get }
var contentWindow: DOMAbstractView! { get }
var contentFrame: WebFrame! { get }
}
extension DOMHTMLIFrameElement {
var contentFrame: WebFrame! { get }
} |
Modified DOMHTMLImageElement
| Declaration | |
|---|---|
| From | class DOMHTMLImageElement : DOMHTMLElement {
var name: String!
var align: String!
var alt: String!
var border: String!
var height: Int32
var hspace: Int32
var isMap: Bool
var longDesc: String!
var src: String!
var useMap: String!
var vspace: Int32
var width: Int32
var complete: Bool { get }
var lowsrc: String!
var naturalHeight: Int32 { get }
var naturalWidth: Int32 { get }
var x: Int32 { get }
var y: Int32 { get }
var altDisplayString: String! { get }
@NSCopying var absoluteImageURL: NSURL! { get }
} |
| To | class DOMHTMLImageElement : DOMHTMLElement {
var name: String!
var align: String!
var alt: String!
var border: String!
var height: Int32
var hspace: Int32
var isMap: Bool
var longDesc: String!
var src: String!
var useMap: String!
var vspace: Int32
var width: Int32
var complete: Bool { get }
var lowsrc: String!
var naturalHeight: Int32 { get }
var naturalWidth: Int32 { get }
var x: Int32 { get }
var y: Int32 { get }
var altDisplayString: String! { get }
var absoluteImageURL: URL! { get }
} |
Modified DOMHTMLImageElement.absoluteImageURL
| Declaration | |
|---|---|
| From | @NSCopying var absoluteImageURL: NSURL! { get } |
| To | var absoluteImageURL: URL! { get } |
Modified DOMHTMLInputElement
| Declaration | |
|---|---|
| From | class DOMHTMLInputElement : DOMHTMLElement {
var accept: String!
var alt: String!
var autofocus: Bool
var defaultChecked: Bool
var checked: Bool
var disabled: Bool
var form: DOMHTMLFormElement! { get }
var files: DOMFileList!
var indeterminate: Bool
var maxLength: Int32
var multiple: Bool
var name: String!
var readOnly: Bool
var size: String!
var src: String!
var type: String!
var defaultValue: String!
var value: String!
var willValidate: Bool { get }
var selectionStart: Int32
var selectionEnd: Int32
var align: String!
var useMap: String!
var accessKey: String!
var altDisplayString: String! { get }
@NSCopying var absoluteImageURL: NSURL! { get }
func select()
func setSelectionRange(_ start: Int32, end end: Int32)
func click()
} |
| To | class DOMHTMLInputElement : DOMHTMLElement {
var accept: String!
var alt: String!
var autofocus: Bool
var defaultChecked: Bool
var checked: Bool
var disabled: Bool
var form: DOMHTMLFormElement! { get }
var files: DOMFileList!
var indeterminate: Bool
var maxLength: Int32
var multiple: Bool
var name: String!
var readOnly: Bool
var size: String!
var src: String!
var type: String!
var defaultValue: String!
var value: String!
var willValidate: Bool { get }
var selectionStart: Int32
var selectionEnd: Int32
var align: String!
var useMap: String!
var accessKey: String!
var altDisplayString: String! { get }
var absoluteImageURL: URL! { get }
func select()
func setSelectionRange(_ start: Int32, end end: Int32)
func click()
} |
Modified DOMHTMLInputElement.absoluteImageURL
| Declaration | |
|---|---|
| From | @NSCopying var absoluteImageURL: NSURL! { get } |
| To | var absoluteImageURL: URL! { get } |
Modified DOMHTMLLinkElement
| Declaration | |
|---|---|
| From | class DOMHTMLLinkElement : DOMHTMLElement {
var disabled: Bool
var charset: String!
var href: String!
var hreflang: String!
var media: String!
var rel: String!
var rev: String!
var target: String!
var type: String!
var sheet: DOMStyleSheet! { get }
@NSCopying var absoluteLinkURL: NSURL! { get }
} |
| To | class DOMHTMLLinkElement : DOMHTMLElement {
var disabled: Bool
var charset: String!
var href: String!
var hreflang: String!
var media: String!
var rel: String!
var rev: String!
var target: String!
var type: String!
var sheet: DOMStyleSheet! { get }
var absoluteLinkURL: URL! { get }
} |
Modified DOMHTMLLinkElement.absoluteLinkURL
| Declaration | |
|---|---|
| From | @NSCopying var absoluteLinkURL: NSURL! { get } |
| To | var absoluteLinkURL: URL! { get } |
Modified DOMHTMLObjectElement
| Declaration | |
|---|---|
| From | class DOMHTMLObjectElement : DOMHTMLElement {
var form: DOMHTMLFormElement! { get }
var code: String!
var align: String!
var archive: String!
var border: String!
var codeBase: String!
var codeType: String!
var data: String!
var declare: Bool
var height: String!
var hspace: Int32
var name: String!
var standby: String!
var type: String!
var useMap: String!
var vspace: Int32
var width: String!
var contentDocument: DOMDocument! { get }
@NSCopying var absoluteImageURL: NSURL! { get }
}
extension DOMHTMLObjectElement {
var contentFrame: WebFrame! { get }
} |
| To | class DOMHTMLObjectElement : DOMHTMLElement {
var form: DOMHTMLFormElement! { get }
var code: String!
var align: String!
var archive: String!
var border: String!
var codeBase: String!
var codeType: String!
var data: String!
var declare: Bool
var height: String!
var hspace: Int32
var name: String!
var standby: String!
var type: String!
var useMap: String!
var vspace: Int32
var width: String!
var contentDocument: DOMDocument! { get }
var absoluteImageURL: URL! { get }
var contentFrame: WebFrame! { get }
}
extension DOMHTMLObjectElement {
var contentFrame: WebFrame! { get }
} |
| Declaration | |
|---|---|
| From | @NSCopying var absoluteImageURL: NSURL! { get } |
| To | var absoluteImageURL: URL! { get } |
Modified DOMHTMLOptionsCollection
| Declaration | |
|---|---|
| From | class DOMHTMLOptionsCollection : DOMObject {
var selectedIndex: Int32
var length: UInt32
func namedItem(_ name: String!) -> DOMNode!
func add(_ option: DOMHTMLOptionElement!, index index: UInt32)
func remove(_ index: UInt32)
func item(_ index: UInt32) -> DOMNode!
} |
| To | class DOMHTMLOptionsCollection : DOMObject {
var selectedIndex: Int32
var length: UInt32
func namedItem(_ name: String!) -> DOMNode!
func add(_ option: DOMHTMLOptionElement!, index index: UInt32)
func remove(_ index: UInt32)
func item(_ index: UInt32) -> DOMNode!
var sheet: DOMStyleSheet! { get }
} |
Modified DOMHTMLSelectElement
| Declaration | |
|---|---|
| From | class DOMHTMLSelectElement : DOMHTMLElement {
var autofocus: Bool
var disabled: Bool
var form: DOMHTMLFormElement! { get }
var multiple: Bool
var name: String!
var size: Int32
var type: String! { get }
var options: DOMHTMLOptionsCollection! { get }
var length: Int32 { get }
var selectedIndex: Int32
var value: String!
var willValidate: Bool { get }
func item(_ index: UInt32) -> DOMNode!
func namedItem(_ name: String!) -> DOMNode!
func add(_ element: DOMHTMLElement!, before before: DOMHTMLElement!)
func remove(_ index: Int32)
}
extension DOMHTMLSelectElement {
func add(_ element: DOMHTMLElement!, _ before: DOMHTMLElement!)
} |
| To | class DOMHTMLSelectElement : DOMHTMLElement {
var autofocus: Bool
var disabled: Bool
var form: DOMHTMLFormElement! { get }
var multiple: Bool
var name: String!
var size: Int32
var type: String! { get }
var options: DOMHTMLOptionsCollection! { get }
var length: Int32 { get }
var selectedIndex: Int32
var value: String!
var willValidate: Bool { get }
func item(_ index: UInt32) -> DOMNode!
func namedItem(_ name: String!) -> DOMNode!
func add(_ element: DOMHTMLElement!, before before: DOMHTMLElement!)
func remove(_ index: Int32)
func add(_ element: DOMHTMLElement!, _ before: DOMHTMLElement!)
}
extension DOMHTMLSelectElement {
func add(_ element: DOMHTMLElement!, _ before: DOMHTMLElement!)
} |
Modified DOMHTMLTableCellElement
| Declaration | |
|---|---|
| From | class DOMHTMLTableCellElement : DOMHTMLElement {
var cellIndex: Int32 { get }
var abbr: String!
var align: String!
var axis: String!
var bgColor: String!
var ch: String!
var chOff: String!
var colSpan: Int32
var headers: String!
var height: String!
var noWrap: Bool
var rowSpan: Int32
var scope: String!
var vAlign: String!
var width: String!
} |
| To | class DOMHTMLTableCellElement : DOMHTMLElement {
var cellIndex: Int32 { get }
var align: String!
var axis: String!
var bgColor: String!
var ch: String!
var chOff: String!
var colSpan: Int32
var rowSpan: Int32
var headers: String!
var height: String!
var noWrap: Bool
var vAlign: String!
var width: String!
var abbr: String!
var scope: String!
} |
Modified DOMHTMLTextAreaElement
| Declaration | |
|---|---|
| From | class DOMHTMLTextAreaElement : DOMHTMLElement {
var autofocus: Bool
var cols: Int32
var disabled: Bool
var form: DOMHTMLFormElement! { get }
var name: String!
var readOnly: Bool
var rows: Int32
var type: String! { get }
var defaultValue: String!
var value: String!
var willValidate: Bool { get }
var selectionStart: Int32
var selectionEnd: Int32
var accessKey: String!
func select()
func setSelectionRange(_ start: Int32, end end: Int32)
} |
| To | class DOMHTMLTextAreaElement : DOMHTMLElement {
var autofocus: Bool
var disabled: Bool
var form: DOMHTMLFormElement! { get }
var name: String!
var readOnly: Bool
var rows: Int32
var cols: Int32
var type: String! { get }
var defaultValue: String!
var value: String!
var willValidate: Bool { get }
var selectionStart: Int32
var selectionEnd: Int32
var accessKey: String!
func select()
func setSelectionRange(_ start: Int32, end end: Int32)
} |
Modified DOMImplementation
| Declaration | |
|---|---|
| From | class DOMImplementation : DOMObject {
func hasFeature(_ feature: String!, version version: String!) -> Bool
func createDocumentType(_ qualifiedName: String!, publicId publicId: String!, systemId systemId: String!) -> DOMDocumentType!
func createDocument(_ namespaceURI: String!, qualifiedName qualifiedName: String!, doctype doctype: DOMDocumentType!) -> DOMDocument!
func createCSSStyleSheet(_ title: String!, media media: String!) -> DOMCSSStyleSheet!
func createHTMLDocument(_ title: String!) -> DOMHTMLDocument!
}
extension DOMImplementation {
func hasFeature(_ feature: String!, _ version: String!) -> Bool
func createDocumentType(_ qualifiedName: String!, _ publicId: String!, _ systemId: String!) -> DOMDocumentType!
func createDocument(_ namespaceURI: String!, _ qualifiedName: String!, _ doctype: DOMDocumentType!) -> DOMDocument!
func createCSSStyleSheet(_ title: String!, _ media: String!) -> DOMCSSStyleSheet!
} |
| To | class DOMImplementation : DOMObject {
func hasFeature(_ feature: String!, version version: String!) -> Bool
func createDocumentType(_ qualifiedName: String!, publicId publicId: String!, systemId systemId: String!) -> DOMDocumentType!
func createDocument(_ namespaceURI: String!, qualifiedName qualifiedName: String!, doctype doctype: DOMDocumentType!) -> DOMDocument!
func createCSSStyleSheet(_ title: String!, media media: String!) -> DOMCSSStyleSheet!
func createHTMLDocument(_ title: String!) -> DOMHTMLDocument!
func hasFeature(_ feature: String!, _ version: String!) -> Bool
func createDocumentType(_ qualifiedName: String!, _ publicId: String!, _ systemId: String!) -> DOMDocumentType!
func createDocument(_ namespaceURI: String!, _ qualifiedName: String!, _ doctype: DOMDocumentType!) -> DOMDocument!
func createCSSStyleSheet(_ title: String!, _ media: String!) -> DOMCSSStyleSheet!
var sheet: DOMStyleSheet! { get }
}
extension DOMImplementation {
func hasFeature(_ feature: String!, _ version: String!) -> Bool
func createDocumentType(_ qualifiedName: String!, _ publicId: String!, _ systemId: String!) -> DOMDocumentType!
func createDocument(_ namespaceURI: String!, _ qualifiedName: String!, _ doctype: DOMDocumentType!) -> DOMDocument!
func createCSSStyleSheet(_ title: String!, _ media: String!) -> DOMCSSStyleSheet!
} |
Modified DOMKeyboardEvent
| Declaration | |
|---|---|
| From | class DOMKeyboardEvent : DOMUIEvent {
var keyIdentifier: String! { get }
var location: UInt32 { get }
var keyLocation: UInt32 { get }
var ctrlKey: Bool { get }
var shiftKey: Bool { get }
var altKey: Bool { get }
var metaKey: Bool { get }
var altGraphKey: Bool { get }
var keyCode: Int32 { get }
var charCode: Int32 { get }
func getModifierState(_ keyIdentifierArg: String!) -> Bool
func initKeyboardEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, keyIdentifier keyIdentifier: String!, location location: UInt32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool, altGraphKey altGraphKey: Bool)
func initKeyboardEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, keyIdentifier keyIdentifier: String!, location location: UInt32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool)
func initKeyboardEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, keyIdentifier keyIdentifier: String!, keyLocation keyLocation: UInt32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool, altGraphKey altGraphKey: Bool)
func initKeyboardEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, keyIdentifier keyIdentifier: String!, keyLocation keyLocation: UInt32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool)
} |
| To | class DOMKeyboardEvent : DOMUIEvent {
var keyIdentifier: String! { get }
var location: UInt32 { get }
var keyLocation: UInt32 { get }
var ctrlKey: Bool { get }
var shiftKey: Bool { get }
var altKey: Bool { get }
var metaKey: Bool { get }
var altGraphKey: Bool { get }
var keyCode: Int32 { get }
var charCode: Int32 { get }
func getModifierState(_ keyIdentifierArg: String!) -> Bool
func initKeyboardEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, keyIdentifier keyIdentifier: String!, location location: UInt32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool, altGraphKey altGraphKey: Bool)
func initKeyboardEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, keyIdentifier keyIdentifier: String!, location location: UInt32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool)
func initKeyboardEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, keyIdentifier keyIdentifier: String!, keyLocation keyLocation: UInt32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool, altGraphKey altGraphKey: Bool)
func initKeyboardEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, keyIdentifier keyIdentifier: String!, keyLocation keyLocation: UInt32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool)
func initUIEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32)
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
var sheet: DOMStyleSheet! { get }
} |
Modified DOMMediaList
| Declaration | |
|---|---|
| From | class DOMMediaList : DOMObject {
var mediaText: String!
var length: UInt32 { get }
func item(_ index: UInt32) -> String!
func deleteMedium(_ oldMedium: String!)
func appendMedium(_ newMedium: String!)
} |
| To | class DOMMediaList : DOMObject {
var mediaText: String!
var length: UInt32 { get }
func item(_ index: UInt32) -> String!
func deleteMedium(_ oldMedium: String!)
func appendMedium(_ newMedium: String!)
var sheet: DOMStyleSheet! { get }
} |
Modified DOMMouseEvent
| Declaration | |
|---|---|
| From | class DOMMouseEvent : DOMUIEvent {
var screenX: Int32 { get }
var screenY: Int32 { get }
var clientX: Int32 { get }
var clientY: Int32 { get }
var ctrlKey: Bool { get }
var shiftKey: Bool { get }
var altKey: Bool { get }
var metaKey: Bool { get }
var button: UInt16 { get }
var relatedTarget: DOMEventTarget! { get }
var offsetX: Int32 { get }
var offsetY: Int32 { get }
var x: Int32 { get }
var y: Int32 { get }
var fromElement: DOMNode! { get }
var toElement: DOMNode! { get }
func initMouseEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, detail detail: Int32, screenX screenX: Int32, screenY screenY: Int32, clientX clientX: Int32, clientY clientY: Int32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool, button button: UInt16, relatedTarget relatedTarget: DOMEventTarget!)
}
extension DOMMouseEvent {
func initMouseEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32, _ screenX: Int32, _ screenY: Int32, _ clientX: Int32, _ clientY: Int32, _ ctrlKey: Bool, _ altKey: Bool, _ shiftKey: Bool, _ metaKey: Bool, _ button: UInt16, _ relatedTarget: DOMEventTarget!)
} |
| To | class DOMMouseEvent : DOMUIEvent {
var screenX: Int32 { get }
var screenY: Int32 { get }
var clientX: Int32 { get }
var clientY: Int32 { get }
var ctrlKey: Bool { get }
var shiftKey: Bool { get }
var altKey: Bool { get }
var metaKey: Bool { get }
var button: UInt16 { get }
var relatedTarget: DOMEventTarget! { get }
var offsetX: Int32 { get }
var offsetY: Int32 { get }
var x: Int32 { get }
var y: Int32 { get }
var fromElement: DOMNode! { get }
var toElement: DOMNode! { get }
func initMouseEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, detail detail: Int32, screenX screenX: Int32, screenY screenY: Int32, clientX clientX: Int32, clientY clientY: Int32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool, button button: UInt16, relatedTarget relatedTarget: DOMEventTarget!)
func initMouseEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32, _ screenX: Int32, _ screenY: Int32, _ clientX: Int32, _ clientY: Int32, _ ctrlKey: Bool, _ altKey: Bool, _ shiftKey: Bool, _ metaKey: Bool, _ button: UInt16, _ relatedTarget: DOMEventTarget!)
func initUIEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32)
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
var sheet: DOMStyleSheet! { get }
}
extension DOMMouseEvent {
func initMouseEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32, _ screenX: Int32, _ screenY: Int32, _ clientX: Int32, _ clientY: Int32, _ ctrlKey: Bool, _ altKey: Bool, _ shiftKey: Bool, _ metaKey: Bool, _ button: UInt16, _ relatedTarget: DOMEventTarget!)
} |
Modified DOMMutationEvent
| Declaration | |
|---|---|
| From | class DOMMutationEvent : DOMEvent {
var relatedNode: DOMNode! { get }
var prevValue: String! { get }
var newValue: String! { get }
var attrName: String! { get }
var attrChange: UInt16 { get }
func initMutationEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, relatedNode relatedNode: DOMNode!, prevValue prevValue: String!, newValue newValue: String!, attrName attrName: String!, attrChange attrChange: UInt16)
}
extension DOMMutationEvent {
func initMutationEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ relatedNode: DOMNode!, _ prevValue: String!, _ newValue: String!, _ attrName: String!, _ attrChange: UInt16)
} |
| To | class DOMMutationEvent : DOMEvent {
var relatedNode: DOMNode! { get }
var prevValue: String! { get }
var newValue: String! { get }
var attrName: String! { get }
var attrChange: UInt16 { get }
func initMutationEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, relatedNode relatedNode: DOMNode!, prevValue prevValue: String!, newValue newValue: String!, attrName attrName: String!, attrChange attrChange: UInt16)
func initMutationEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ relatedNode: DOMNode!, _ prevValue: String!, _ newValue: String!, _ attrName: String!, _ attrChange: UInt16)
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
var sheet: DOMStyleSheet! { get }
}
extension DOMMutationEvent {
func initMutationEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ relatedNode: DOMNode!, _ prevValue: String!, _ newValue: String!, _ attrName: String!, _ attrChange: UInt16)
} |
Modified DOMNamedNodeMap
| Declaration | |
|---|---|
| From | class DOMNamedNodeMap : DOMObject {
var length: UInt32 { get }
func getNamedItem(_ name: String!) -> DOMNode!
func setNamedItem(_ node: DOMNode!) -> DOMNode!
func removeNamedItem(_ name: String!) -> DOMNode!
func item(_ index: UInt32) -> DOMNode!
func getNamedItemNS(_ namespaceURI: String!, localName localName: String!) -> DOMNode!
func setNamedItemNS(_ node: DOMNode!) -> DOMNode!
func removeNamedItemNS(_ namespaceURI: String!, localName localName: String!) -> DOMNode!
}
extension DOMNamedNodeMap {
func getNamedItemNS(_ namespaceURI: String!, _ localName: String!) -> DOMNode!
func removeNamedItemNS(_ namespaceURI: String!, _ localName: String!) -> DOMNode!
} |
| To | class DOMNamedNodeMap : DOMObject {
var length: UInt32 { get }
func getNamedItem(_ name: String!) -> DOMNode!
func setNamedItem(_ node: DOMNode!) -> DOMNode!
func removeNamedItem(_ name: String!) -> DOMNode!
func item(_ index: UInt32) -> DOMNode!
func getNamedItemNS(_ namespaceURI: String!, localName localName: String!) -> DOMNode!
func setNamedItemNS(_ node: DOMNode!) -> DOMNode!
func removeNamedItemNS(_ namespaceURI: String!, localName localName: String!) -> DOMNode!
func getNamedItemNS(_ namespaceURI: String!, _ localName: String!) -> DOMNode!
func removeNamedItemNS(_ namespaceURI: String!, _ localName: String!) -> DOMNode!
var sheet: DOMStyleSheet! { get }
}
extension DOMNamedNodeMap {
func getNamedItemNS(_ namespaceURI: String!, _ localName: String!) -> DOMNode!
func removeNamedItemNS(_ namespaceURI: String!, _ localName: String!) -> DOMNode!
} |
Modified DOMNode
| Declaration | |
|---|---|
| From | class DOMNode : DOMObject, DOMEventTarget {
var nodeName: String! { get }
var nodeValue: String!
var nodeType: UInt16 { get }
var parentNode: DOMNode! { get }
var childNodes: DOMNodeList! { get }
var firstChild: DOMNode! { get }
var lastChild: DOMNode! { get }
var previousSibling: DOMNode! { get }
var nextSibling: DOMNode! { get }
var ownerDocument: DOMDocument! { get }
var namespaceURI: String! { get }
var prefix: String!
var localName: String! { get }
var attributes: DOMNamedNodeMap! { get }
var baseURI: String! { get }
var textContent: String!
var parentElement: DOMElement! { get }
var isContentEditable: Bool { get }
func insertBefore(_ newChild: DOMNode!, refChild refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, oldChild oldChild: DOMNode!) -> DOMNode!
func removeChild(_ oldChild: DOMNode!) -> DOMNode!
func appendChild(_ newChild: DOMNode!) -> DOMNode!
func hasChildNodes() -> Bool
func cloneNode(_ deep: Bool) -> DOMNode!
func normalize()
func isSupported(_ feature: String!, version version: String!) -> Bool
func hasAttributes() -> Bool
func isSameNode(_ other: DOMNode!) -> Bool
func isEqualNode(_ other: DOMNode!) -> Bool
func lookupPrefix(_ namespaceURI: String!) -> String!
func isDefaultNamespace(_ namespaceURI: String!) -> Bool
func lookupNamespaceURI(_ prefix: String!) -> String!
func compareDocumentPosition(_ other: DOMNode!) -> UInt16
func contains(_ other: DOMNode!) -> Bool
}
extension DOMNode {
func boundingBox() -> NSRect
func lineBoxRects() -> [AnyObject]!
}
extension DOMNode {
func insertBefore(_ newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
}
extension DOMNode {
var webArchive: WebArchive! { get }
} |
| To | class DOMNode : DOMObject, DOMEventTarget {
var nodeName: String! { get }
var nodeValue: String!
var nodeType: UInt16 { get }
var parent: DOMNode! { get }
var childNodes: DOMNodeList! { get }
var firstChild: DOMNode! { get }
var lastChild: DOMNode! { get }
var previousSibling: DOMNode! { get }
var nextSibling: DOMNode! { get }
var ownerDocument: DOMDocument! { get }
var namespaceURI: String! { get }
var prefix: String!
var localName: String! { get }
var attributes: DOMNamedNodeMap! { get }
var baseURI: String! { get }
var textContent: String!
var parentElement: DOMElement! { get }
var isContentEditable: Bool { get }
func insert(before newChild: DOMNode!, refChild refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, oldChild oldChild: DOMNode!) -> DOMNode!
func removeChild(_ oldChild: DOMNode!) -> DOMNode!
func appendChild(_ newChild: DOMNode!) -> DOMNode!
func hasChildNodes() -> Bool
func cloneNode(_ deep: Bool) -> DOMNode!
func normalize()
func isSupported(_ feature: String!, version version: String!) -> Bool
func hasAttributes() -> Bool
func isSameNode(_ other: DOMNode!) -> Bool
func isEqualNode(_ other: DOMNode!) -> Bool
func lookupPrefix(_ namespaceURI: String!) -> String!
func isDefaultNamespace(_ namespaceURI: String!) -> Bool
func lookupNamespaceURI(_ prefix: String!) -> String!
func compareDocumentPosition(_ other: DOMNode!) -> UInt16
func contains(_ other: DOMNode!) -> Bool
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
}
extension DOMNode {
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
}
extension DOMNode {
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
}
extension DOMNode {
var webArchive: WebArchive! { get }
} |
| Declaration | |
|---|---|
| From | func insertBefore(_ newChild: DOMNode!, refChild refChild: DOMNode!) -> DOMNode! |
| To | func insert(before newChild: DOMNode!, refChild refChild: DOMNode!) -> DOMNode! |
Modified DOMNode.lineBoxRects() -> [Any]!
| Declaration | |
|---|---|
| From | func lineBoxRects() -> [AnyObject]! |
| To | func lineBoxRects() -> [Any]! |
Modified DOMNode.parent
| Declaration | |
|---|---|
| From | var parentNode: DOMNode! { get } |
| To | var parent: DOMNode! { get } |
Modified DOMNodeFilter
| Declaration | |
|---|---|
| From | protocol DOMNodeFilter : NSObjectProtocol {
func acceptNode(_ n: DOMNode!) -> Int16
} |
| To | protocol DOMNodeFilter : NSObjectProtocol {
func accept(_ n: DOMNode!) -> Int16
} |
| Declaration | |
|---|---|
| From | func acceptNode(_ n: DOMNode!) -> Int16 |
| To | func accept(_ n: DOMNode!) -> Int16 |
Modified DOMNodeIterator
| Declaration | |
|---|---|
| From | class DOMNodeIterator : DOMObject {
var root: DOMNode! { get }
var whatToShow: UInt32 { get }
var filter: DOMNodeFilter! { get }
var expandEntityReferences: Bool { get }
var referenceNode: DOMNode! { get }
var pointerBeforeReferenceNode: Bool { get }
func nextNode() -> DOMNode!
func previousNode() -> DOMNode!
func detach()
} |
| To | class DOMNodeIterator : DOMObject {
var root: DOMNode! { get }
var whatToShow: UInt32 { get }
var filter: DOMNodeFilter! { get }
var expandEntityReferences: Bool { get }
var referenceNode: DOMNode! { get }
var pointerBeforeReferenceNode: Bool { get }
func nextNode() -> DOMNode!
func previousNode() -> DOMNode!
func detach()
var sheet: DOMStyleSheet! { get }
} |
Modified DOMNodeList
| Declaration | |
|---|---|
| From | class DOMNodeList : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMNode!
} |
| To | class DOMNodeList : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMNode!
var sheet: DOMStyleSheet! { get }
} |
Modified DOMObject
| Declaration | |
|---|---|
| From | class DOMObject : WebScriptObject, NSCopying {
init!()
}
extension DOMObject {
var sheet: DOMStyleSheet! { get }
} |
| To | class DOMObject : WebScriptObject, NSCopying {
init!()
var sheet: DOMStyleSheet! { get }
}
extension DOMObject {
var sheet: DOMStyleSheet! { get }
} |
Modified DOMOverflowEvent
| Declaration | |
|---|---|
| From | class DOMOverflowEvent : DOMEvent {
var orient: UInt16 { get }
var horizontalOverflow: Bool { get }
var verticalOverflow: Bool { get }
func initOverflowEvent(_ orient: UInt16, horizontalOverflow horizontalOverflow: Bool, verticalOverflow verticalOverflow: Bool)
} |
| To | class DOMOverflowEvent : DOMEvent {
var orient: UInt16 { get }
var horizontalOverflow: Bool { get }
var verticalOverflow: Bool { get }
func initOverflowEvent(_ orient: UInt16, horizontalOverflow horizontalOverflow: Bool, verticalOverflow verticalOverflow: Bool)
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
var sheet: DOMStyleSheet! { get }
} |
Modified DOMProcessingInstruction
| Declaration | |
|---|---|
| From | class DOMProcessingInstruction : DOMCharacterData {
var target: String! { get }
var sheet: DOMStyleSheet! { get }
} |
| To | class DOMProcessingInstruction : DOMCharacterData {
var target: String! { get }
var sheet: DOMStyleSheet! { get }
func substringData(_ offset: UInt32, _ length: UInt32) -> String!
func insertData(_ offset: UInt32, _ data: String!)
func deleteData(_ offset: UInt32, _ length: UInt32)
func replaceData(_ offset: UInt32, _ length: UInt32, _ data: String!)
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMProgressEvent
| Declaration | |
|---|---|
| From | class DOMProgressEvent : DOMEvent {
var lengthComputable: Bool { get }
var loaded: UInt64 { get }
var total: UInt64 { get }
} |
| To | class DOMProgressEvent : DOMEvent {
var lengthComputable: Bool { get }
var loaded: UInt64 { get }
var total: UInt64 { get }
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
var sheet: DOMStyleSheet! { get }
} |
Modified DOMRange
| Declaration | |
|---|---|
| From | class DOMRange : DOMObject {
var startContainer: DOMNode! { get }
var startOffset: Int32 { get }
var endContainer: DOMNode! { get }
var endOffset: Int32 { get }
var collapsed: Bool { get }
var commonAncestorContainer: DOMNode! { get }
var text: String! { get }
func setStart(_ refNode: DOMNode!, offset offset: Int32)
func setEnd(_ refNode: DOMNode!, offset offset: Int32)
func setStartBefore(_ refNode: DOMNode!)
func setStartAfter(_ refNode: DOMNode!)
func setEndBefore(_ refNode: DOMNode!)
func setEndAfter(_ refNode: DOMNode!)
func collapse(_ toStart: Bool)
func selectNode(_ refNode: DOMNode!)
func selectNodeContents(_ refNode: DOMNode!)
func compareBoundaryPoints(_ how: UInt16, sourceRange sourceRange: DOMRange!) -> Int16
func deleteContents()
func extractContents() -> DOMDocumentFragment!
func cloneContents() -> DOMDocumentFragment!
func insertNode(_ newNode: DOMNode!)
func surroundContents(_ newParent: DOMNode!)
func cloneRange() -> DOMRange!
func toString() -> String!
func detach()
func createContextualFragment(_ html: String!) -> DOMDocumentFragment!
func intersectsNode(_ refNode: DOMNode!) -> Bool
func compareNode(_ refNode: DOMNode!) -> Int16
func comparePoint(_ refNode: DOMNode!, offset offset: Int32) -> Int16
func isPointInRange(_ refNode: DOMNode!, offset offset: Int32) -> Bool
}
extension DOMRange {
func setStart(_ refNode: DOMNode!, _ offset: Int32)
func setEnd(_ refNode: DOMNode!, _ offset: Int32)
func compareBoundaryPoints(_ how: UInt16, _ sourceRange: DOMRange!) -> Int16
}
extension DOMRange {
var webArchive: WebArchive! { get }
var markupString: String! { get }
} |
| To | class DOMRange : DOMObject {
var startContainer: DOMNode! { get }
var startOffset: Int32 { get }
var endContainer: DOMNode! { get }
var endOffset: Int32 { get }
var collapsed: Bool { get }
var commonAncestorContainer: DOMNode! { get }
var text: String! { get }
func setStart(_ refNode: DOMNode!, offset offset: Int32)
func setEnd(_ refNode: DOMNode!, offset offset: Int32)
func setStartBefore(_ refNode: DOMNode!)
func setStartAfter(_ refNode: DOMNode!)
func setEndBefore(_ refNode: DOMNode!)
func setEndAfter(_ refNode: DOMNode!)
func collapse(_ toStart: Bool)
func select(_ refNode: DOMNode!)
func selectNodeContents(_ refNode: DOMNode!)
func compareBoundaryPoints(_ how: UInt16, sourceRange sourceRange: DOMRange!) -> Int16
func deleteContents()
func extractContents() -> DOMDocumentFragment!
func cloneContents() -> DOMDocumentFragment!
func insert(_ newNode: DOMNode!)
func surroundContents(_ newParent: DOMNode!)
func clone() -> DOMRange!
func toString() -> String!
func detach()
func createContextualFragment(_ html: String!) -> DOMDocumentFragment!
func compare(_ refNode: DOMNode!) -> Int16
func comparePoint(_ refNode: DOMNode!, offset offset: Int32) -> Int16
func intersects(_ refNode: DOMNode!) -> Bool
func isPoint(inRange refNode: DOMNode!, offset offset: Int32) -> Bool
var webArchive: WebArchive! { get }
var markupString: String! { get }
func setStart(_ refNode: DOMNode!, _ offset: Int32)
func setEnd(_ refNode: DOMNode!, _ offset: Int32)
func compareBoundaryPoints(_ how: UInt16, _ sourceRange: DOMRange!) -> Int16
var sheet: DOMStyleSheet! { get }
}
extension DOMRange {
func setStart(_ refNode: DOMNode!, _ offset: Int32)
func setEnd(_ refNode: DOMNode!, _ offset: Int32)
func compareBoundaryPoints(_ how: UInt16, _ sourceRange: DOMRange!) -> Int16
}
extension DOMRange {
var webArchive: WebArchive! { get }
var markupString: String! { get }
} |
Modified DOMRange.clone() -> DOMRange!
| Declaration | |
|---|---|
| From | func cloneRange() -> DOMRange! |
| To | func clone() -> DOMRange! |
| Declaration | |
|---|---|
| From | func compareNode(_ refNode: DOMNode!) -> Int16 |
| To | func compare(_ refNode: DOMNode!) -> Int16 |
Modified DOMRange.insert(_: DOMNode!)
| Declaration | |
|---|---|
| From | func insertNode(_ newNode: DOMNode!) |
| To | func insert(_ newNode: DOMNode!) |
| Declaration | |
|---|---|
| From | func intersectsNode(_ refNode: DOMNode!) -> Bool |
| To | func intersects(_ refNode: DOMNode!) -> Bool |
| Declaration | |
|---|---|
| From | func isPointInRange(_ refNode: DOMNode!, offset offset: Int32) -> Bool |
| To | func isPoint(inRange refNode: DOMNode!, offset offset: Int32) -> Bool |
Modified DOMRange.select(_: DOMNode!)
| Declaration | |
|---|---|
| From | func selectNode(_ refNode: DOMNode!) |
| To | func select(_ refNode: DOMNode!) |
Modified DOMRect
| Declaration | |
|---|---|
| From | class DOMRect : DOMObject {
var top: DOMCSSPrimitiveValue! { get }
var right: DOMCSSPrimitiveValue! { get }
var bottom: DOMCSSPrimitiveValue! { get }
var left: DOMCSSPrimitiveValue! { get }
} |
| To | class DOMRect : DOMObject {
var top: DOMCSSPrimitiveValue! { get }
var right: DOMCSSPrimitiveValue! { get }
var bottom: DOMCSSPrimitiveValue! { get }
var left: DOMCSSPrimitiveValue! { get }
var sheet: DOMStyleSheet! { get }
} |
Modified DOMRGBColor
| Declaration | |
|---|---|
| From | class DOMRGBColor : DOMObject {
var red: DOMCSSPrimitiveValue! { get }
var green: DOMCSSPrimitiveValue! { get }
var blue: DOMCSSPrimitiveValue! { get }
var alpha: DOMCSSPrimitiveValue! { get }
@NSCopying var color: NSColor! { get }
} |
| To | class DOMRGBColor : DOMObject {
var red: DOMCSSPrimitiveValue! { get }
var green: DOMCSSPrimitiveValue! { get }
var blue: DOMCSSPrimitiveValue! { get }
var alpha: DOMCSSPrimitiveValue! { get }
@NSCopying var color: NSColor! { get }
var sheet: DOMStyleSheet! { get }
} |
Modified DOMStyleSheet
| Declaration | |
|---|---|
| From | class DOMStyleSheet : DOMObject {
var type: String! { get }
var disabled: Bool
var ownerNode: DOMNode! { get }
var parentStyleSheet: DOMStyleSheet! { get }
var href: String! { get }
var title: String! { get }
var media: DOMMediaList! { get }
} |
| To | class DOMStyleSheet : DOMObject {
var type: String! { get }
var disabled: Bool
var ownerNode: DOMNode! { get }
var parent: DOMStyleSheet! { get }
var href: String! { get }
var title: String! { get }
var media: DOMMediaList! { get }
var sheet: DOMStyleSheet! { get }
} |
Modified DOMStyleSheet.parent
| Declaration | |
|---|---|
| From | var parentStyleSheet: DOMStyleSheet! { get } |
| To | var parent: DOMStyleSheet! { get } |
Modified DOMStyleSheetList
| Declaration | |
|---|---|
| From | class DOMStyleSheetList : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMStyleSheet!
} |
| To | class DOMStyleSheetList : DOMObject {
var length: UInt32 { get }
func item(_ index: UInt32) -> DOMStyleSheet!
var sheet: DOMStyleSheet! { get }
} |
Modified DOMText
| Declaration | |
|---|---|
| From | class DOMText : DOMCharacterData {
var wholeText: String! { get }
func splitText(_ offset: UInt32) -> DOMText!
func replaceWholeText(_ content: String!) -> DOMText!
} |
| To | class DOMText : DOMCharacterData {
var wholeText: String! { get }
func splitText(_ offset: UInt32) -> DOMText!
func replaceWholeText(_ content: String!) -> DOMText!
func substringData(_ offset: UInt32, _ length: UInt32) -> String!
func insertData(_ offset: UInt32, _ data: String!)
func deleteData(_ offset: UInt32, _ length: UInt32)
func replaceData(_ offset: UInt32, _ length: UInt32, _ data: String!)
var webArchive: WebArchive! { get }
func boundingBox() -> NSRect
func lineBoxRects() -> [Any]!
func insert(before newChild: DOMNode!, _ refChild: DOMNode!) -> DOMNode!
func replaceChild(_ newChild: DOMNode!, _ oldChild: DOMNode!) -> DOMNode!
func isSupported(_ feature: String!, _ version: String!) -> Bool
var sheet: DOMStyleSheet! { get }
} |
Modified DOMTreeWalker
| Declaration | |
|---|---|
| From | class DOMTreeWalker : DOMObject {
var root: DOMNode! { get }
var whatToShow: UInt32 { get }
var filter: DOMNodeFilter! { get }
var expandEntityReferences: Bool { get }
var currentNode: DOMNode!
func parentNode() -> DOMNode!
func firstChild() -> DOMNode!
func lastChild() -> DOMNode!
func previousSibling() -> DOMNode!
func nextSibling() -> DOMNode!
func previousNode() -> DOMNode!
func nextNode() -> DOMNode!
} |
| To | class DOMTreeWalker : DOMObject {
var root: DOMNode! { get }
var whatToShow: UInt32 { get }
var filter: DOMNodeFilter! { get }
var expandEntityReferences: Bool { get }
var currentNode: DOMNode!
func parentNode() -> DOMNode!
func firstChild() -> DOMNode!
func lastChild() -> DOMNode!
func previousSibling() -> DOMNode!
func nextSibling() -> DOMNode!
func previousNode() -> DOMNode!
func nextNode() -> DOMNode!
var sheet: DOMStyleSheet! { get }
} |
Modified DOMUIEvent
| Declaration | |
|---|---|
| From | class DOMUIEvent : DOMEvent {
var view: DOMAbstractView! { get }
var detail: Int32 { get }
var keyCode: Int32 { get }
var charCode: Int32 { get }
var layerX: Int32 { get }
var layerY: Int32 { get }
var pageX: Int32 { get }
var pageY: Int32 { get }
var which: Int32 { get }
func initUIEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, detail detail: Int32)
}
extension DOMUIEvent {
func initUIEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32)
} |
| To | class DOMUIEvent : DOMEvent {
var view: DOMAbstractView! { get }
var detail: Int32 { get }
var keyCode: Int32 { get }
var charCode: Int32 { get }
var layerX: Int32 { get }
var layerY: Int32 { get }
var pageX: Int32 { get }
var pageY: Int32 { get }
var which: Int32 { get }
func initUIEvent(_ type: String!, canBubble canBubble: Bool, cancelable cancelable: Bool, view view: DOMAbstractView!, detail detail: Int32)
func initUIEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32)
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
var sheet: DOMStyleSheet! { get }
}
extension DOMUIEvent {
func initUIEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32)
} |
Modified DOMWheelEvent
| Declaration | |
|---|---|
| From | class DOMWheelEvent : DOMMouseEvent {
var wheelDeltaX: Int32 { get }
var wheelDeltaY: Int32 { get }
var wheelDelta: Int32 { get }
var isHorizontal: Bool { get }
func initWheelEvent(_ wheelDeltaX: Int32, wheelDeltaY wheelDeltaY: Int32, view view: DOMAbstractView!, screenX screenX: Int32, screenY screenY: Int32, clientX clientX: Int32, clientY clientY: Int32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool)
} |
| To | class DOMWheelEvent : DOMMouseEvent {
var wheelDeltaX: Int32 { get }
var wheelDeltaY: Int32 { get }
var wheelDelta: Int32 { get }
var isHorizontal: Bool { get }
func initWheelEvent(_ wheelDeltaX: Int32, wheelDeltaY wheelDeltaY: Int32, view view: DOMAbstractView!, screenX screenX: Int32, screenY screenY: Int32, clientX clientX: Int32, clientY clientY: Int32, ctrlKey ctrlKey: Bool, altKey altKey: Bool, shiftKey shiftKey: Bool, metaKey metaKey: Bool)
func initMouseEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32, _ screenX: Int32, _ screenY: Int32, _ clientX: Int32, _ clientY: Int32, _ ctrlKey: Bool, _ altKey: Bool, _ shiftKey: Bool, _ metaKey: Bool, _ button: UInt16, _ relatedTarget: DOMEventTarget!)
func initUIEvent(_ type: String!, _ canBubble: Bool, _ cancelable: Bool, _ view: DOMAbstractView!, _ detail: Int32)
func initEvent(_ eventTypeArg: String!, _ canBubbleArg: Bool, _ cancelableArg: Bool)
var sheet: DOMStyleSheet! { get }
} |
Modified DOMXPathExpression
| Declaration | |
|---|---|
| From | class DOMXPathExpression : DOMObject {
func evaluate(_ contextNode: DOMNode!, type type: UInt16, inResult inResult: DOMXPathResult!) -> DOMXPathResult!
}
extension DOMXPathExpression {
func evaluate(_ contextNode: DOMNode!, _ type: UInt16, _ inResult: DOMXPathResult!) -> DOMXPathResult!
} |
| To | class DOMXPathExpression : DOMObject {
func evaluate(_ contextNode: DOMNode!, type type: UInt16, in inResult: DOMXPathResult!) -> DOMXPathResult!
func evaluate(_ contextNode: DOMNode!, _ type: UInt16, _ inResult: DOMXPathResult!) -> DOMXPathResult!
var sheet: DOMStyleSheet! { get }
}
extension DOMXPathExpression {
func evaluate(_ contextNode: DOMNode!, _ type: UInt16, _ inResult: DOMXPathResult!) -> DOMXPathResult!
} |
Modified DOMXPathExpression.evaluate(_: DOMNode!, type: UInt16, in: DOMXPathResult!) -> DOMXPathResult!
| Declaration | |
|---|---|
| From | func evaluate(_ contextNode: DOMNode!, type type: UInt16, inResult inResult: DOMXPathResult!) -> DOMXPathResult! |
| To | func evaluate(_ contextNode: DOMNode!, type type: UInt16, in inResult: DOMXPathResult!) -> DOMXPathResult! |
Modified DOMXPathResult
| Declaration | |
|---|---|
| From | class DOMXPathResult : DOMObject {
var resultType: UInt16 { get }
var numberValue: Double { get }
var stringValue: String! { get }
var booleanValue: Bool { get }
var singleNodeValue: DOMNode! { get }
var invalidIteratorState: Bool { get }
var snapshotLength: UInt32 { get }
func iterateNext() -> DOMNode!
func snapshotItem(_ index: UInt32) -> DOMNode!
} |
| To | class DOMXPathResult : DOMObject {
var resultType: UInt16 { get }
var numberValue: Double { get }
var stringValue: String! { get }
var booleanValue: Bool { get }
var singleNodeValue: DOMNode! { get }
var invalidIteratorState: Bool { get }
var snapshotLength: UInt32 { get }
func iterateNext() -> DOMNode!
func snapshotItem(_ index: UInt32) -> DOMNode!
var sheet: DOMStyleSheet! { get }
} |
| Name | Declaration | |
|---|---|---|
| From | WebHistoryAllItemsRemovedNotification | let WebHistoryAllItemsRemovedNotification: String |
| To | WebHistoryAllItemsRemoved | static let WebHistoryAllItemsRemoved: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebHistoryItemChangedNotification | let WebHistoryItemChangedNotification: String |
| To | WebHistoryItemChanged | static let WebHistoryItemChanged: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebHistoryItemsAddedNotification | let WebHistoryItemsAddedNotification: String |
| To | WebHistoryItemsAdded | static let WebHistoryItemsAdded: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebHistoryItemsRemovedNotification | let WebHistoryItemsRemovedNotification: String |
| To | WebHistoryItemsRemoved | static let WebHistoryItemsRemoved: NSNotification.Name |
Modified NSNotification.Name.WebHistoryLoaded
| Name | Declaration | |
|---|---|---|
| From | WebHistoryLoadedNotification | let WebHistoryLoadedNotification: String |
| To | WebHistoryLoaded | static let WebHistoryLoaded: NSNotification.Name |
Modified NSNotification.Name.WebHistorySaved
| Name | Declaration | |
|---|---|---|
| From | WebHistorySavedNotification | let WebHistorySavedNotification: String |
| To | WebHistorySaved | static let WebHistorySaved: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebPreferencesChangedNotification | let WebPreferencesChangedNotification: String |
| To | WebPreferencesChanged | static let WebPreferencesChanged: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebViewDidBeginEditingNotification | let WebViewDidBeginEditingNotification: String |
| To | WebViewDidBeginEditing | static let WebViewDidBeginEditing: NSNotification.Name |
Modified NSNotification.Name.WebViewDidChange
| Name | Declaration | |
|---|---|---|
| From | WebViewDidChangeNotification | let WebViewDidChangeNotification: String |
| To | WebViewDidChange | static let WebViewDidChange: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebViewDidChangeSelectionNotification | let WebViewDidChangeSelectionNotification: String |
| To | WebViewDidChangeSelection | static let WebViewDidChangeSelection: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebViewDidChangeTypingStyleNotification | let WebViewDidChangeTypingStyleNotification: String |
| To | WebViewDidChangeTypingStyle | static let WebViewDidChangeTypingStyle: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebViewDidEndEditingNotification | let WebViewDidEndEditingNotification: String |
| To | WebViewDidEndEditing | static let WebViewDidEndEditing: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebViewProgressEstimateChangedNotification | let WebViewProgressEstimateChangedNotification: String |
| To | WebViewProgressEstimateChanged | static let WebViewProgressEstimateChanged: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebViewProgressFinishedNotification | let WebViewProgressFinishedNotification: String |
| To | WebViewProgressFinished | static let WebViewProgressFinished: NSNotification.Name |
| Name | Declaration | |
|---|---|---|
| From | WebViewProgressStartedNotification | let WebViewProgressStartedNotification: String |
| To | WebViewProgressStarted | static let WebViewProgressStarted: NSNotification.Name |
| Declaration | |
|---|---|
| From | func invokeDefaultMethodWithArguments(_ arguments: [AnyObject]!) -> AnyObject! |
| To | func invokeDefaultMethod(withArguments arguments: [Any]!) -> Any! |
| Declaration | |
|---|---|
| From | func invokeUndefinedMethodFromWebScript(_ name: String!, withArguments arguments: [AnyObject]!) -> AnyObject! |
| To | func invokeUndefinedMethod(fromWebScript name: String!, withArguments arguments: [Any]!) -> Any! |
| Declaration | |
|---|---|
| From | class func isKeyExcludedFromWebScript(_ name: UnsafePointer<Int8>) -> Bool |
| To | class func isKeyExcluded(fromWebScript name: UnsafePointer<Int8>!) -> Bool |
| Declaration | |
|---|---|
| From | class func isSelectorExcludedFromWebScript(_ selector: Selector) -> Bool |
| To | class func isSelectorExcluded(fromWebScript selector: Selector!) -> Bool |
Modified NSObject.objectForWebScript
| Declaration | |
|---|---|
| From | var objectForWebScript: AnyObject! { get } |
| To | var objectForWebScript: Any! { get } |
| Declaration | |
|---|---|
| From | func webPlugInContainerLoadRequest(_ request: NSURLRequest!, inFrame target: String!) |
| To | func webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!) |
| Declaration | |
|---|---|
| From | func webPlugInMainResourceDidFailWithError(_ error: NSError!) |
| To | func webPlugInMainResourceDidFailWithError(_ error: Error!) |
| Declaration | |
|---|---|
| From | func webPlugInMainResourceDidReceiveResponse(_ response: NSURLResponse!) |
| To | func webPlugInMainResourceDidReceive(_ response: URLResponse!) |
| Declaration | |
|---|---|
| From | func webPlugInMainResourceDidReceiveData(_ data: NSData!) |
| To | func webPlugInMainResourceDidReceive(_ data: Data!) |
| Declaration | |
|---|---|
| From | class func webScriptNameForSelector(_ selector: Selector) -> String! |
| To | class func webScriptName(for selector: Selector!) -> String! |
| Declaration | |
|---|---|
| From | class func webScriptNameForKey(_ name: UnsafePointer<Int8>) -> String! |
| To | class func webScriptName(forKey name: UnsafePointer<Int8>!) -> String! |
Modified WebArchive
| Declaration | Protocols | |
|---|---|---|
| From | class WebArchive : NSObject, NSCoding, NSCopying {
init!(mainResource mainResource: WebResource!, subresources subresources: [AnyObject]!, subframeArchives subframeArchives: [AnyObject]!)
init!(data data: NSData!)
var mainResource: WebResource! { get }
var subresources: [AnyObject]! { get }
var subframeArchives: [AnyObject]! { get }
@NSCopying var data: NSData! { get }
} | NSCoding, NSCopying |
| To | class WebArchive : NSObject, NSCoding, NSCopying {
init!(mainResource mainResource: WebResource!, subresources subresources: [Any]!, subframeArchives subframeArchives: [Any]!)
init!(data data: Data!)
var mainResource: WebResource! { get }
var subresources: [Any]! { get }
var subframeArchives: [Any]! { get }
var data: Data! { get }
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 WebArchive : CVarArg {
}
extension WebArchive : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified WebArchive.data
| Declaration | |
|---|---|
| From | @NSCopying var data: NSData! { get } |
| To | var data: Data! { get } |
Modified WebArchive.init(data: Data!)
| Declaration | |
|---|---|
| From | init!(data data: NSData!) |
| To | init!(data data: Data!) |
Modified WebArchive.init(mainResource: WebResource!, subresources: [Any]!, subframeArchives: [Any]!)
| Declaration | |
|---|---|
| From | init!(mainResource mainResource: WebResource!, subresources subresources: [AnyObject]!, subframeArchives subframeArchives: [AnyObject]!) |
| To | init!(mainResource mainResource: WebResource!, subresources subresources: [Any]!, subframeArchives subframeArchives: [Any]!) |
Modified WebArchive.subframeArchives
| Declaration | |
|---|---|
| From | var subframeArchives: [AnyObject]! { get } |
| To | var subframeArchives: [Any]! { get } |
Modified WebArchive.subresources
| Declaration | |
|---|---|
| From | var subresources: [AnyObject]! { get } |
| To | var subresources: [Any]! { get } |
Modified WebBackForwardList
| Declaration | Protocols | |
|---|---|---|
| From | class WebBackForwardList : NSObject {
func addItem(_ item: WebHistoryItem!)
func goBack()
func goForward()
func goToItem(_ item: WebHistoryItem!)
var backItem: WebHistoryItem! { get }
var currentItem: WebHistoryItem! { get }
var forwardItem: WebHistoryItem! { get }
func backListWithLimit(_ limit: Int32) -> [AnyObject]!
func forwardListWithLimit(_ limit: Int32) -> [AnyObject]!
var capacity: Int32
var backListCount: Int32 { get }
var forwardListCount: Int32 { get }
func containsItem(_ item: WebHistoryItem!) -> Bool
func itemAtIndex(_ index: Int32) -> WebHistoryItem!
}
extension WebBackForwardList {
func setPageCacheSize(_ size: Int)
func pageCacheSize() -> Int
} | -- |
| To | class WebBackForwardList : NSObject {
func add(_ item: WebHistoryItem!)
func goBack()
func goForward()
func go(to item: WebHistoryItem!)
var backItem: WebHistoryItem! { get }
var currentItem: WebHistoryItem! { get }
var forwardItem: WebHistoryItem! { get }
func back(withLimit limit: Int32) -> [Any]!
func forwardList(withLimit limit: Int32) -> [Any]!
var capacity: Int32
var backListCount: Int32 { get }
var forwardListCount: Int32 { get }
func contains(_ item: WebHistoryItem!) -> Bool
func item(at index: Int32) -> WebHistoryItem!
func setPageCacheSize(_ size: Int)
func pageCacheSize() -> Int
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 }
func webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!)
func webPlugInContainerShowStatus(_ message: String!)
var webPlugInContainerSelectionColor: NSColor! { get }
var webFrame: WebFrame! { get }
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?)
class func pose(as aClass: AnyClass)
}
extension WebBackForwardList : CVarArg {
}
extension WebBackForwardList : Equatable, Hashable {
var hashValue: Int { get }
}
extension WebBackForwardList {
func setPageCacheSize(_ size: Int)
func pageCacheSize() -> Int
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | func addItem(_ item: WebHistoryItem!) |
| To | func add(_ item: WebHistoryItem!) |
| Declaration | |
|---|---|
| From | func backListWithLimit(_ limit: Int32) -> [AnyObject]! |
| To | func back(withLimit limit: Int32) -> [Any]! |
| Declaration | |
|---|---|
| From | func containsItem(_ item: WebHistoryItem!) -> Bool |
| To | func contains(_ item: WebHistoryItem!) -> Bool |
| Declaration | |
|---|---|
| From | func forwardListWithLimit(_ limit: Int32) -> [AnyObject]! |
| To | func forwardList(withLimit limit: Int32) -> [Any]! |
| Declaration | |
|---|---|
| From | func goToItem(_ item: WebHistoryItem!) |
| To | func go(to item: WebHistoryItem!) |
| Declaration | |
|---|---|
| From | func itemAtIndex(_ index: Int32) -> WebHistoryItem! |
| To | func item(at index: Int32) -> WebHistoryItem! |
Modified WebCacheModel [enum]
| Declaration | |
|---|---|
| From | enum WebCacheModel : UInt {
case DocumentViewer
case DocumentBrowser
case PrimaryWebBrowser
} |
| To | enum WebCacheModel : UInt {
case documentViewer
case documentBrowser
case primaryWebBrowser
} |
Modified WebCacheModel.documentBrowser
| Declaration | |
|---|---|
| From | case DocumentBrowser |
| To | case documentBrowser |
Modified WebCacheModel.documentViewer
| Declaration | |
|---|---|
| From | case DocumentViewer |
| To | case documentViewer |
Modified WebCacheModel.primaryWebBrowser
| Declaration | |
|---|---|
| From | case PrimaryWebBrowser |
| To | case primaryWebBrowser |
Modified WebDataSource
| Declaration | Protocols | |
|---|---|---|
| From | class WebDataSource : NSObject {
init!(request request: NSURLRequest!)
@NSCopying var data: NSData! { get }
var representation: WebDocumentRepresentation! { get }
var webFrame: WebFrame! { get }
var initialRequest: NSURLRequest! { get }
var request: NSMutableURLRequest! { get }
var response: NSURLResponse! { get }
var textEncodingName: String! { get }
var loading: Bool { get }
var pageTitle: String! { get }
var unreachableURL: NSURL! { get }
var webArchive: WebArchive! { get }
var mainResource: WebResource! { get }
var subresources: [AnyObject]! { get }
func subresourceForURL(_ URL: NSURL!) -> WebResource!
func addSubresource(_ subresource: WebResource!)
} | -- |
| To | class WebDataSource : NSObject {
init!(request request: URLRequest!)
var data: Data! { get }
var representation: WebDocumentRepresentation! { get }
var webFrame: WebFrame! { get }
var initialRequest: URLRequest! { get }
var request: NSMutableURLRequest! { get }
var response: URLResponse! { get }
var textEncodingName: String! { get }
var isLoading: Bool { get }
var pageTitle: String! { get }
var unreachableURL: URL! { get }
var webArchive: WebArchive! { get }
var mainResource: WebResource! { get }
var subresources: [Any]! { get }
func subresource(for URL: URL!) -> WebResource!
func addSubresource(_ subresource: WebResource!)
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 WebDataSource : CVarArg {
}
extension WebDataSource : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WebDataSource.data
| Declaration | |
|---|---|
| From | @NSCopying var data: NSData! { get } |
| To | var data: Data! { get } |
| Declaration | |
|---|---|
| From | init!(request request: NSURLRequest!) |
| To | init!(request request: URLRequest!) |
Modified WebDataSource.initialRequest
| Declaration | |
|---|---|
| From | var initialRequest: NSURLRequest! { get } |
| To | var initialRequest: URLRequest! { get } |
Modified WebDataSource.isLoading
| Declaration | |
|---|---|
| From | var loading: Bool { get } |
| To | var isLoading: Bool { get } |
Modified WebDataSource.response
| Declaration | |
|---|---|
| From | var response: NSURLResponse! { get } |
| To | var response: URLResponse! { get } |
| Declaration | |
|---|---|
| From | func subresourceForURL(_ URL: NSURL!) -> WebResource! |
| To | func subresource(for URL: URL!) -> WebResource! |
Modified WebDataSource.subresources
| Declaration | |
|---|---|
| From | var subresources: [AnyObject]! { get } |
| To | var subresources: [Any]! { get } |
Modified WebDataSource.unreachableURL
| Declaration | |
|---|---|
| From | var unreachableURL: NSURL! { get } |
| To | var unreachableURL: URL! { get } |
Modified WebDocumentRepresentation
| Declaration | |
|---|---|
| From | protocol WebDocumentRepresentation : NSObjectProtocol {
func setDataSource(_ dataSource: WebDataSource!)
func receivedData(_ data: NSData!, withDataSource dataSource: WebDataSource!)
func receivedError(_ error: NSError!, withDataSource dataSource: WebDataSource!)
func finishedLoadingWithDataSource(_ dataSource: WebDataSource!)
func canProvideDocumentSource() -> Bool
func documentSource() -> String!
func title() -> String!
} |
| To | protocol WebDocumentRepresentation : NSObjectProtocol {
func setDataSource(_ dataSource: WebDataSource!)
func receivedData(_ data: Data!, with dataSource: WebDataSource!)
func receivedError(_ error: Error!, with dataSource: WebDataSource!)
func finishedLoading(with dataSource: WebDataSource!)
func canProvideDocumentSource() -> Bool
func documentSource() -> String!
func title() -> String!
} |
| Declaration | |
|---|---|
| From | func finishedLoadingWithDataSource(_ dataSource: WebDataSource!) |
| To | func finishedLoading(with dataSource: WebDataSource!) |
| Declaration | |
|---|---|
| From | func receivedData(_ data: NSData!, withDataSource dataSource: WebDataSource!) |
| To | func receivedData(_ data: Data!, with dataSource: WebDataSource!) |
| Declaration | |
|---|---|
| From | func receivedError(_ error: NSError!, withDataSource dataSource: WebDataSource!) |
| To | func receivedError(_ error: Error!, with dataSource: WebDataSource!) |
Modified WebDocumentSearching
| Declaration | |
|---|---|
| From | protocol WebDocumentSearching : NSObjectProtocol {
func searchFor(_ string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool
} |
| To | protocol WebDocumentSearching : NSObjectProtocol {
func search(for string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool
} |
Modified WebDocumentSearching.search(for: String!, direction: Bool, caseSensitive: Bool, wrap: Bool) -> Bool
| Declaration | |
|---|---|
| From | func searchFor(_ string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool |
| To | func search(for string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool |
Modified WebDocumentView
| Declaration | |
|---|---|
| From | protocol WebDocumentView : NSObjectProtocol {
func setDataSource(_ dataSource: WebDataSource!)
func dataSourceUpdated(_ dataSource: WebDataSource!)
func setNeedsLayout(_ flag: Bool)
func layout()
func viewWillMoveToHostWindow(_ hostWindow: NSWindow!)
func viewDidMoveToHostWindow()
} |
| To | protocol WebDocumentView : NSObjectProtocol {
func setDataSource(_ dataSource: WebDataSource!)
func dataSourceUpdated(_ dataSource: WebDataSource!)
func setNeedsLayout(_ flag: Bool)
func layout()
func viewWillMove(toHostWindow hostWindow: NSWindow!)
func viewDidMoveToHostWindow()
} |
| Declaration | |
|---|---|
| From | func viewWillMoveToHostWindow(_ hostWindow: NSWindow!) |
| To | func viewWillMove(toHostWindow hostWindow: NSWindow!) |
Modified WebDownloadDelegate
| Declaration | |
|---|---|
| From | protocol WebDownloadDelegate : NSURLDownloadDelegate {
optional func downloadWindowForAuthenticationSheet(_ download: WebDownload!) -> NSWindow!
} |
| To | protocol WebDownloadDelegate : NSURLDownloadDelegate {
optional func downloadWindow(forAuthenticationSheet download: WebDownload!) -> NSWindow!
} |
| Declaration | |
|---|---|
| From | optional func downloadWindowForAuthenticationSheet(_ download: WebDownload!) -> NSWindow! |
| To | optional func downloadWindow(forAuthenticationSheet download: WebDownload!) -> NSWindow! |
Modified WebDragDestinationAction [struct]
| Declaration | Protocols | |
|---|---|---|
| From | struct WebDragDestinationAction : OptionSetType {
init(rawValue rawValue: UInt)
static var None: WebDragDestinationAction { get }
static var DHTML: WebDragDestinationAction { get }
static var Edit: WebDragDestinationAction { get }
static var Load: WebDragDestinationAction { get }
static var Any: WebDragDestinationAction { get }
} | OptionSetType |
| To | struct WebDragDestinationAction : OptionSet {
init(rawValue rawValue: UInt)
static var none: WebDragDestinationAction { get }
static var DHTML: WebDragDestinationAction { get }
static var edit: WebDragDestinationAction { get }
static var load: WebDragDestinationAction { get }
static var any: WebDragDestinationAction { get }
func intersect(_ other: WebDragDestinationAction) -> WebDragDestinationAction
func exclusiveOr(_ other: WebDragDestinationAction) -> WebDragDestinationAction
mutating func unionInPlace(_ other: WebDragDestinationAction)
mutating func intersectInPlace(_ other: WebDragDestinationAction)
mutating func exclusiveOrInPlace(_ other: WebDragDestinationAction)
func isSubsetOf(_ other: WebDragDestinationAction) -> Bool
func isDisjointWith(_ other: WebDragDestinationAction) -> Bool
func isSupersetOf(_ other: WebDragDestinationAction) -> Bool
mutating func subtractInPlace(_ other: WebDragDestinationAction)
func isStrictSupersetOf(_ other: WebDragDestinationAction) -> Bool
func isStrictSubsetOf(_ other: WebDragDestinationAction) -> Bool
}
extension WebDragDestinationAction {
func union(_ other: WebDragDestinationAction) -> WebDragDestinationAction
func intersection(_ other: WebDragDestinationAction) -> WebDragDestinationAction
func symmetricDifference(_ other: WebDragDestinationAction) -> WebDragDestinationAction
}
extension WebDragDestinationAction {
func contains(_ member: WebDragDestinationAction) -> Bool
mutating func insert(_ newMember: WebDragDestinationAction) -> (inserted: Bool, memberAfterInsert: WebDragDestinationAction)
mutating func remove(_ member: WebDragDestinationAction) -> WebDragDestinationAction?
mutating func update(with newMember: WebDragDestinationAction) -> WebDragDestinationAction?
}
extension WebDragDestinationAction {
convenience init()
mutating func formUnion(_ other: WebDragDestinationAction)
mutating func formIntersection(_ other: WebDragDestinationAction)
mutating func formSymmetricDifference(_ other: WebDragDestinationAction)
}
extension WebDragDestinationAction {
convenience init<S : Sequence where S.Iterator.Element == WebDragDestinationAction>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: WebDragDestinationAction...)
mutating func subtract(_ other: WebDragDestinationAction)
func isSubset(of other: WebDragDestinationAction) -> Bool
func isSuperset(of other: WebDragDestinationAction) -> Bool
func isDisjoint(with other: WebDragDestinationAction) -> Bool
func subtracting(_ other: WebDragDestinationAction) -> WebDragDestinationAction
var isEmpty: Bool { get }
func isStrictSuperset(of other: WebDragDestinationAction) -> Bool
func isStrictSubset(of other: WebDragDestinationAction) -> Bool
} | OptionSet |
Modified WebDragDestinationAction.any
| Declaration | |
|---|---|
| From | static var Any: WebDragDestinationAction { get } |
| To | static var any: WebDragDestinationAction { get } |
Modified WebDragDestinationAction.edit
| Declaration | |
|---|---|
| From | static var Edit: WebDragDestinationAction { get } |
| To | static var edit: WebDragDestinationAction { get } |
Modified WebDragDestinationAction.load
| Declaration | |
|---|---|
| From | static var Load: WebDragDestinationAction { get } |
| To | static var load: WebDragDestinationAction { get } |
Modified WebDragSourceAction [struct]
| Declaration | Protocols | |
|---|---|---|
| From | struct WebDragSourceAction : OptionSetType {
init(rawValue rawValue: UInt)
static var None: WebDragSourceAction { get }
static var DHTML: WebDragSourceAction { get }
static var Image: WebDragSourceAction { get }
static var Link: WebDragSourceAction { get }
static var Selection: WebDragSourceAction { get }
static var Any: WebDragSourceAction { get }
} | OptionSetType |
| To | struct WebDragSourceAction : OptionSet {
init(rawValue rawValue: UInt)
static var none: WebDragSourceAction { get }
static var DHTML: WebDragSourceAction { get }
static var image: WebDragSourceAction { get }
static var link: WebDragSourceAction { get }
static var selection: WebDragSourceAction { get }
static var any: WebDragSourceAction { get }
func intersect(_ other: WebDragSourceAction) -> WebDragSourceAction
func exclusiveOr(_ other: WebDragSourceAction) -> WebDragSourceAction
mutating func unionInPlace(_ other: WebDragSourceAction)
mutating func intersectInPlace(_ other: WebDragSourceAction)
mutating func exclusiveOrInPlace(_ other: WebDragSourceAction)
func isSubsetOf(_ other: WebDragSourceAction) -> Bool
func isDisjointWith(_ other: WebDragSourceAction) -> Bool
func isSupersetOf(_ other: WebDragSourceAction) -> Bool
mutating func subtractInPlace(_ other: WebDragSourceAction)
func isStrictSupersetOf(_ other: WebDragSourceAction) -> Bool
func isStrictSubsetOf(_ other: WebDragSourceAction) -> Bool
}
extension WebDragSourceAction {
func union(_ other: WebDragSourceAction) -> WebDragSourceAction
func intersection(_ other: WebDragSourceAction) -> WebDragSourceAction
func symmetricDifference(_ other: WebDragSourceAction) -> WebDragSourceAction
}
extension WebDragSourceAction {
func contains(_ member: WebDragSourceAction) -> Bool
mutating func insert(_ newMember: WebDragSourceAction) -> (inserted: Bool, memberAfterInsert: WebDragSourceAction)
mutating func remove(_ member: WebDragSourceAction) -> WebDragSourceAction?
mutating func update(with newMember: WebDragSourceAction) -> WebDragSourceAction?
}
extension WebDragSourceAction {
convenience init()
mutating func formUnion(_ other: WebDragSourceAction)
mutating func formIntersection(_ other: WebDragSourceAction)
mutating func formSymmetricDifference(_ other: WebDragSourceAction)
}
extension WebDragSourceAction {
convenience init<S : Sequence where S.Iterator.Element == WebDragSourceAction>(_ sequence: S)
convenience init(arrayLiteral arrayLiteral: WebDragSourceAction...)
mutating func subtract(_ other: WebDragSourceAction)
func isSubset(of other: WebDragSourceAction) -> Bool
func isSuperset(of other: WebDragSourceAction) -> Bool
func isDisjoint(with other: WebDragSourceAction) -> Bool
func subtracting(_ other: WebDragSourceAction) -> WebDragSourceAction
var isEmpty: Bool { get }
func isStrictSuperset(of other: WebDragSourceAction) -> Bool
func isStrictSubset(of other: WebDragSourceAction) -> Bool
} | OptionSet |
Modified WebDragSourceAction.any
| Declaration | |
|---|---|
| From | static var Any: WebDragSourceAction { get } |
| To | static var any: WebDragSourceAction { get } |
Modified WebDragSourceAction.image
| Declaration | |
|---|---|
| From | static var Image: WebDragSourceAction { get } |
| To | static var image: WebDragSourceAction { get } |
Modified WebDragSourceAction.link
| Declaration | |
|---|---|
| From | static var Link: WebDragSourceAction { get } |
| To | static var link: WebDragSourceAction { get } |
Modified WebDragSourceAction.selection
| Declaration | |
|---|---|
| From | static var Selection: WebDragSourceAction { get } |
| To | static var selection: WebDragSourceAction { get } |
Modified WebEditingDelegate
| Declaration | |
|---|---|
| From | protocol WebEditingDelegate : NSObjectProtocol {
} |
| To | protocol WebEditingDelegate : NSObjectProtocol {
optional func webView(_ webView: WebView!, shouldBeginEditingIn range: DOMRange!) -> Bool
optional func webView(_ webView: WebView!, shouldEndEditingIn range: DOMRange!) -> Bool
optional func webView(_ webView: WebView!, shouldInsert node: DOMNode!, replacing range: DOMRange!, given action: WebViewInsertAction) -> Bool
optional func webView(_ webView: WebView!, shouldInsertText text: String!, replacing range: DOMRange!, given action: WebViewInsertAction) -> Bool
optional func webView(_ webView: WebView!, shouldDelete range: DOMRange!) -> Bool
optional func webView(_ webView: WebView!, shouldChangeSelectedDOMRange currentRange: DOMRange!, to proposedRange: DOMRange!, affinity selectionAffinity: NSSelectionAffinity, stillSelecting flag: Bool) -> Bool
optional func webView(_ webView: WebView!, shouldApplyStyle style: DOMCSSStyleDeclaration!, toElementsIn range: DOMRange!) -> Bool
optional func webView(_ webView: WebView!, shouldChangeTypingStyle currentStyle: DOMCSSStyleDeclaration!, toStyle proposedStyle: DOMCSSStyleDeclaration!) -> Bool
optional func webView(_ webView: WebView!, doCommandBy selector: Selector!) -> Bool
optional func webViewDidBeginEditing(_ notification: Notification!)
optional func webViewDidChange(_ notification: Notification!)
optional func webViewDidEndEditing(_ notification: Notification!)
optional func webViewDidChangeTypingStyle(_ notification: Notification!)
optional func webViewDidChangeSelection(_ notification: Notification!)
optional func undoManager(for webView: WebView!) -> UndoManager!
} |
Modified WebFrame
| Declaration | Protocols | |
|---|---|---|
| From | class WebFrame : NSObject {
init!(name name: String!, webFrameView view: WebFrameView!, webView webView: WebView!)
var name: String! { get }
var webView: WebView! { get }
var frameView: WebFrameView! { get }
var DOMDocument: DOMDocument! { get }
var frameElement: DOMHTMLElement! { get }
func loadRequest(_ request: NSURLRequest!)
func loadData(_ data: NSData!, MIMEType MIMEType: String!, textEncodingName encodingName: String!, baseURL URL: NSURL!)
func loadHTMLString(_ string: String!, baseURL URL: NSURL!)
func loadAlternateHTMLString(_ string: String!, baseURL baseURL: NSURL!, forUnreachableURL unreachableURL: NSURL!)
func loadArchive(_ archive: WebArchive!)
var dataSource: WebDataSource? { get }
var provisionalDataSource: WebDataSource! { get }
func stopLoading()
func reload()
func reloadFromOrigin()
func findFrameNamed(_ name: String!) -> WebFrame!
var parentFrame: WebFrame! { get }
var childFrames: [AnyObject]! { get }
var windowObject: WebScriptObject! { get }
var globalContext: JSGlobalContextRef { get }
var javaScriptContext: JSContext! { get }
} | -- |
| To | class WebFrame : NSObject {
init!(name name: String!, webFrameView view: WebFrameView!, webView webView: WebView!)
var name: String! { get }
var webView: WebView! { get }
var frameView: WebFrameView! { get }
var domDocument: DOMDocument! { get }
var frameElement: DOMHTMLElement! { get }
func load(_ request: URLRequest!)
func load(_ data: Data!, mimeType MIMEType: String!, textEncodingName encodingName: String!, baseURL URL: URL!)
func loadHTMLString(_ string: String!, baseURL URL: URL!)
func loadAlternateHTMLString(_ string: String!, baseURL baseURL: URL!, forUnreachableURL unreachableURL: URL!)
func load(_ archive: WebArchive!)
var dataSource: WebDataSource? { get }
var provisionalDataSource: WebDataSource! { get }
func stopLoading()
func reload()
func reloadFromOrigin()
func findNamed(_ name: String!) -> WebFrame!
var parent: WebFrame! { get }
var childFrames: [Any]! { get }
var windowObject: WebScriptObject! { get }
var globalContext: JSGlobalContextRef! { get }
var javaScriptContext: JSContext! { get }
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 WebFrame : CVarArg {
}
extension WebFrame : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WebFrame.childFrames
| Declaration | |
|---|---|
| From | var childFrames: [AnyObject]! { get } |
| To | var childFrames: [Any]! { get } |
Modified WebFrame.domDocument
| Declaration | |
|---|---|
| From | var DOMDocument: DOMDocument! { get } |
| To | var domDocument: DOMDocument! { get } |
| Declaration | |
|---|---|
| From | func findFrameNamed(_ name: String!) -> WebFrame! |
| To | func findNamed(_ name: String!) -> WebFrame! |
Modified WebFrame.globalContext
| Declaration | |
|---|---|
| From | var globalContext: JSGlobalContextRef { get } |
| To | var globalContext: JSGlobalContextRef! { get } |
Modified WebFrame.load(_: URLRequest!)
| Declaration | |
|---|---|
| From | func loadRequest(_ request: NSURLRequest!) |
| To | func load(_ request: URLRequest!) |
Modified WebFrame.load(_: WebArchive!)
| Declaration | |
|---|---|
| From | func loadArchive(_ archive: WebArchive!) |
| To | func load(_ archive: WebArchive!) |
| Declaration | |
|---|---|
| From | func loadData(_ data: NSData!, MIMEType MIMEType: String!, textEncodingName encodingName: String!, baseURL URL: NSURL!) |
| To | func load(_ data: Data!, mimeType MIMEType: String!, textEncodingName encodingName: String!, baseURL URL: URL!) |
| Declaration | |
|---|---|
| From | func loadAlternateHTMLString(_ string: String!, baseURL baseURL: NSURL!, forUnreachableURL unreachableURL: NSURL!) |
| To | func loadAlternateHTMLString(_ string: String!, baseURL baseURL: URL!, forUnreachableURL unreachableURL: URL!) |
| Declaration | |
|---|---|
| From | func loadHTMLString(_ string: String!, baseURL URL: NSURL!) |
| To | func loadHTMLString(_ string: String!, baseURL URL: URL!) |
Modified WebFrame.parent
| Declaration | |
|---|---|
| From | var parentFrame: WebFrame! { get } |
| To | var parent: WebFrame! { get } |
Modified WebFrameLoadDelegate
| Declaration | |
|---|---|
| From | protocol WebFrameLoadDelegate : NSObjectProtocol {
optional func webView(_ sender: WebView!, didStartProvisionalLoadForFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didReceiveServerRedirectForProvisionalLoadForFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didFailProvisionalLoadWithError error: NSError!, forFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didCommitLoadForFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didReceiveTitle title: String!, forFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didReceiveIcon image: NSImage!, forFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didFinishLoadForFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didFailLoadWithError error: NSError!, forFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didChangeLocationWithinPageForFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, willPerformClientRedirectToURL URL: NSURL!, delay seconds: NSTimeInterval, fireDate date: NSDate!, forFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, didCancelClientRedirectForFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, willCloseFrame frame: WebFrame!)
optional func webView(_ webView: WebView!, didClearWindowObject windowObject: WebScriptObject!, forFrame frame: WebFrame!)
optional func webView(_ webView: WebView!, windowScriptObjectAvailable windowScriptObject: WebScriptObject!)
optional func webView(_ webView: WebView!, didCreateJavaScriptContext context: JSContext!, forFrame frame: WebFrame!)
} |
| To | protocol WebFrameLoadDelegate : NSObjectProtocol {
optional func webView(_ sender: WebView!, didStartProvisionalLoadFor frame: WebFrame!)
optional func webView(_ sender: WebView!, didReceiveServerRedirectForProvisionalLoadFor frame: WebFrame!)
optional func webView(_ sender: WebView!, didFailProvisionalLoadWithError error: Error!, for frame: WebFrame!)
optional func webView(_ sender: WebView!, didCommitLoadFor frame: WebFrame!)
optional func webView(_ sender: WebView!, didReceiveTitle title: String!, for frame: WebFrame!)
optional func webView(_ sender: WebView!, didReceiveIcon image: NSImage!, for frame: WebFrame!)
optional func webView(_ sender: WebView!, didFinishLoadFor frame: WebFrame!)
optional func webView(_ sender: WebView!, didFailLoadWithError error: Error!, for frame: WebFrame!)
optional func webView(_ sender: WebView!, didChangeLocationWithinPageFor frame: WebFrame!)
optional func webView(_ sender: WebView!, willPerformClientRedirectTo URL: URL!, delay seconds: TimeInterval, fire date: Date!, for frame: WebFrame!)
optional func webView(_ sender: WebView!, didCancelClientRedirectFor frame: WebFrame!)
optional func webView(_ sender: WebView!, willClose frame: WebFrame!)
optional func webView(_ webView: WebView!, didClearWindowObject windowObject: WebScriptObject!, for frame: WebFrame!)
optional func webView(_ webView: WebView!, windowScriptObjectAvailable windowScriptObject: WebScriptObject!)
optional func webView(_ webView: WebView!, didCreateJavaScriptContext context: JSContext!, for frame: WebFrame!)
} |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didCancelClientRedirectForFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didCancelClientRedirectFor frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didChangeLocationWithinPageForFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didChangeLocationWithinPageFor frame: WebFrame!) |
Modified WebFrameLoadDelegate.webView(_: WebView!, didClearWindowObject: WebScriptObject!, for: WebFrame!)
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, didClearWindowObject windowObject: WebScriptObject!, forFrame frame: WebFrame!) |
| To | optional func webView(_ webView: WebView!, didClearWindowObject windowObject: WebScriptObject!, for frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didCommitLoadForFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didCommitLoadFor frame: WebFrame!) |
Modified WebFrameLoadDelegate.webView(_: WebView!, didCreateJavaScriptContext: JSContext!, for: WebFrame!)
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, didCreateJavaScriptContext context: JSContext!, forFrame frame: WebFrame!) |
| To | optional func webView(_ webView: WebView!, didCreateJavaScriptContext context: JSContext!, for frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didFailLoadWithError error: NSError!, forFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didFailLoadWithError error: Error!, for frame: WebFrame!) |
Modified WebFrameLoadDelegate.webView(_: WebView!, didFailProvisionalLoadWithError: Error!, for: WebFrame!)
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didFailProvisionalLoadWithError error: NSError!, forFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didFailProvisionalLoadWithError error: Error!, for frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didFinishLoadForFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didFinishLoadFor frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didReceiveIcon image: NSImage!, forFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didReceiveIcon image: NSImage!, for frame: WebFrame!) |
Modified WebFrameLoadDelegate.webView(_: WebView!, didReceiveServerRedirectForProvisionalLoadFor: WebFrame!)
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didReceiveServerRedirectForProvisionalLoadForFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didReceiveServerRedirectForProvisionalLoadFor frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didReceiveTitle title: String!, forFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didReceiveTitle title: String!, for frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, didStartProvisionalLoadForFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, didStartProvisionalLoadFor frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, willCloseFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, willClose frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, willPerformClientRedirectToURL URL: NSURL!, delay seconds: NSTimeInterval, fireDate date: NSDate!, forFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, willPerformClientRedirectTo URL: URL!, delay seconds: TimeInterval, fire date: Date!, for frame: WebFrame!) |
Modified WebFrameView
| Declaration | Protocols | |
|---|---|---|
| From | class WebFrameView : NSView {
var webFrame: WebFrame! { get }
var documentView: NSView! { get }
var allowsScrolling: Bool
var canPrintHeadersAndFooters: Bool { get }
func printOperationWithPrintInfo(_ printInfo: NSPrintInfo!) -> NSPrintOperation!
var documentViewShouldHandlePrint: Bool { get }
func printDocumentView()
} | -- |
| 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)
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 |
| Declaration | |
|---|---|
| From | func printOperationWithPrintInfo(_ printInfo: NSPrintInfo!) -> NSPrintOperation! |
| To | func printOperation(with printInfo: NSPrintInfo!) -> NSPrintOperation! |
Modified WebHistory
| Declaration | Protocols | |
|---|---|---|
| From | class WebHistory : NSObject {
class func optionalSharedHistory() -> WebHistory!
class func setOptionalSharedHistory(_ history: WebHistory!)
func loadFromURL(_ URL: NSURL!) throws
func saveToURL(_ URL: NSURL!) throws
func addItems(_ newItems: [AnyObject]!)
func removeItems(_ items: [AnyObject]!)
func removeAllItems()
var orderedLastVisitedDays: [AnyObject]! { get }
func orderedItemsLastVisitedOnDay(_ calendarDate: NSCalendarDate!) -> [AnyObject]!
func itemForURL(_ URL: NSURL!) -> WebHistoryItem!
var historyItemLimit: Int32
var historyAgeInDaysLimit: Int32
} | -- |
| To | class WebHistory : NSObject {
class func optionalShared() -> WebHistory!
class func setOptionalShared(_ history: WebHistory!)
func load(from URL: URL!) throws
func save(to URL: URL!) throws
func addItems(_ newItems: [Any]!)
func removeItems(_ items: [Any]!)
func removeAllItems()
var orderedLastVisitedDays: [Any]! { get }
func orderedItemsLastVisited(onDay calendarDate: NSCalendarDate!) -> [Any]!
func item(for URL: URL!) -> WebHistoryItem!
var historyItemLimit: Int32
var historyAgeInDaysLimit: Int32
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 WebHistory : CVarArg {
}
extension WebHistory : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WebHistory.addItems(_: [Any]!)
| Declaration | |
|---|---|
| From | func addItems(_ newItems: [AnyObject]!) |
| To | func addItems(_ newItems: [Any]!) |
| Declaration | |
|---|---|
| From | func itemForURL(_ URL: NSURL!) -> WebHistoryItem! |
| To | func item(for URL: URL!) -> WebHistoryItem! |
Modified WebHistory.load(from: URL!) throws
| Declaration | |
|---|---|
| From | func loadFromURL(_ URL: NSURL!) throws |
| To | func load(from URL: URL!) throws |
| Declaration | |
|---|---|
| From | class func optionalSharedHistory() -> WebHistory! |
| To | class func optionalShared() -> WebHistory! |
| Declaration | |
|---|---|
| From | func orderedItemsLastVisitedOnDay(_ calendarDate: NSCalendarDate!) -> [AnyObject]! |
| To | func orderedItemsLastVisited(onDay calendarDate: NSCalendarDate!) -> [Any]! |
Modified WebHistory.orderedLastVisitedDays
| Declaration | |
|---|---|
| From | var orderedLastVisitedDays: [AnyObject]! { get } |
| To | var orderedLastVisitedDays: [Any]! { get } |
Modified WebHistory.removeItems(_: [Any]!)
| Declaration | |
|---|---|
| From | func removeItems(_ items: [AnyObject]!) |
| To | func removeItems(_ items: [Any]!) |
Modified WebHistory.save(to: URL!) throws
| Declaration | |
|---|---|
| From | func saveToURL(_ URL: NSURL!) throws |
| To | func save(to URL: URL!) throws |
| Declaration | |
|---|---|
| From | class func setOptionalSharedHistory(_ history: WebHistory!) |
| To | class func setOptionalShared(_ history: WebHistory!) |
Modified WebHistoryItem
| Declaration | Protocols | |
|---|---|---|
| From | class WebHistoryItem : NSObject, NSCopying {
init!(URLString URLString: String!, title title: String!, lastVisitedTimeInterval time: NSTimeInterval)
var originalURLString: String! { get }
var URLString: String! { get }
var title: String! { get }
var lastVisitedTimeInterval: NSTimeInterval { get }
var alternateTitle: String!
var icon: NSImage! { get }
} | NSCopying |
| To | class WebHistoryItem : NSObject, NSCopying {
init!(urlString URLString: String!, title title: String!, lastVisitedTimeInterval time: TimeInterval)
var originalURLString: String! { get }
var urlString: String! { get }
var title: String! { get }
var lastVisitedTimeInterval: TimeInterval { get }
var alternateTitle: String!
var icon: NSImage! { get }
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 WebHistoryItem : CVarArg {
}
extension WebHistoryItem : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying |
Modified WebHistoryItem.init(urlString: String!, title: String!, lastVisitedTimeInterval: TimeInterval)
| Declaration | |
|---|---|
| From | init!(URLString URLString: String!, title title: String!, lastVisitedTimeInterval time: NSTimeInterval) |
| To | init!(urlString URLString: String!, title title: String!, lastVisitedTimeInterval time: TimeInterval) |
| Declaration | |
|---|---|
| From | var lastVisitedTimeInterval: NSTimeInterval { get } |
| To | var lastVisitedTimeInterval: TimeInterval { get } |
Modified WebHistoryItem.urlString
| Declaration | |
|---|---|
| From | var URLString: String! { get } |
| To | var urlString: String! { get } |
Modified WebNavigationType [enum]
| Declaration | |
|---|---|
| From | enum WebNavigationType : Int {
case LinkClicked
case FormSubmitted
case BackForward
case Reload
case FormResubmitted
case Other
} |
| To | enum WebNavigationType : Int {
case linkClicked
case formSubmitted
case backForward
case reload
case formResubmitted
case other
} |
Modified WebNavigationType.backForward
| Declaration | |
|---|---|
| From | case BackForward |
| To | case backForward |
Modified WebNavigationType.formResubmitted
| Declaration | |
|---|---|
| From | case FormResubmitted |
| To | case formResubmitted |
Modified WebNavigationType.formSubmitted
| Declaration | |
|---|---|
| From | case FormSubmitted |
| To | case formSubmitted |
Modified WebNavigationType.linkClicked
| Declaration | |
|---|---|
| From | case LinkClicked |
| To | case linkClicked |
Modified WebNavigationType.other
| Declaration | |
|---|---|
| From | case Other |
| To | case other |
Modified WebNavigationType.reload
| Declaration | |
|---|---|
| From | case Reload |
| To | case reload |
Modified WebOpenPanelResultListener
| Declaration | |
|---|---|
| From | protocol WebOpenPanelResultListener : NSObjectProtocol {
func chooseFilename(_ fileName: String!)
func chooseFilenames(_ fileNames: [AnyObject]!)
func cancel()
} |
| To | protocol WebOpenPanelResultListener : NSObjectProtocol {
func chooseFilename(_ fileName: String!)
func chooseFilenames(_ fileNames: [Any]!)
func cancel()
} |
| Declaration | |
|---|---|
| From | func chooseFilenames(_ fileNames: [AnyObject]!) |
| To | func chooseFilenames(_ fileNames: [Any]!) |
Modified WebPlugInViewFactory
| Declaration | |
|---|---|
| From | protocol WebPlugInViewFactory : NSObjectProtocol {
static func plugInViewWithArguments(_ arguments: [NSObject : AnyObject]!) -> NSView!
} |
| To | protocol WebPlugInViewFactory : NSObjectProtocol {
static func plugInView(withArguments arguments: [AnyHashable : Any]!) -> NSView!
} |
| Declaration | |
|---|---|
| From | static func plugInViewWithArguments(_ arguments: [NSObject : AnyObject]!) -> NSView! |
| To | static func plugInView(withArguments arguments: [AnyHashable : Any]!) -> NSView! |
Modified WebPolicyDelegate
| Declaration | |
|---|---|
| From | protocol WebPolicyDelegate : NSObjectProtocol {
optional func webView(_ webView: WebView!, decidePolicyForNavigationAction actionInformation: [NSObject : AnyObject]!, request request: NSURLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!)
optional func webView(_ webView: WebView!, decidePolicyForNewWindowAction actionInformation: [NSObject : AnyObject]!, request request: NSURLRequest!, newFrameName frameName: String!, decisionListener listener: WebPolicyDecisionListener!)
optional func webView(_ webView: WebView!, decidePolicyForMIMEType type: String!, request request: NSURLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!)
optional func webView(_ webView: WebView!, unableToImplementPolicyWithError error: NSError!, frame frame: WebFrame!)
} |
| To | protocol WebPolicyDelegate : NSObjectProtocol {
optional func webView(_ webView: WebView!, decidePolicyForNavigationAction actionInformation: [AnyHashable : Any]!, request request: URLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!)
optional func webView(_ webView: WebView!, decidePolicyForNewWindowAction actionInformation: [AnyHashable : Any]!, request request: URLRequest!, newFrameName frameName: String!, decisionListener listener: WebPolicyDecisionListener!)
optional func webView(_ webView: WebView!, decidePolicyForMIMEType type: String!, request request: URLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!)
optional func webView(_ webView: WebView!, unableToImplementPolicyWithError error: Error!, frame frame: WebFrame!)
} |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, decidePolicyForMIMEType type: String!, request request: NSURLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!) |
| To | optional func webView(_ webView: WebView!, decidePolicyForMIMEType type: String!, request request: URLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, decidePolicyForNavigationAction actionInformation: [NSObject : AnyObject]!, request request: NSURLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!) |
| To | optional func webView(_ webView: WebView!, decidePolicyForNavigationAction actionInformation: [AnyHashable : Any]!, request request: URLRequest!, frame frame: WebFrame!, decisionListener listener: WebPolicyDecisionListener!) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, decidePolicyForNewWindowAction actionInformation: [NSObject : AnyObject]!, request request: NSURLRequest!, newFrameName frameName: String!, decisionListener listener: WebPolicyDecisionListener!) |
| To | optional func webView(_ webView: WebView!, decidePolicyForNewWindowAction actionInformation: [AnyHashable : Any]!, request request: URLRequest!, newFrameName frameName: String!, decisionListener listener: WebPolicyDecisionListener!) |
Modified WebPolicyDelegate.webView(_: WebView!, unableToImplementPolicyWithError: Error!, frame: WebFrame!)
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, unableToImplementPolicyWithError error: NSError!, frame frame: WebFrame!) |
| To | optional func webView(_ webView: WebView!, unableToImplementPolicyWithError error: Error!, frame frame: WebFrame!) |
Modified WebPreferences
| Declaration | Protocols | |
|---|---|---|
| From | class WebPreferences : NSObject, NSCoding {
class func standardPreferences() -> WebPreferences!
init!(identifier anIdentifier: String!)
var identifier: String! { get }
var standardFontFamily: String!
var fixedFontFamily: String!
var serifFontFamily: String!
var sansSerifFontFamily: String!
var cursiveFontFamily: String!
var fantasyFontFamily: String!
var defaultFontSize: Int32
var defaultFixedFontSize: Int32
var minimumFontSize: Int32
var minimumLogicalFontSize: Int32
var defaultTextEncodingName: String!
var userStyleSheetEnabled: Bool
var userStyleSheetLocation: NSURL!
var javaEnabled: Bool
var javaScriptEnabled: Bool
var javaScriptCanOpenWindowsAutomatically: Bool
var plugInsEnabled: Bool
var allowsAnimatedImages: Bool
var allowsAnimatedImageLooping: Bool
var loadsImagesAutomatically: Bool
var autosaves: Bool
var shouldPrintBackgrounds: Bool
var privateBrowsingEnabled: Bool
var tabsToLinks: Bool
var usesPageCache: Bool
var cacheModel: WebCacheModel
var suppressesIncrementalRendering: Bool
var allowsAirPlayForMediaPlayback: Bool
} | NSCoding |
| To | class WebPreferences : NSObject, NSCoding {
class func standard() -> WebPreferences!
init!(identifier anIdentifier: String!)
var identifier: String! { get }
var standardFontFamily: String!
var fixedFontFamily: String!
var serifFontFamily: String!
var sansSerifFontFamily: String!
var cursiveFontFamily: String!
var fantasyFontFamily: String!
var defaultFontSize: Int32
var defaultFixedFontSize: Int32
var minimumFontSize: Int32
var minimumLogicalFontSize: Int32
var defaultTextEncodingName: String!
var userStyleSheetEnabled: Bool
var userStyleSheetLocation: URL!
var isJavaEnabled: Bool
var isJavaScriptEnabled: Bool
var javaScriptCanOpenWindowsAutomatically: Bool
var arePlugInsEnabled: Bool
var allowsAnimatedImages: Bool
var allowsAnimatedImageLooping: Bool
var loadsImagesAutomatically: Bool
var autosaves: Bool
var shouldPrintBackgrounds: Bool
var privateBrowsingEnabled: Bool
var tabsToLinks: Bool
var usesPageCache: Bool
var cacheModel: WebCacheModel
var suppressesIncrementalRendering: Bool
var allowsAirPlayForMediaPlayback: Bool
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 WebPreferences : CVarArg {
}
extension WebPreferences : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
Modified WebPreferences.arePlugInsEnabled
| Declaration | |
|---|---|
| From | var plugInsEnabled: Bool |
| To | var arePlugInsEnabled: Bool |
Modified WebPreferences.isJavaEnabled
| Declaration | |
|---|---|
| From | var javaEnabled: Bool |
| To | var isJavaEnabled: Bool |
Modified WebPreferences.isJavaScriptEnabled
| Declaration | |
|---|---|
| From | var javaScriptEnabled: Bool |
| To | var isJavaScriptEnabled: Bool |
| Declaration | |
|---|---|
| From | class func standardPreferences() -> WebPreferences! |
| To | class func standard() -> WebPreferences! |
| Declaration | |
|---|---|
| From | var userStyleSheetLocation: NSURL! |
| To | var userStyleSheetLocation: URL! |
Modified WebResource
| Declaration | Protocols | |
|---|---|---|
| From | class WebResource : NSObject, NSCoding, NSCopying {
init!(data data: NSData!, URL URL: NSURL!, MIMEType MIMEType: String!, textEncodingName textEncodingName: String!, frameName frameName: String!)
@NSCopying var data: NSData! { get }
var URL: NSURL! { get }
var MIMEType: String! { get }
var textEncodingName: String! { get }
var frameName: String! { get }
} | NSCoding, NSCopying |
| To | class WebResource : NSObject, NSCoding, NSCopying {
init!(data data: Data!, url URL: URL!, mimeType MIMEType: String!, textEncodingName textEncodingName: String!, frameName frameName: String!)
var data: Data! { get }
var url: URL! { get }
var mimeType: String! { get }
var textEncodingName: String! { get }
var frameName: String! { get }
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 WebResource : CVarArg {
}
extension WebResource : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified WebResource.data
| Declaration | |
|---|---|
| From | @NSCopying var data: NSData! { get } |
| To | var data: Data! { get } |
| Declaration | |
|---|---|
| From | init!(data data: NSData!, URL URL: NSURL!, MIMEType MIMEType: String!, textEncodingName textEncodingName: String!, frameName frameName: String!) |
| To | init!(data data: Data!, url URL: URL!, mimeType MIMEType: String!, textEncodingName textEncodingName: String!, frameName frameName: String!) |
Modified WebResource.mimeType
| Declaration | |
|---|---|
| From | var MIMEType: String! { get } |
| To | var mimeType: String! { get } |
Modified WebResource.url
| Declaration | |
|---|---|
| From | var URL: NSURL! { get } |
| To | var url: URL! { get } |
Modified WebResourceLoadDelegate
| Declaration | |
|---|---|
| From | protocol WebResourceLoadDelegate : NSObjectProtocol {
optional func webView(_ sender: WebView!, identifierForInitialRequest request: NSURLRequest!, fromDataSource dataSource: WebDataSource!) -> AnyObject!
optional func webView(_ sender: WebView!, resource identifier: AnyObject!, willSendRequest request: NSURLRequest!, redirectResponse redirectResponse: NSURLResponse!, fromDataSource dataSource: WebDataSource!) -> NSURLRequest!
optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge!, fromDataSource dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge!, fromDataSource dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveResponse response: NSURLResponse!, fromDataSource dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveContentLength length: Int, fromDataSource dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didFinishLoadingFromDataSource dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didFailLoadingWithError error: NSError!, fromDataSource dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, plugInFailedWithError error: NSError!, dataSource dataSource: WebDataSource!)
} |
| To | protocol WebResourceLoadDelegate : NSObjectProtocol {
optional func webView(_ sender: WebView!, identifierForInitialRequest request: URLRequest!, from dataSource: WebDataSource!) -> Any!
optional func webView(_ sender: WebView!, resource identifier: Any!, willSend request: URLRequest!, redirectResponse redirectResponse: URLResponse!, from dataSource: WebDataSource!) -> URLRequest!
optional func webView(_ sender: WebView!, resource identifier: Any!, didReceive challenge: URLAuthenticationChallenge!, from dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: Any!, didCancel challenge: URLAuthenticationChallenge!, from dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: Any!, didReceive response: URLResponse!, from dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: Any!, didReceiveContentLength length: Int, from dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: Any!, didFinishLoadingFrom dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, resource identifier: Any!, didFailLoadingWithError error: Error!, from dataSource: WebDataSource!)
optional func webView(_ sender: WebView!, plugInFailedWithError error: Error!, dataSource dataSource: WebDataSource!)
} |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, identifierForInitialRequest request: NSURLRequest!, fromDataSource dataSource: WebDataSource!) -> AnyObject! |
| To | optional func webView(_ sender: WebView!, identifierForInitialRequest request: URLRequest!, from dataSource: WebDataSource!) -> Any! |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, plugInFailedWithError error: NSError!, dataSource dataSource: WebDataSource!) |
| To | optional func webView(_ sender: WebView!, plugInFailedWithError error: Error!, dataSource dataSource: WebDataSource!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didCancelAuthenticationChallenge challenge: NSURLAuthenticationChallenge!, fromDataSource dataSource: WebDataSource!) |
| To | optional func webView(_ sender: WebView!, resource identifier: Any!, didCancel challenge: URLAuthenticationChallenge!, from dataSource: WebDataSource!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didFailLoadingWithError error: NSError!, fromDataSource dataSource: WebDataSource!) |
| To | optional func webView(_ sender: WebView!, resource identifier: Any!, didFailLoadingWithError error: Error!, from dataSource: WebDataSource!) |
Modified WebResourceLoadDelegate.webView(_: WebView!, resource: Any!, didFinishLoadingFrom: WebDataSource!)
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didFinishLoadingFromDataSource dataSource: WebDataSource!) |
| To | optional func webView(_ sender: WebView!, resource identifier: Any!, didFinishLoadingFrom dataSource: WebDataSource!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveResponse response: NSURLResponse!, fromDataSource dataSource: WebDataSource!) |
| To | optional func webView(_ sender: WebView!, resource identifier: Any!, didReceive response: URLResponse!, from dataSource: WebDataSource!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge!, fromDataSource dataSource: WebDataSource!) |
| To | optional func webView(_ sender: WebView!, resource identifier: Any!, didReceive challenge: URLAuthenticationChallenge!, from dataSource: WebDataSource!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, resource identifier: AnyObject!, didReceiveContentLength length: Int, fromDataSource dataSource: WebDataSource!) |
| To | optional func webView(_ sender: WebView!, resource identifier: Any!, didReceiveContentLength length: Int, from dataSource: WebDataSource!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, resource identifier: AnyObject!, willSendRequest request: NSURLRequest!, redirectResponse redirectResponse: NSURLResponse!, fromDataSource dataSource: WebDataSource!) -> NSURLRequest! |
| To | optional func webView(_ sender: WebView!, resource identifier: Any!, willSend request: URLRequest!, redirectResponse redirectResponse: URLResponse!, from dataSource: WebDataSource!) -> URLRequest! |
Modified WebScriptObject
| Declaration | Protocols | |
|---|---|---|
| From | class WebScriptObject : NSObject {
class func throwException(_ exceptionMessage: String!) -> Bool
func JSObject() -> JSObjectRef
func callWebScriptMethod(_ name: String!, withArguments arguments: [AnyObject]!) -> AnyObject!
func evaluateWebScript(_ script: String!) -> AnyObject!
func removeWebScriptKey(_ name: String!)
func stringRepresentation() -> String!
func webScriptValueAtIndex(_ index: UInt32) -> AnyObject!
func setWebScriptValueAtIndex(_ index: UInt32, value value: AnyObject!)
func setException(_ description: String!)
func JSValue() -> JSValue!
} | -- |
| To | class WebScriptObject : NSObject {
class func throwException(_ exceptionMessage: String!) -> Bool
func jsObject() -> JSObjectRef!
func callWebScriptMethod(_ name: String!, withArguments arguments: [Any]!) -> Any!
func evaluateWebScript(_ script: String!) -> Any!
func removeWebScriptKey(_ name: String!)
func stringRepresentation() -> String!
func webScriptValue(at index: UInt32) -> Any!
func setWebScriptValueAt(_ index: UInt32, value value: Any!)
func setException(_ description: String!)
func jsValue() -> JSValue!
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 WebScriptObject : CVarArg {
}
extension WebScriptObject : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | func callWebScriptMethod(_ name: String!, withArguments arguments: [AnyObject]!) -> AnyObject! |
| To | func callWebScriptMethod(_ name: String!, withArguments arguments: [Any]!) -> Any! |
| Declaration | |
|---|---|
| From | func evaluateWebScript(_ script: String!) -> AnyObject! |
| To | func evaluateWebScript(_ script: String!) -> Any! |
| Declaration | |
|---|---|
| From | func JSObject() -> JSObjectRef |
| To | func jsObject() -> JSObjectRef! |
| Declaration | |
|---|---|
| From | func JSValue() -> JSValue! |
| To | func jsValue() -> JSValue! |
| Declaration | |
|---|---|
| From | func setWebScriptValueAtIndex(_ index: UInt32, value value: AnyObject!) |
| To | func setWebScriptValueAt(_ index: UInt32, value value: Any!) |
| Declaration | |
|---|---|
| From | func webScriptValueAtIndex(_ index: UInt32) -> AnyObject! |
| To | func webScriptValue(at index: UInt32) -> Any! |
Modified WebUIDelegate
| Declaration | |
|---|---|
| From | protocol WebUIDelegate : NSObjectProtocol {
optional func webView(_ sender: WebView!, createWebViewWithRequest request: NSURLRequest!) -> WebView!
optional func webViewShow(_ sender: WebView!)
optional func webView(_ sender: WebView!, createWebViewModalDialogWithRequest request: NSURLRequest!) -> WebView!
optional func webViewRunModal(_ sender: WebView!)
optional func webViewClose(_ sender: WebView!)
optional func webViewFocus(_ sender: WebView!)
optional func webViewUnfocus(_ sender: WebView!)
optional func webViewFirstResponder(_ sender: WebView!) -> NSResponder!
optional func webView(_ sender: WebView!, makeFirstResponder responder: NSResponder!)
optional func webView(_ sender: WebView!, setStatusText text: String!)
optional func webViewStatusText(_ sender: WebView!) -> String!
optional func webViewAreToolbarsVisible(_ sender: WebView!) -> Bool
optional func webView(_ sender: WebView!, setToolbarsVisible visible: Bool)
optional func webViewIsStatusBarVisible(_ sender: WebView!) -> Bool
optional func webView(_ sender: WebView!, setStatusBarVisible visible: Bool)
optional func webViewIsResizable(_ sender: WebView!) -> Bool
optional func webView(_ sender: WebView!, setResizable resizable: Bool)
optional func webView(_ sender: WebView!, setFrame frame: NSRect)
optional func webViewFrame(_ sender: WebView!) -> NSRect
optional func webView(_ sender: WebView!, runJavaScriptAlertPanelWithMessage message: String!, initiatedByFrame frame: WebFrame!)
optional func webView(_ sender: WebView!, runJavaScriptConfirmPanelWithMessage message: String!, initiatedByFrame frame: WebFrame!) -> Bool
optional func webView(_ sender: WebView!, runJavaScriptTextInputPanelWithPrompt prompt: String!, defaultText defaultText: String!, initiatedByFrame frame: WebFrame!) -> String!
optional func webView(_ sender: WebView!, runBeforeUnloadConfirmPanelWithMessage message: String!, initiatedByFrame frame: WebFrame!) -> Bool
optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWithResultListener resultListener: WebOpenPanelResultListener!)
optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWithResultListener resultListener: WebOpenPanelResultListener!, allowMultipleFiles allowMultipleFiles: Bool)
optional func webView(_ sender: WebView!, mouseDidMoveOverElement elementInformation: [NSObject : AnyObject]!, modifierFlags modifierFlags: Int)
optional func webView(_ sender: WebView!, contextMenuItemsForElement element: [NSObject : AnyObject]!, defaultMenuItems defaultMenuItems: [AnyObject]!) -> [AnyObject]!
optional func webView(_ webView: WebView!, validateUserInterfaceItem item: NSValidatedUserInterfaceItem!, defaultValidation defaultValidation: Bool) -> Bool
optional func webView(_ webView: WebView!, shouldPerformAction action: Selector, fromSender sender: AnyObject!) -> Bool
optional func webView(_ webView: WebView!, dragDestinationActionMaskForDraggingInfo draggingInfo: NSDraggingInfo!) -> Int
optional func webView(_ webView: WebView!, willPerformDragDestinationAction action: WebDragDestinationAction, forDraggingInfo draggingInfo: NSDraggingInfo!)
optional func webView(_ webView: WebView!, dragSourceActionMaskForPoint point: NSPoint) -> Int
optional func webView(_ webView: WebView!, willPerformDragSourceAction action: WebDragSourceAction, fromPoint point: NSPoint, withPasteboard pasteboard: NSPasteboard!)
optional func webView(_ sender: WebView!, printFrameView frameView: WebFrameView!)
optional func webViewHeaderHeight(_ sender: WebView!) -> Float
optional func webViewFooterHeight(_ sender: WebView!) -> Float
optional func webView(_ sender: WebView!, drawHeaderInRect rect: NSRect)
optional func webView(_ sender: WebView!, drawFooterInRect rect: NSRect)
optional func webView(_ sender: WebView!, runJavaScriptAlertPanelWithMessage message: String!)
optional func webView(_ sender: WebView!, runJavaScriptConfirmPanelWithMessage message: String!) -> Bool
optional func webView(_ sender: WebView!, runJavaScriptTextInputPanelWithPrompt prompt: String!, defaultText defaultText: String!) -> String!
optional func webView(_ sender: WebView!, setContentRect frame: NSRect)
optional func webViewContentRect(_ sender: WebView!) -> NSRect
} |
| To | protocol WebUIDelegate : NSObjectProtocol {
optional func webView(_ sender: WebView!, createWebViewWith request: URLRequest!) -> WebView!
optional func webViewShow(_ sender: WebView!)
optional func webView(_ sender: WebView!, createWebViewModalDialogWith request: URLRequest!) -> WebView!
optional func webViewRunModal(_ sender: WebView!)
optional func webViewClose(_ sender: WebView!)
optional func webViewFocus(_ sender: WebView!)
optional func webViewUnfocus(_ sender: WebView!)
optional func webViewFirstResponder(_ sender: WebView!) -> NSResponder!
optional func webView(_ sender: WebView!, makeFirstResponder responder: NSResponder!)
optional func webView(_ sender: WebView!, setStatusText text: String!)
optional func webViewStatusText(_ sender: WebView!) -> String!
optional func webViewAreToolbarsVisible(_ sender: WebView!) -> Bool
optional func webView(_ sender: WebView!, setToolbarsVisible visible: Bool)
optional func webViewIsStatusBarVisible(_ sender: WebView!) -> Bool
optional func webView(_ sender: WebView!, setStatusBarVisible visible: Bool)
optional func webViewIsResizable(_ sender: WebView!) -> Bool
optional func webView(_ sender: WebView!, setResizable resizable: Bool)
optional func webView(_ sender: WebView!, setFrame frame: NSRect)
optional func webViewFrame(_ sender: WebView!) -> NSRect
optional func webView(_ sender: WebView!, runJavaScriptAlertPanelWithMessage message: String!, initiatedBy frame: WebFrame!)
optional func webView(_ sender: WebView!, runJavaScriptConfirmPanelWithMessage message: String!, initiatedBy frame: WebFrame!) -> Bool
optional func webView(_ sender: WebView!, runJavaScriptTextInputPanelWithPrompt prompt: String!, defaultText defaultText: String!, initiatedBy frame: WebFrame!) -> String!
optional func webView(_ sender: WebView!, runBeforeUnloadConfirmPanelWithMessage message: String!, initiatedBy frame: WebFrame!) -> Bool
optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWith resultListener: WebOpenPanelResultListener!)
optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWith resultListener: WebOpenPanelResultListener!, allowMultipleFiles allowMultipleFiles: Bool)
optional func webView(_ sender: WebView!, mouseDidMoveOverElement elementInformation: [AnyHashable : Any]!, modifierFlags modifierFlags: Int)
optional func webView(_ sender: WebView!, contextMenuItemsForElement element: [AnyHashable : Any]!, defaultMenuItems defaultMenuItems: [Any]!) -> [Any]!
optional func webView(_ webView: WebView!, validate item: NSValidatedUserInterfaceItem!, defaultValidation defaultValidation: Bool) -> Bool
optional func webView(_ webView: WebView!, shouldPerformAction action: Selector!, fromSender sender: Any!) -> Bool
optional func webView(_ webView: WebView!, dragDestinationActionMaskFor draggingInfo: NSDraggingInfo!) -> Int
optional func webView(_ webView: WebView!, willPerform action: WebDragDestinationAction, for draggingInfo: NSDraggingInfo!)
optional func webView(_ webView: WebView!, dragSourceActionMaskFor point: NSPoint) -> Int
optional func webView(_ webView: WebView!, willPerform action: WebDragSourceAction, from point: NSPoint, with pasteboard: NSPasteboard!)
optional func webView(_ sender: WebView!, print frameView: WebFrameView!)
optional func webViewHeaderHeight(_ sender: WebView!) -> Float
optional func webViewFooterHeight(_ sender: WebView!) -> Float
optional func webView(_ sender: WebView!, drawHeaderIn rect: NSRect)
optional func webView(_ sender: WebView!, drawFooterIn rect: NSRect)
optional func webView(_ sender: WebView!, runJavaScriptAlertPanelWithMessage message: String!)
optional func webView(_ sender: WebView!, runJavaScriptConfirmPanelWithMessage message: String!) -> Bool
optional func webView(_ sender: WebView!, runJavaScriptTextInputPanelWithPrompt prompt: String!, defaultText defaultText: String!) -> String!
optional func webView(_ sender: WebView!, setContentRect frame: NSRect)
optional func webViewContentRect(_ sender: WebView!) -> NSRect
} |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, contextMenuItemsForElement element: [NSObject : AnyObject]!, defaultMenuItems defaultMenuItems: [AnyObject]!) -> [AnyObject]! |
| To | optional func webView(_ sender: WebView!, contextMenuItemsForElement element: [AnyHashable : Any]!, defaultMenuItems defaultMenuItems: [Any]!) -> [Any]! |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, createWebViewModalDialogWithRequest request: NSURLRequest!) -> WebView! |
| To | optional func webView(_ sender: WebView!, createWebViewModalDialogWith request: URLRequest!) -> WebView! |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, createWebViewWithRequest request: NSURLRequest!) -> WebView! |
| To | optional func webView(_ sender: WebView!, createWebViewWith request: URLRequest!) -> WebView! |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, dragDestinationActionMaskForDraggingInfo draggingInfo: NSDraggingInfo!) -> Int |
| To | optional func webView(_ webView: WebView!, dragDestinationActionMaskFor draggingInfo: NSDraggingInfo!) -> Int |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, dragSourceActionMaskForPoint point: NSPoint) -> Int |
| To | optional func webView(_ webView: WebView!, dragSourceActionMaskFor point: NSPoint) -> Int |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, drawFooterInRect rect: NSRect) |
| To | optional func webView(_ sender: WebView!, drawFooterIn rect: NSRect) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, drawHeaderInRect rect: NSRect) |
| To | optional func webView(_ sender: WebView!, drawHeaderIn rect: NSRect) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, mouseDidMoveOverElement elementInformation: [NSObject : AnyObject]!, modifierFlags modifierFlags: Int) |
| To | optional func webView(_ sender: WebView!, mouseDidMoveOverElement elementInformation: [AnyHashable : Any]!, modifierFlags modifierFlags: Int) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, printFrameView frameView: WebFrameView!) |
| To | optional func webView(_ sender: WebView!, print frameView: WebFrameView!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, runBeforeUnloadConfirmPanelWithMessage message: String!, initiatedByFrame frame: WebFrame!) -> Bool |
| To | optional func webView(_ sender: WebView!, runBeforeUnloadConfirmPanelWithMessage message: String!, initiatedBy frame: WebFrame!) -> Bool |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, runJavaScriptAlertPanelWithMessage message: String!, initiatedByFrame frame: WebFrame!) |
| To | optional func webView(_ sender: WebView!, runJavaScriptAlertPanelWithMessage message: String!, initiatedBy frame: WebFrame!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, runJavaScriptConfirmPanelWithMessage message: String!, initiatedByFrame frame: WebFrame!) -> Bool |
| To | optional func webView(_ sender: WebView!, runJavaScriptConfirmPanelWithMessage message: String!, initiatedBy frame: WebFrame!) -> Bool |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, runJavaScriptTextInputPanelWithPrompt prompt: String!, defaultText defaultText: String!, initiatedByFrame frame: WebFrame!) -> String! |
| To | optional func webView(_ sender: WebView!, runJavaScriptTextInputPanelWithPrompt prompt: String!, defaultText defaultText: String!, initiatedBy frame: WebFrame!) -> String! |
Modified WebUIDelegate.webView(_: WebView!, runOpenPanelForFileButtonWith: WebOpenPanelResultListener!)
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWithResultListener resultListener: WebOpenPanelResultListener!) |
| To | optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWith resultListener: WebOpenPanelResultListener!) |
| Declaration | |
|---|---|
| From | optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWithResultListener resultListener: WebOpenPanelResultListener!, allowMultipleFiles allowMultipleFiles: Bool) |
| To | optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWith resultListener: WebOpenPanelResultListener!, allowMultipleFiles allowMultipleFiles: Bool) |
Modified WebUIDelegate.webView(_: WebView!, shouldPerformAction: Selector!, fromSender: Any!) -> Bool
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, shouldPerformAction action: Selector, fromSender sender: AnyObject!) -> Bool |
| To | optional func webView(_ webView: WebView!, shouldPerformAction action: Selector!, fromSender sender: Any!) -> Bool |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, validateUserInterfaceItem item: NSValidatedUserInterfaceItem!, defaultValidation defaultValidation: Bool) -> Bool |
| To | optional func webView(_ webView: WebView!, validate item: NSValidatedUserInterfaceItem!, defaultValidation defaultValidation: Bool) -> Bool |
Modified WebUIDelegate.webView(_: WebView!, willPerform: WebDragDestinationAction, for: NSDraggingInfo!)
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, willPerformDragDestinationAction action: WebDragDestinationAction, forDraggingInfo draggingInfo: NSDraggingInfo!) |
| To | optional func webView(_ webView: WebView!, willPerform action: WebDragDestinationAction, for draggingInfo: NSDraggingInfo!) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WebView!, willPerformDragSourceAction action: WebDragSourceAction, fromPoint point: NSPoint, withPasteboard pasteboard: NSPasteboard!) |
| To | optional func webView(_ webView: WebView!, willPerform action: WebDragSourceAction, from point: NSPoint, with pasteboard: NSPasteboard!) |
Modified WebUndefined
| Declaration | Protocols | |
|---|---|---|
| From | class WebUndefined : NSObject, NSCoding, NSCopying {
init!()
class func undefined() -> WebUndefined!
} | NSCoding, NSCopying |
| To | class WebUndefined : NSObject, NSCoding, NSCopying {
init!()
class func undefined() -> WebUndefined!
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 WebUndefined : CVarArg {
}
extension WebUndefined : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified WebView
| Declaration | Protocols | |
|---|---|---|
| From | class WebView : NSView {
class func canShowMIMEType(_ MIMEType: String!) -> Bool
class func canShowMIMETypeAsHTML(_ MIMEType: String!) -> Bool
class func MIMETypesShownAsHTML() -> [AnyObject]!
class func setMIMETypesShownAsHTML(_ MIMETypes: [AnyObject]!)
class func URLFromPasteboard(_ pasteboard: NSPasteboard!) -> NSURL!
class func URLTitleFromPasteboard(_ pasteboard: NSPasteboard!) -> String!
class func registerURLSchemeAsLocal(_ 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 goToBackForwardItem(_ item: WebHistoryItem!) -> Bool
var textSizeMultiplier: Float
var applicationNameForUserAgent: String!
var customUserAgent: String!
func userAgentForURL(_ URL: NSURL!) -> String!
var supportsTextEncoding: Bool { get }
var customTextEncodingName: String!
var mediaStyle: String!
func stringByEvaluatingJavaScriptFromString(_ script: String!) -> String!
var windowScriptObject: WebScriptObject! { get }
var preferences: WebPreferences!
var preferencesIdentifier: String!
var hostWindow: NSWindow!
func searchFor(_ string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool
class func registerViewClass(_ viewClass: AnyClass!, representationClass representationClass: AnyClass!, forMIMEType MIMEType: String!)
var groupName: String!
var estimatedProgress: Double { get }
var loading: Bool { get }
func elementAtPoint(_ point: NSPoint) -> [NSObject : AnyObject]!
var pasteboardTypesForSelection: [AnyObject]! { get }
func writeSelectionWithPasteboardTypes(_ types: [AnyObject]!, toPasteboard pasteboard: NSPasteboard!)
func pasteboardTypesForElement(_ element: [NSObject : AnyObject]!) -> [AnyObject]!
func writeElement(_ element: [NSObject : AnyObject]!, withPasteboardTypes types: [AnyObject]!, toPasteboard pasteboard: NSPasteboard!)
func moveDragCaretToPoint(_ 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 }
}
extension WebView : NSUserInterfaceValidations {
@IBAction func takeStringURLFrom(_ sender: AnyObject?)
@IBAction func stopLoading(_ sender: AnyObject?)
@IBAction func reload(_ sender: AnyObject?)
@IBAction func reloadFromOrigin(_ sender: AnyObject?)
var canGoBack: Bool { get }
@IBAction func goBack(_ sender: AnyObject?)
var canGoForward: Bool { get }
@IBAction func goForward(_ sender: AnyObject?)
var canMakeTextLarger: Bool { get }
@IBAction func makeTextLarger(_ sender: AnyObject?)
var canMakeTextSmaller: Bool { get }
@IBAction func makeTextSmaller(_ sender: AnyObject?)
var canMakeTextStandardSize: Bool { get }
@IBAction func makeTextStandardSize(_ sender: AnyObject?)
@IBAction func toggleContinuousSpellChecking(_ sender: AnyObject?)
@IBAction func toggleSmartInsertDelete(_ sender: AnyObject?)
}
extension WebView {
func computedStyleForElement(_ element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration!
}
extension WebView {
func editableDOMRangeForPoint(_ point: NSPoint) -> DOMRange!
func setSelectedDOMRange(_ range: DOMRange!, affinity selectionAffinity: NSSelectionAffinity)
var selectedDOMRange: DOMRange! { get }
var selectionAffinity: NSSelectionAffinity { get }
var maintainsInactiveSelection: Bool { get }
var editable: Bool
var typingStyle: DOMCSSStyleDeclaration!
var smartInsertDeleteEnabled: Bool
var continuousSpellCheckingEnabled: Bool
var spellCheckerDocumentTag: Int { get }
var undoManager: NSUndoManager! { get }
var editingDelegate: AnyObject!
func styleDeclarationWithText(_ text: String!) -> DOMCSSStyleDeclaration!
}
extension WebView {
func replaceSelectionWithNode(_ node: DOMNode!)
func replaceSelectionWithText(_ text: String!)
func replaceSelectionWithMarkupString(_ markupString: String!)
func replaceSelectionWithArchive(_ archive: WebArchive!)
func deleteSelection()
func applyStyle(_ style: DOMCSSStyleDeclaration!)
}
extension WebView {
func copy(_ sender: AnyObject?)
func cut(_ sender: AnyObject?)
func paste(_ sender: AnyObject?)
func copyFont(_ sender: AnyObject?)
func pasteFont(_ sender: AnyObject?)
func delete(_ sender: AnyObject?)
func pasteAsPlainText(_ sender: AnyObject?)
func pasteAsRichText(_ sender: AnyObject?)
func changeFont(_ sender: AnyObject?)
func changeAttributes(_ sender: AnyObject?)
func changeDocumentBackgroundColor(_ sender: AnyObject?)
func changeColor(_ sender: AnyObject?)
func alignCenter(_ sender: AnyObject?)
func alignJustified(_ sender: AnyObject?)
func alignLeft(_ sender: AnyObject?)
func alignRight(_ sender: AnyObject?)
func checkSpelling(_ sender: AnyObject?)
func showGuessPanel(_ sender: AnyObject?)
func performFindPanelAction(_ sender: AnyObject?)
func startSpeaking(_ sender: AnyObject?)
func stopSpeaking(_ sender: AnyObject?)
func moveToBeginningOfSentence(_ sender: AnyObject?)
func moveToBeginningOfSentenceAndModifySelection(_ sender: AnyObject?)
func moveToEndOfSentence(_ sender: AnyObject?)
func moveToEndOfSentenceAndModifySelection(_ sender: AnyObject?)
func selectSentence(_ sender: AnyObject?)
func overWrite(_ sender: AnyObject?)
} | 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)
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 |
Modified WebView.alignCenter(_: Any?)
| Declaration | |
|---|---|
| From | func alignCenter(_ sender: AnyObject?) |
| To | func alignCenter(_ sender: Any?) |
Modified WebView.alignJustified(_: Any?)
| Declaration | |
|---|---|
| From | func alignJustified(_ sender: AnyObject?) |
| To | func alignJustified(_ sender: Any?) |
Modified WebView.alignLeft(_: Any?)
| Declaration | |
|---|---|
| From | func alignLeft(_ sender: AnyObject?) |
| To | func alignLeft(_ sender: Any?) |
Modified WebView.alignRight(_: Any?)
| Declaration | |
|---|---|
| From | func alignRight(_ sender: AnyObject?) |
| To | func alignRight(_ sender: Any?) |
| Declaration | |
|---|---|
| From | class func canShowMIMETypeAsHTML(_ MIMEType: String!) -> Bool |
| To | class func canShowMIMEType(asHTML MIMEType: String!) -> Bool |
Modified WebView.changeAttributes(_: Any?)
| Declaration | |
|---|---|
| From | func changeAttributes(_ sender: AnyObject?) |
| To | func changeAttributes(_ sender: Any?) |
Modified WebView.changeColor(_: Any?)
| Declaration | |
|---|---|
| From | func changeColor(_ sender: AnyObject?) |
| To | func changeColor(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func changeDocumentBackgroundColor(_ sender: AnyObject?) |
| To | func changeDocumentBackgroundColor(_ sender: Any?) |
Modified WebView.changeFont(_: Any?)
| Declaration | |
|---|---|
| From | func changeFont(_ sender: AnyObject?) |
| To | func changeFont(_ sender: Any?) |
Modified WebView.checkSpelling(_: Any?)
| Declaration | |
|---|---|
| From | func checkSpelling(_ sender: AnyObject?) |
| To | func checkSpelling(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func computedStyleForElement(_ element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration! |
| To | func computedStyle(for element: DOMElement!, pseudoElement pseudoElement: String!) -> DOMCSSStyleDeclaration! |
Modified WebView.copy(_: Any?)
| Declaration | |
|---|---|
| From | func copy(_ sender: AnyObject?) |
| To | func copy(_ sender: Any?) |
Modified WebView.copyFont(_: Any?)
| Declaration | |
|---|---|
| From | func copyFont(_ sender: AnyObject?) |
| To | func copyFont(_ sender: Any?) |
Modified WebView.cut(_: Any?)
| Declaration | |
|---|---|
| From | func cut(_ sender: AnyObject?) |
| To | func cut(_ sender: Any?) |
Modified WebView.delete(_: Any?)
| Declaration | |
|---|---|
| From | func delete(_ sender: AnyObject?) |
| To | func delete(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func editableDOMRangeForPoint(_ point: NSPoint) -> DOMRange! |
| To | func editableDOMRange(for point: NSPoint) -> DOMRange! |
Modified WebView.editingDelegate
| Declaration | |
|---|---|
| From | var editingDelegate: AnyObject! |
| To | unowned(unsafe) var editingDelegate: WebEditingDelegate! |
| Declaration | |
|---|---|
| From | func elementAtPoint(_ point: NSPoint) -> [NSObject : AnyObject]! |
| To | func element(at point: NSPoint) -> [AnyHashable : Any]! |
| Declaration | |
|---|---|
| From | func goToBackForwardItem(_ item: WebHistoryItem!) -> Bool |
| To | func go(toBackForwardItem item: WebHistoryItem!) -> Bool |
Modified WebView.goBack(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func goBack(_ sender: AnyObject?) |
| To | @IBAction func goBack(_ sender: Any?) |
Modified WebView.goForward(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func goForward(_ sender: AnyObject?) |
| To | @IBAction func goForward(_ sender: Any?) |
| Declaration | |
|---|---|
| From | var continuousSpellCheckingEnabled: Bool |
| To | var isContinuousSpellCheckingEnabled: Bool |
Modified WebView.isEditable
| Declaration | |
|---|---|
| From | var editable: Bool |
| To | var isEditable: Bool |
Modified WebView.isLoading
| Declaration | |
|---|---|
| From | var loading: Bool { get } |
| To | var isLoading: Bool { get } |
Modified WebView.makeTextLarger(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func makeTextLarger(_ sender: AnyObject?) |
| To | @IBAction func makeTextLarger(_ sender: Any?) |
Modified WebView.makeTextSmaller(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func makeTextSmaller(_ sender: AnyObject?) |
| To | @IBAction func makeTextSmaller(_ sender: Any?) |
| Declaration | |
|---|---|
| From | @IBAction func makeTextStandardSize(_ sender: AnyObject?) |
| To | @IBAction func makeTextStandardSize(_ sender: Any?) |
| Declaration | |
|---|---|
| From | class func MIMETypesShownAsHTML() -> [AnyObject]! |
| To | class func mimeTypesShownAsHTML() -> [Any]! |
Modified WebView.moveDragCaret(to: NSPoint)
| Declaration | |
|---|---|
| From | func moveDragCaretToPoint(_ point: NSPoint) |
| To | func moveDragCaret(to point: NSPoint) |
| Declaration | |
|---|---|
| From | func moveToBeginningOfSentence(_ sender: AnyObject?) |
| To | func moveToBeginningOfSentence(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func moveToBeginningOfSentenceAndModifySelection(_ sender: AnyObject?) |
| To | func moveToBeginningOfSentenceAndModifySelection(_ sender: Any?) |
Modified WebView.moveToEndOfSentence(_: Any?)
| Declaration | |
|---|---|
| From | func moveToEndOfSentence(_ sender: AnyObject?) |
| To | func moveToEndOfSentence(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func moveToEndOfSentenceAndModifySelection(_ sender: AnyObject?) |
| To | func moveToEndOfSentenceAndModifySelection(_ sender: Any?) |
Modified WebView.overWrite(_: Any?)
| Declaration | |
|---|---|
| From | func overWrite(_ sender: AnyObject?) |
| To | func overWrite(_ sender: Any?) |
Modified WebView.paste(_: Any?)
| Declaration | |
|---|---|
| From | func paste(_ sender: AnyObject?) |
| To | func paste(_ sender: Any?) |
Modified WebView.pasteAsPlainText(_: Any?)
| Declaration | |
|---|---|
| From | func pasteAsPlainText(_ sender: AnyObject?) |
| To | func pasteAsPlainText(_ sender: Any?) |
Modified WebView.pasteAsRichText(_: Any?)
| Declaration | |
|---|---|
| From | func pasteAsRichText(_ sender: AnyObject?) |
| To | func pasteAsRichText(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func pasteboardTypesForElement(_ element: [NSObject : AnyObject]!) -> [AnyObject]! |
| To | func pasteboardTypes(forElement element: [AnyHashable : Any]!) -> [Any]! |
Modified WebView.pasteboardTypesForSelection
| Declaration | |
|---|---|
| From | var pasteboardTypesForSelection: [AnyObject]! { get } |
| To | var pasteboardTypesForSelection: [Any]! { get } |
Modified WebView.pasteFont(_: Any?)
| Declaration | |
|---|---|
| From | func pasteFont(_ sender: AnyObject?) |
| To | func pasteFont(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func performFindPanelAction(_ sender: AnyObject?) |
| To | func performFindPanelAction(_ sender: Any?) |
| Declaration | |
|---|---|
| From | class func registerViewClass(_ viewClass: AnyClass!, representationClass representationClass: AnyClass!, forMIMEType MIMEType: String!) |
| To | class func registerClass(_ viewClass: Swift.AnyClass!, representationClass representationClass: Swift.AnyClass!, forMIMEType MIMEType: String!) |
| Declaration | |
|---|---|
| From | class func registerURLSchemeAsLocal(_ scheme: String!) |
| To | class func registerURLScheme(asLocal scheme: String!) |
Modified WebView.reload(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func reload(_ sender: AnyObject?) |
| To | @IBAction func reload(_ sender: Any?) |
Modified WebView.reloadFromOrigin(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func reloadFromOrigin(_ sender: AnyObject?) |
| To | @IBAction func reloadFromOrigin(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func replaceSelectionWithArchive(_ archive: WebArchive!) |
| To | func replaceSelection(with archive: WebArchive!) |
| Declaration | |
|---|---|
| From | func replaceSelectionWithNode(_ node: DOMNode!) |
| To | func replaceSelection(with node: DOMNode!) |
| Declaration | |
|---|---|
| From | func replaceSelectionWithMarkupString(_ markupString: String!) |
| To | func replaceSelection(withMarkupString markupString: String!) |
| Declaration | |
|---|---|
| From | func replaceSelectionWithText(_ text: String!) |
| To | func replaceSelection(withText text: String!) |
| Declaration | |
|---|---|
| From | func searchFor(_ string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool |
| To | func search(for string: String!, direction forward: Bool, caseSensitive caseFlag: Bool, wrap wrapFlag: Bool) -> Bool |
Modified WebView.selectSentence(_: Any?)
| Declaration | |
|---|---|
| From | func selectSentence(_ sender: AnyObject?) |
| To | func selectSentence(_ sender: Any?) |
| Declaration | |
|---|---|
| From | class func setMIMETypesShownAsHTML(_ MIMETypes: [AnyObject]!) |
| To | class func setMIMETypesShownAsHTML(_ MIMETypes: [Any]!) |
Modified WebView.showGuessPanel(_: Any?)
| Declaration | |
|---|---|
| From | func showGuessPanel(_ sender: AnyObject?) |
| To | func showGuessPanel(_ sender: Any?) |
Modified WebView.startSpeaking(_: Any?)
| Declaration | |
|---|---|
| From | func startSpeaking(_ sender: AnyObject?) |
| To | func startSpeaking(_ sender: Any?) |
Modified WebView.stopLoading(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func stopLoading(_ sender: AnyObject?) |
| To | @IBAction func stopLoading(_ sender: Any?) |
Modified WebView.stopSpeaking(_: Any?)
| Declaration | |
|---|---|
| From | func stopSpeaking(_ sender: AnyObject?) |
| To | func stopSpeaking(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func stringByEvaluatingJavaScriptFromString(_ script: String!) -> String! |
| To | func stringByEvaluatingJavaScript(from script: String!) -> String! |
| Declaration | |
|---|---|
| From | func styleDeclarationWithText(_ text: String!) -> DOMCSSStyleDeclaration! |
| To | func styleDeclaration(withText text: String!) -> DOMCSSStyleDeclaration! |
Modified WebView.takeStringURLFrom(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func takeStringURLFrom(_ sender: AnyObject?) |
| To | @IBAction func takeStringURLFrom(_ sender: Any?) |
| Declaration | |
|---|---|
| From | @IBAction func toggleContinuousSpellChecking(_ sender: AnyObject?) |
| To | @IBAction func toggleContinuousSpellChecking(_ sender: Any?) |
| Declaration | |
|---|---|
| From | @IBAction func toggleSmartInsertDelete(_ sender: AnyObject?) |
| To | @IBAction func toggleSmartInsertDelete(_ sender: Any?) |
Modified WebView.uiDelegate
| Declaration | |
|---|---|
| From | unowned(unsafe) var UIDelegate: WebUIDelegate! |
| To | unowned(unsafe) var uiDelegate: WebUIDelegate! |
Modified WebView.undoManager
| Declaration | |
|---|---|
| From | var undoManager: NSUndoManager! { get } |
| To | var undoManager: UndoManager! { get } |
| Declaration | |
|---|---|
| From | class func URLFromPasteboard(_ pasteboard: NSPasteboard!) -> NSURL! |
| To | class func url(from pasteboard: NSPasteboard!) -> URL! |
| Declaration | |
|---|---|
| From | class func URLTitleFromPasteboard(_ pasteboard: NSPasteboard!) -> String! |
| To | class func urlTitle(from pasteboard: NSPasteboard!) -> String! |
| Declaration | |
|---|---|
| From | func userAgentForURL(_ URL: NSURL!) -> String! |
| To | func userAgent(for URL: URL!) -> String! |
Modified WebView.writeElement(_: [AnyHashable : Any]!, withPasteboardTypes: [Any]!, to: NSPasteboard!)
| Declaration | |
|---|---|
| From | func writeElement(_ element: [NSObject : AnyObject]!, withPasteboardTypes types: [AnyObject]!, toPasteboard pasteboard: NSPasteboard!) |
| To | func writeElement(_ element: [AnyHashable : Any]!, withPasteboardTypes types: [Any]!, to pasteboard: NSPasteboard!) |
| Declaration | |
|---|---|
| From | func writeSelectionWithPasteboardTypes(_ types: [AnyObject]!, toPasteboard pasteboard: NSPasteboard!) |
| To | func writeSelection(withPasteboardTypes types: [Any]!, to pasteboard: NSPasteboard!) |
Modified WebViewInsertAction [enum]
| Declaration | |
|---|---|
| From | enum WebViewInsertAction : Int {
case Typed
case Pasted
case Dropped
} |
| To | enum WebViewInsertAction : Int {
case typed
case pasted
case dropped
} |
Modified WebViewInsertAction.dropped
| Declaration | |
|---|---|
| From | case Dropped |
| To | case dropped |
Modified WebViewInsertAction.pasted
| Declaration | |
|---|---|
| From | case Pasted |
| To | case pasted |
Modified WebViewInsertAction.typed
| Declaration | |
|---|---|
| From | case Typed |
| To | case typed |
Modified WKBackForwardList
| Declaration | Protocols | |
|---|---|---|
| From | class WKBackForwardList : NSObject {
var currentItem: WKBackForwardListItem? { get }
var backItem: WKBackForwardListItem? { get }
var forwardItem: WKBackForwardListItem? { get }
func itemAtIndex(_ index: Int) -> WKBackForwardListItem?
var backList: [WKBackForwardListItem] { get }
var forwardList: [WKBackForwardListItem] { get }
} | -- |
| To | class WKBackForwardList : NSObject {
var currentItem: WKBackForwardListItem? { get }
var backItem: WKBackForwardListItem? { get }
var forwardItem: WKBackForwardListItem? { get }
func item(at index: Int) -> WKBackForwardListItem?
var backList: [WKBackForwardListItem] { get }
var forwardList: [WKBackForwardListItem] { get }
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 WKBackForwardList : CVarArg {
}
extension WKBackForwardList : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | func itemAtIndex(_ index: Int) -> WKBackForwardListItem? |
| To | func item(at index: Int) -> WKBackForwardListItem? |
Modified WKBackForwardListItem
| Declaration | Protocols | |
|---|---|---|
| From | class WKBackForwardListItem : NSObject {
@NSCopying var URL: NSURL { get }
var title: String? { get }
@NSCopying var initialURL: NSURL { get }
} | -- |
| To | class WKBackForwardListItem : NSObject {
init()
var url: URL { get }
var title: String? { get }
var initialURL: URL { get }
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 WKBackForwardListItem : CVarArg {
}
extension WKBackForwardListItem : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WKBackForwardListItem.initialURL
| Declaration | |
|---|---|
| From | @NSCopying var initialURL: NSURL { get } |
| To | var initialURL: URL { get } |
Modified WKBackForwardListItem.url
| Declaration | |
|---|---|
| From | @NSCopying var URL: NSURL { get } |
| To | var url: URL { get } |
Modified WKError.Code [enum]
| Declaration | |
|---|---|
| From | enum WKErrorCode : Int {
case Unknown
case WebContentProcessTerminated
case WebViewInvalidated
case JavaScriptExceptionOccurred
case JavaScriptResultTypeIsUnsupported
}
extension WKErrorCode : _BridgedNSError {
}
extension WKErrorCode : _BridgedNSError {
} |
| To | enum Code : Int {
typealias _ErrorType = WKError
case unknown
case webContentProcessTerminated
case webViewInvalidated
case javaScriptExceptionOccurred
case javaScriptResultTypeIsUnsupported
} |
| Declaration | |
|---|---|
| From | case JavaScriptExceptionOccurred |
| To | case javaScriptExceptionOccurred |
| Declaration | |
|---|---|
| From | case JavaScriptResultTypeIsUnsupported |
| To | case javaScriptResultTypeIsUnsupported |
Modified WKError.Code.unknown
| Declaration | Introduction | |
|---|---|---|
| From | case Unknown | OS X 10.10 |
| To | case unknown | OS X 10.12 |
| Declaration | |
|---|---|
| From | case WebContentProcessTerminated |
| To | case webContentProcessTerminated |
Modified WKError.Code.webViewInvalidated
| Declaration | |
|---|---|
| From | case WebViewInvalidated |
| To | case webViewInvalidated |
Modified WKFrameInfo
| Declaration | Protocols | |
|---|---|---|
| From | class WKFrameInfo : NSObject, NSCopying {
var mainFrame: Bool { get }
@NSCopying var request: NSURLRequest { get }
var securityOrigin: WKSecurityOrigin { get }
} | NSCopying |
| To | class WKFrameInfo : NSObject, NSCopying {
var isMainFrame: Bool { get }
var request: URLRequest { get }
var securityOrigin: WKSecurityOrigin { get }
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 WKFrameInfo : CVarArg {
}
extension WKFrameInfo : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying |
Modified WKFrameInfo.isMainFrame
| Declaration | |
|---|---|
| From | var mainFrame: Bool { get } |
| To | var isMainFrame: Bool { get } |
Modified WKFrameInfo.request
| Declaration | |
|---|---|
| From | @NSCopying var request: NSURLRequest { get } |
| To | var request: URLRequest { get } |
Modified WKNavigation
| Declaration | Protocols | |
|---|---|---|
| From | class WKNavigation : NSObject {
} | -- |
| To | class WKNavigation : NSObject {
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 WKNavigation : CVarArg {
}
extension WKNavigation : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WKNavigationAction
| Declaration | Protocols | |
|---|---|---|
| From | class WKNavigationAction : NSObject {
@NSCopying var sourceFrame: WKFrameInfo { get }
@NSCopying var targetFrame: WKFrameInfo? { get }
var navigationType: WKNavigationType { get }
@NSCopying var request: NSURLRequest { get }
var modifierFlags: NSEventModifierFlags { get }
var buttonNumber: Int { get }
} | -- |
| To | class WKNavigationAction : NSObject {
@NSCopying var sourceFrame: WKFrameInfo { get }
@NSCopying var targetFrame: WKFrameInfo? { get }
var navigationType: WKNavigationType { get }
var request: URLRequest { get }
var modifierFlags: NSEventModifierFlags { get }
var buttonNumber: Int { get }
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 WKNavigationAction : CVarArg {
}
extension WKNavigationAction : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WKNavigationAction.request
| Declaration | |
|---|---|
| From | @NSCopying var request: NSURLRequest { get } |
| To | var request: URLRequest { get } |
Modified WKNavigationActionPolicy [enum]
| Declaration | |
|---|---|
| From | enum WKNavigationActionPolicy : Int {
case Cancel
case Allow
} |
| To | enum WKNavigationActionPolicy : Int {
case cancel
case allow
} |
Modified WKNavigationActionPolicy.allow
| Declaration | |
|---|---|
| From | case Allow |
| To | case allow |
Modified WKNavigationActionPolicy.cancel
| Declaration | |
|---|---|
| From | case Cancel |
| To | case cancel |
Modified WKNavigationDelegate
| Declaration | |
|---|---|
| From | protocol WKNavigationDelegate : NSObjectProtocol {
optional func webView(_ webView: WKWebView, decidePolicyForNavigationAction navigationAction: WKNavigationAction, decisionHandler decisionHandler: (WKNavigationActionPolicy) -> Void)
optional func webView(_ webView: WKWebView, decidePolicyForNavigationResponse navigationResponse: WKNavigationResponse, decisionHandler decisionHandler: (WKNavigationResponsePolicy) -> Void)
optional func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!)
optional func webView(_ webView: WKWebView, didReceiveServerRedirectForProvisionalNavigation navigation: WKNavigation!)
optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: NSError)
optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
optional func webView(_ webView: WKWebView, didFailNavigation navigation: WKNavigation!, withError error: NSError)
optional func webView(_ webView: WKWebView, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge, completionHandler completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)
optional func webViewWebContentProcessDidTerminate(_ webView: WKWebView)
} |
| To | protocol WKNavigationDelegate : NSObjectProtocol {
optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler decisionHandler: @escaping (WKNavigationActionPolicy) -> Swift.Void)
optional func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse, decisionHandler decisionHandler: @escaping (WKNavigationResponsePolicy) -> Swift.Void)
optional func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!)
optional func webView(_ webView: WKWebView, didReceiveServerRedirectForProvisionalNavigation navigation: WKNavigation!)
optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error)
optional func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!)
optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
optional func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error)
optional func webView(_ webView: WKWebView, didReceive challenge: URLAuthenticationChallenge, completionHandler completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void)
optional func webViewWebContentProcessDidTerminate(_ webView: WKWebView)
} |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, decidePolicyForNavigationResponse navigationResponse: WKNavigationResponse, decisionHandler decisionHandler: (WKNavigationResponsePolicy) -> Void) |
| To | optional func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse, decisionHandler decisionHandler: @escaping (WKNavigationResponsePolicy) -> Swift.Void) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, decidePolicyForNavigationAction navigationAction: WKNavigationAction, decisionHandler decisionHandler: (WKNavigationActionPolicy) -> Void) |
| To | optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler decisionHandler: @escaping (WKNavigationActionPolicy) -> Swift.Void) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!) |
| To | optional func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, didFailNavigation navigation: WKNavigation!, withError error: NSError) |
| To | optional func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: NSError) |
| To | optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!) |
| To | optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge, completionHandler completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) |
| To | optional func webView(_ webView: WKWebView, didReceive challenge: URLAuthenticationChallenge, completionHandler completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void) |
Modified WKNavigationResponse
| Declaration | Protocols | |
|---|---|---|
| From | class WKNavigationResponse : NSObject {
var forMainFrame: Bool { get }
@NSCopying var response: NSURLResponse { get }
var canShowMIMEType: Bool { get }
} | -- |
| To | class WKNavigationResponse : NSObject {
var isForMainFrame: Bool { get }
@NSCopying var response: URLResponse { get }
var canShowMIMEType: Bool { get }
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 WKNavigationResponse : CVarArg {
}
extension WKNavigationResponse : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WKNavigationResponse.isForMainFrame
| Declaration | |
|---|---|
| From | var forMainFrame: Bool { get } |
| To | var isForMainFrame: Bool { get } |
Modified WKNavigationResponse.response
| Declaration | |
|---|---|
| From | @NSCopying var response: NSURLResponse { get } |
| To | @NSCopying var response: URLResponse { get } |
Modified WKNavigationResponsePolicy [enum]
| Declaration | |
|---|---|
| From | enum WKNavigationResponsePolicy : Int {
case Cancel
case Allow
} |
| To | enum WKNavigationResponsePolicy : Int {
case cancel
case allow
} |
Modified WKNavigationResponsePolicy.allow
| Declaration | |
|---|---|
| From | case Allow |
| To | case allow |
Modified WKNavigationResponsePolicy.cancel
| Declaration | |
|---|---|
| From | case Cancel |
| To | case cancel |
Modified WKNavigationType [enum]
| Declaration | |
|---|---|
| From | enum WKNavigationType : Int {
case LinkActivated
case FormSubmitted
case BackForward
case Reload
case FormResubmitted
case Other
} |
| To | enum WKNavigationType : Int {
case linkActivated
case formSubmitted
case backForward
case reload
case formResubmitted
case other
} |
Modified WKNavigationType.backForward
| Declaration | |
|---|---|
| From | case BackForward |
| To | case backForward |
Modified WKNavigationType.formResubmitted
| Declaration | |
|---|---|
| From | case FormResubmitted |
| To | case formResubmitted |
Modified WKNavigationType.formSubmitted
| Declaration | |
|---|---|
| From | case FormSubmitted |
| To | case formSubmitted |
Modified WKNavigationType.linkActivated
| Declaration | |
|---|---|
| From | case LinkActivated |
| To | case linkActivated |
Modified WKNavigationType.other
| Declaration | |
|---|---|
| From | case Other |
| To | case other |
Modified WKNavigationType.reload
| Declaration | |
|---|---|
| From | case Reload |
| To | case reload |
Modified WKPreferences
| Declaration | Protocols | |
|---|---|---|
| From | class WKPreferences : NSObject {
var minimumFontSize: CGFloat
var javaScriptEnabled: Bool
var javaScriptCanOpenWindowsAutomatically: Bool
var javaEnabled: Bool
var plugInsEnabled: Bool
} | -- |
| To | class WKPreferences : NSObject, NSCoding {
var minimumFontSize: CGFloat
var javaScriptEnabled: Bool
var javaScriptCanOpenWindowsAutomatically: Bool
var javaEnabled: Bool
var plugInsEnabled: Bool
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 WKPreferences : CVarArg {
}
extension WKPreferences : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
Modified WKProcessPool
| Declaration | Protocols | |
|---|---|---|
| From | class WKProcessPool : NSObject {
} | -- |
| To | class WKProcessPool : NSObject, NSCoding {
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 WKProcessPool : CVarArg {
}
extension WKProcessPool : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
Modified WKScriptMessage
| Declaration | Protocols | |
|---|---|---|
| From | class WKScriptMessage : NSObject {
@NSCopying var body: AnyObject { get }
weak var webView: WKWebView? { get }
@NSCopying var frameInfo: WKFrameInfo { get }
var name: String { get }
} | -- |
| To | class WKScriptMessage : NSObject {
var body: Any { get }
weak var webView: WKWebView? { get }
@NSCopying var frameInfo: WKFrameInfo { get }
var name: String { get }
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 WKScriptMessage : CVarArg {
}
extension WKScriptMessage : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WKScriptMessage.body
| Declaration | |
|---|---|
| From | @NSCopying var body: AnyObject { get } |
| To | var body: Any { get } |
Modified WKScriptMessageHandler
| Declaration | |
|---|---|
| From | protocol WKScriptMessageHandler : NSObjectProtocol {
func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
} |
| To | protocol WKScriptMessageHandler : NSObjectProtocol {
func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
} |
| Declaration | |
|---|---|
| From | func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage) |
| To | func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) |
Modified WKSecurityOrigin
| Declaration | Protocols | |
|---|---|---|
| From | class WKSecurityOrigin : NSObject {
init()
var `protocol`: String { get }
var host: String { get }
var port: Int { get }
} | -- |
| To | class WKSecurityOrigin : NSObject {
init()
var `protocol`: String { get }
var host: String { get }
var port: Int { get }
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 WKSecurityOrigin : CVarArg {
}
extension WKSecurityOrigin : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WKUIDelegate
| Declaration | |
|---|---|
| From | protocol WKUIDelegate : NSObjectProtocol {
optional func webView(_ webView: WKWebView, createWebViewWithConfiguration configuration: WKWebViewConfiguration, forNavigationAction navigationAction: WKNavigationAction, windowFeatures windowFeatures: WKWindowFeatures) -> WKWebView?
optional func webViewDidClose(_ webView: WKWebView)
optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: () -> Void)
optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: (Bool) -> Void)
optional func webView(_ webView: WKWebView, runJavaScriptTextInputPanelWithPrompt prompt: String, defaultText defaultText: String?, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: (String?) -> Void)
} |
| To | protocol WKUIDelegate : NSObjectProtocol {
optional func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures windowFeatures: WKWindowFeatures) -> WKWebView?
optional func webViewDidClose(_ webView: WKWebView)
optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping () -> Swift.Void)
optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping (Bool) -> Swift.Void)
optional func webView(_ webView: WKWebView, runJavaScriptTextInputPanelWithPrompt prompt: String, defaultText defaultText: String?, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping (String?) -> Swift.Void)
optional func webView(_ webView: WKWebView, runOpenPanelWith parameters: WKOpenPanelParameters, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping ([URL]?) -> Swift.Void)
} |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, createWebViewWithConfiguration configuration: WKWebViewConfiguration, forNavigationAction navigationAction: WKNavigationAction, windowFeatures windowFeatures: WKWindowFeatures) -> WKWebView? |
| To | optional func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures windowFeatures: WKWindowFeatures) -> WKWebView? |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: () -> Void) |
| To | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping () -> Swift.Void) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: (Bool) -> Void) |
| To | optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping (Bool) -> Swift.Void) |
| Declaration | |
|---|---|
| From | optional func webView(_ webView: WKWebView, runJavaScriptTextInputPanelWithPrompt prompt: String, defaultText defaultText: String?, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: (String?) -> Void) |
| To | optional func webView(_ webView: WKWebView, runJavaScriptTextInputPanelWithPrompt prompt: String, defaultText defaultText: String?, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping (String?) -> Swift.Void) |
Modified WKUserContentController
| Declaration | Protocols | |
|---|---|---|
| From | class WKUserContentController : NSObject {
var userScripts: [WKUserScript] { get }
func addUserScript(_ userScript: WKUserScript)
func removeAllUserScripts()
func addScriptMessageHandler(_ scriptMessageHandler: WKScriptMessageHandler, name name: String)
func removeScriptMessageHandlerForName(_ name: String)
} | -- |
| To | class WKUserContentController : NSObject, NSCoding {
var userScripts: [WKUserScript] { get }
func addUserScript(_ userScript: WKUserScript)
func removeAllUserScripts()
func add(_ scriptMessageHandler: WKScriptMessageHandler, name name: String)
func removeScriptMessageHandler(forName name: String)
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 WKUserContentController : CVarArg {
}
extension WKUserContentController : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
| Declaration | |
|---|---|
| From | func addScriptMessageHandler(_ scriptMessageHandler: WKScriptMessageHandler, name name: String) |
| To | func add(_ scriptMessageHandler: WKScriptMessageHandler, name name: String) |
| Declaration | |
|---|---|
| From | func removeScriptMessageHandlerForName(_ name: String) |
| To | func removeScriptMessageHandler(forName name: String) |
Modified WKUserScript
| Declaration | Protocols | |
|---|---|---|
| From | class WKUserScript : NSObject, NSCopying {
var source: String { get }
var injectionTime: WKUserScriptInjectionTime { get }
var forMainFrameOnly: Bool { get }
init(source source: String, injectionTime injectionTime: WKUserScriptInjectionTime, forMainFrameOnly forMainFrameOnly: Bool)
} | NSCopying |
| To | class WKUserScript : NSObject, NSCopying {
var source: String { get }
var injectionTime: WKUserScriptInjectionTime { get }
var isForMainFrameOnly: Bool { get }
init(source source: String, injectionTime injectionTime: WKUserScriptInjectionTime, forMainFrameOnly forMainFrameOnly: Bool)
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 WKUserScript : CVarArg {
}
extension WKUserScript : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying |
Modified WKUserScript.isForMainFrameOnly
| Declaration | |
|---|---|
| From | var forMainFrameOnly: Bool { get } |
| To | var isForMainFrameOnly: Bool { get } |
Modified WKUserScriptInjectionTime [enum]
| Declaration | |
|---|---|
| From | enum WKUserScriptInjectionTime : Int {
case AtDocumentStart
case AtDocumentEnd
} |
| To | enum WKUserScriptInjectionTime : Int {
case atDocumentStart
case atDocumentEnd
} |
| Declaration | |
|---|---|
| From | case AtDocumentEnd |
| To | case atDocumentEnd |
| Declaration | |
|---|---|
| From | case AtDocumentStart |
| To | case atDocumentStart |
Modified WKWebsiteDataRecord
| Declaration | Protocols | |
|---|---|---|
| From | class WKWebsiteDataRecord : NSObject {
var displayName: String { get }
var dataTypes: Set<String> { get }
} | -- |
| To | class WKWebsiteDataRecord : NSObject {
var displayName: String { get }
var dataTypes: Set<String> { get }
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 WKWebsiteDataRecord : CVarArg {
}
extension WKWebsiteDataRecord : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
Modified WKWebsiteDataStore
| Declaration | Protocols | |
|---|---|---|
| From | class WKWebsiteDataStore : NSObject {
class func defaultDataStore() -> WKWebsiteDataStore
class func nonPersistentDataStore() -> WKWebsiteDataStore
init()
var persistent: Bool { get }
class func allWebsiteDataTypes() -> Set<String>
func fetchDataRecordsOfTypes(_ dataTypes: Set<String>, completionHandler completionHandler: ([WKWebsiteDataRecord]) -> Void)
func removeDataOfTypes(_ dataTypes: Set<String>, forDataRecords dataRecords: [WKWebsiteDataRecord], completionHandler completionHandler: () -> Void)
func removeDataOfTypes(_ websiteDataTypes: Set<String>, modifiedSince date: NSDate, completionHandler completionHandler: () -> Void)
} | -- |
| To | class WKWebsiteDataStore : NSObject, NSCoding {
class func `default`() -> WKWebsiteDataStore
class func nonPersistent() -> WKWebsiteDataStore
init()
var isPersistent: Bool { get }
class func allWebsiteDataTypes() -> Set<String>
func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler completionHandler: @escaping ([WKWebsiteDataRecord]) -> Swift.Void)
func removeData(ofTypes dataTypes: Set<String>, for dataRecords: [WKWebsiteDataRecord], completionHandler completionHandler: @escaping () -> Swift.Void)
func removeData(ofTypes websiteDataTypes: Set<String>, modifiedSince date: Date, completionHandler completionHandler: @escaping () -> Swift.Void)
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 WKWebsiteDataStore : CVarArg {
}
extension WKWebsiteDataStore : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding |
Modified WKWebsiteDataStore.default() [class]
| Declaration | |
|---|---|
| From | class func defaultDataStore() -> WKWebsiteDataStore |
| To | class func `default`() -> WKWebsiteDataStore |
| Declaration | |
|---|---|
| From | func fetchDataRecordsOfTypes(_ dataTypes: Set<String>, completionHandler completionHandler: ([WKWebsiteDataRecord]) -> Void) |
| To | func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler completionHandler: @escaping ([WKWebsiteDataRecord]) -> Swift.Void) |
Modified WKWebsiteDataStore.isPersistent
| Declaration | |
|---|---|
| From | var persistent: Bool { get } |
| To | var isPersistent: Bool { get } |
| Declaration | |
|---|---|
| From | class func nonPersistentDataStore() -> WKWebsiteDataStore |
| To | class func nonPersistent() -> WKWebsiteDataStore |
| Declaration | |
|---|---|
| From | func removeDataOfTypes(_ dataTypes: Set<String>, forDataRecords dataRecords: [WKWebsiteDataRecord], completionHandler completionHandler: () -> Void) |
| To | func removeData(ofTypes dataTypes: Set<String>, for dataRecords: [WKWebsiteDataRecord], completionHandler completionHandler: @escaping () -> Swift.Void) |
| Declaration | |
|---|---|
| From | func removeDataOfTypes(_ websiteDataTypes: Set<String>, modifiedSince date: NSDate, completionHandler completionHandler: () -> Void) |
| To | func removeData(ofTypes websiteDataTypes: Set<String>, modifiedSince date: Date, completionHandler completionHandler: @escaping () -> Swift.Void) |
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)
convenience init(coder coder: NSCoder)
func loadRequest(_ request: NSURLRequest) -> WKNavigation?
func loadFileURL(_ URL: NSURL, allowingReadAccessToURL readAccessURL: NSURL) -> WKNavigation?
func loadHTMLString(_ string: String, baseURL baseURL: NSURL?) -> WKNavigation?
func loadData(_ data: NSData, MIMEType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: NSURL) -> WKNavigation?
func goToBackForwardListItem(_ item: WKBackForwardListItem) -> WKNavigation?
var title: String? { get }
@NSCopying var URL: NSURL? { get }
var loading: Bool { get }
var estimatedProgress: Double { get }
var hasOnlySecureContent: Bool { get }
var certificateChain: [AnyObject] { 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: ((AnyObject?, NSError?) -> Void)?)
var allowsBackForwardNavigationGestures: Bool
var customUserAgent: String?
var allowsLinkPreview: Bool
var allowsMagnification: Bool
var magnification: CGFloat
func setMagnification(_ magnification: CGFloat, centeredAtPoint point: CGPoint)
}
extension WKWebView : NSUserInterfaceValidations {
@IBAction func goBack(_ sender: AnyObject?)
@IBAction func goForward(_ sender: AnyObject?)
@IBAction func reload(_ sender: AnyObject?)
@IBAction func reloadFromOrigin(_ sender: AnyObject?)
@IBAction func stopLoading(_ sender: AnyObject?)
} | 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: (@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 |
Modified WKWebView.certificateChain
| Declaration | Deprecation | |
|---|---|---|
| From | var certificateChain: [AnyObject] { get } | -- |
| To | var certificateChain: [Any] { get } | OS X 10.12 |
Modified WKWebView.evaluateJavaScript(_: String, completionHandler: ( (Any?, Error?) -> Swift.Void)?)
| Declaration | |
|---|---|
| From | func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: ((AnyObject?, NSError?) -> Void)?) |
| To | func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: (@escaping (Any?, Error?) -> Swift.Void)? = nil) |
| Declaration | |
|---|---|
| From | func goToBackForwardListItem(_ item: WKBackForwardListItem) -> WKNavigation? |
| To | func go(to item: WKBackForwardListItem) -> WKNavigation? |
Modified WKWebView.goBack(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func goBack(_ sender: AnyObject?) |
| To | @IBAction func goBack(_ sender: Any?) |
Modified WKWebView.goForward(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func goForward(_ sender: AnyObject?) |
| To | @IBAction func goForward(_ sender: Any?) |
Modified WKWebView.isLoading
| Declaration | |
|---|---|
| From | var loading: Bool { get } |
| To | var isLoading: Bool { get } |
| Declaration | |
|---|---|
| From | func loadRequest(_ request: NSURLRequest) -> WKNavigation? |
| To | func load(_ request: URLRequest) -> WKNavigation? |
| Declaration | |
|---|---|
| From | func loadData(_ data: NSData, MIMEType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: NSURL) -> WKNavigation? |
| To | func load(_ data: Data, mimeType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: URL) -> WKNavigation? |
| Declaration | |
|---|---|
| From | func loadFileURL(_ URL: NSURL, allowingReadAccessToURL readAccessURL: NSURL) -> WKNavigation? |
| To | func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation? |
| Declaration | |
|---|---|
| From | func loadHTMLString(_ string: String, baseURL baseURL: NSURL?) -> WKNavigation? |
| To | func loadHTMLString(_ string: String, baseURL baseURL: URL?) -> WKNavigation? |
Modified WKWebView.reload(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func reload(_ sender: AnyObject?) |
| To | @IBAction func reload(_ sender: Any?) |
Modified WKWebView.reloadFromOrigin(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func reloadFromOrigin(_ sender: AnyObject?) |
| To | @IBAction func reloadFromOrigin(_ sender: Any?) |
| Declaration | |
|---|---|
| From | func setMagnification(_ magnification: CGFloat, centeredAtPoint point: CGPoint) |
| To | func setMagnification(_ magnification: CGFloat, centeredAt point: CGPoint) |
Modified WKWebView.stopLoading(_: Any?)
| Declaration | |
|---|---|
| From | @IBAction func stopLoading(_ sender: AnyObject?) |
| To | @IBAction func stopLoading(_ sender: Any?) |
Modified WKWebView.uiDelegate
| Declaration | |
|---|---|
| From | weak var UIDelegate: WKUIDelegate? |
| To | weak var uiDelegate: WKUIDelegate? |
Modified WKWebView.url
| Declaration | |
|---|---|
| From | @NSCopying var URL: NSURL? { get } |
| To | var url: URL? { get } |
Modified WKWebViewConfiguration
| Declaration | Protocols | |
|---|---|---|
| From | class WKWebViewConfiguration : NSObject, NSCopying {
var processPool: WKProcessPool
var preferences: WKPreferences
var userContentController: WKUserContentController
var websiteDataStore: WKWebsiteDataStore
var suppressesIncrementalRendering: Bool
var applicationNameForUserAgent: String?
var allowsAirPlayForMediaPlayback: Bool
} | NSCopying |
| To | class WKWebViewConfiguration : NSObject, NSCoding, NSCopying {
var processPool: WKProcessPool
var preferences: WKPreferences
var userContentController: WKUserContentController
var websiteDataStore: WKWebsiteDataStore
var suppressesIncrementalRendering: Bool
var applicationNameForUserAgent: String?
var allowsAirPlayForMediaPlayback: Bool
var mediaTypesRequiringUserActionForPlayback: WKAudiovisualMediaTypes
var userInterfaceDirectionPolicy: WKUserInterfaceDirectionPolicy
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 WKWebViewConfiguration : CVarArg {
}
extension WKWebViewConfiguration : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified WKWindowFeatures
| Declaration | Protocols | |
|---|---|---|
| From | class WKWindowFeatures : NSObject {
var menuBarVisibility: NSNumber? { get }
var statusBarVisibility: NSNumber? { get }
var toolbarsVisibility: NSNumber? { get }
var allowsResizing: NSNumber? { get }
var x: NSNumber? { get }
var y: NSNumber? { get }
var width: NSNumber? { get }
var height: NSNumber? { get }
} | -- |
| To | class WKWindowFeatures : NSObject {
var menuBarVisibility: NSNumber? { get }
var statusBarVisibility: NSNumber? { get }
var toolbarsVisibility: NSNumber? { get }
var allowsResizing: NSNumber? { get }
var x: NSNumber? { get }
var y: NSNumber? { get }
var width: NSNumber? { get }
var height: NSNumber? { get }
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 WKWindowFeatures : CVarArg {
}
extension WKWindowFeatures : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |